python310Packages.pycodestyle: 2.9.1 -> 2.10.0

https://github.com/PyCQA/pycodestyle/blob/2.10.0/CHANGES.txt
This commit is contained in:
Robert Schütz 2022-11-27 16:27:52 -08:00 committed by Robert Schütz
parent e2f54dec75
commit 3a2e1fcdd3

View File

@ -7,7 +7,7 @@
buildPythonPackage rec {
pname = "pycodestyle";
version = "2.9.1";
version = "2.10.0";
disabled = pythonOlder "3.6";
@ -15,10 +15,10 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "2c9607871d58c76354b697b42f5d57e1ada7d261c261efac224b664affdc5785";
hash = "sha256-NHGHvbR2Mp2Y9pXCE9cpWoRtEVL/T+m6y4qVkLjucFM=";
};
# https://github.com/PyCQA/pycodestyle/blob/2.9.1/tox.ini#L13
# https://github.com/PyCQA/pycodestyle/blob/2.10.0/tox.ini#L13
checkPhase = ''
${python.interpreter} -m pycodestyle --statistics pycodestyle.py
${python.interpreter} -m pycodestyle --max-doc-length=72 --testsuite testsuite
@ -29,6 +29,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "pycodestyle" ];
meta = with lib; {
changelog = "https://github.com/PyCQA/pyflakes/blob/${version}/NEWS.rst";
description = "Python style guide checker";
homepage = "https://pycodestyle.pycqa.org/";
license = licenses.mit;