mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
python: autopep8: 1.3.5 -> 1.4.2
This commit is contained in:
parent
ae3e9b5a27
commit
02bf0e5896
@ -1,19 +1,23 @@
|
|||||||
{ stdenv, fetchPypi, buildPythonPackage, pycodestyle }:
|
{ stdenv, fetchPypi, buildPythonPackage, pycodestyle, glibcLocales }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "autopep8";
|
pname = "autopep8";
|
||||||
version = "1.3.5";
|
version = "1.4.2";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "192bvhzi4d0claqxgzymvv7k3qnj627742bc8sgxpzjj42pd9112";
|
sha256 = "1b8d42ebba751a91090d3adb5c06840b1151d71ed43e1c7a9ed6911bfe8ebe6c";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ pycodestyle ];
|
propagatedBuildInputs = [ pycodestyle ];
|
||||||
|
|
||||||
# One test fails:
|
# One test fails:
|
||||||
# FAIL: test_recursive_should_not_crash_on_unicode_filename (test.test_autopep8.CommandLineTests)
|
# FAIL: test_recursive_should_not_crash_on_unicode_filename (test.test_autopep8.CommandLineTests)
|
||||||
doCheck = false;
|
# doCheck = false;
|
||||||
|
|
||||||
|
checkInputs = [ glibcLocales ];
|
||||||
|
|
||||||
|
LC_ALL = "en_US.UTF-8";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A tool that automatically formats Python code to conform to the PEP 8 style guide";
|
description = "A tool that automatically formats Python code to conform to the PEP 8 style guide";
|
||||||
|
Loading…
Reference in New Issue
Block a user