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
commit 0085550c53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 8 deletions

View File

@ -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
];

View File

@ -9,7 +9,7 @@ buildPythonPackage rec {
pname = "pyflakes";
version = "3.1.0";
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.8";
format = "setuptools";