Merge pull request #263070 from wegank/flake8-cleanup

python310Packages.{flake8,pyflakes}: cleanup
This commit is contained in:
OTABI Tomoya
2023-10-27 19:20:45 +09:00
committed by GitHub
2 changed files with 1 additions and 8 deletions
@@ -5,8 +5,6 @@
, mccabe
, pycodestyle
, pyflakes
, importlib-metadata
, pythonAtLeast
, pytestCheckHook
}:
@@ -29,13 +27,8 @@ buildPythonPackage rec {
mccabe
pycodestyle
pyflakes
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
# Tests fail on Python 3.7 due to importlib using a deprecated interface
doCheck = pythonAtLeast "3.7";
nativeCheckInputs = [
pytestCheckHook
];
@@ -9,7 +9,7 @@ buildPythonPackage rec {
pname = "pyflakes";
version = "3.1.0";
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.8";
format = "setuptools";