python310Packages.flake8: cleanup
This commit is contained in:
committed by
Weijia Wang
parent
330b9300c5
commit
efdfbef18a
@@ -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
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user