python310Packages.pycodestyle: 2.8.0 -> 2.9.1
https://github.com/PyCQA/pycodestyle/blob/2.9.1/CHANGES.txt
This commit is contained in:
parent
b2422f6a3a
commit
6d3a1b00f6
@ -1,4 +1,5 @@
|
|||||||
{ buildPythonPackage
|
{ buildPythonPackage
|
||||||
|
, pythonOlder
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, lib
|
, lib
|
||||||
, python
|
, python
|
||||||
@ -6,26 +7,30 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pycodestyle";
|
pname = "pycodestyle";
|
||||||
version = "2.8.0";
|
version = "2.9.1";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0zxyrg8029lzjhima6l5nk6y0z6lm5wfp9qchz3s33j3xx3mipgd";
|
sha256 = "2c9607871d58c76354b697b42f5d57e1ada7d261c261efac224b664affdc5785";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontUseSetuptoolsCheck = true;
|
# https://github.com/PyCQA/pycodestyle/blob/2.9.1/tox.ini#L13
|
||||||
|
|
||||||
# https://github.com/PyCQA/pycodestyle/blob/2.5.0/tox.ini#L14
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
${python.interpreter} pycodestyle.py --max-doc-length=72 --testsuite testsuite
|
${python.interpreter} -m pycodestyle --statistics pycodestyle.py
|
||||||
${python.interpreter} pycodestyle.py --statistics pycodestyle.py
|
${python.interpreter} -m pycodestyle --max-doc-length=72 --testsuite testsuite
|
||||||
${python.interpreter} pycodestyle.py --max-doc-length=72 --doctest
|
${python.interpreter} -m pycodestyle --max-doc-length=72 --doctest
|
||||||
${python.interpreter} -m unittest discover testsuite -vv
|
${python.interpreter} -m unittest discover testsuite -vv
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pycodestyle" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python style guide checker (formerly called pep8)";
|
description = "Python style guide checker";
|
||||||
homepage = "https://pycodestyle.readthedocs.io";
|
homepage = "https://pycodestyle.pycqa.org/";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [
|
maintainers = with maintainers; [
|
||||||
kamadorueda
|
kamadorueda
|
||||||
|
Loading…
Reference in New Issue
Block a user