python310Packages.flake8-debugger: enable tests
- add pythonImportsCheck - disable on older Python releases
This commit is contained in:
parent
ced8363582
commit
00e1dd6c90
1 changed files with 22 additions and 13 deletions
|
@ -1,32 +1,41 @@
|
|||
{ lib, fetchPypi, buildPythonPackage, isPy27
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, flake8
|
||||
, pycodestyle
|
||||
, six
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flake8-debugger";
|
||||
version = "4.1.2";
|
||||
disabled = isPy27;
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-UrACVglB422b+Ab8olI9x/uFYKKV1fGm4VrC3tenOEA=";
|
||||
hash = "sha256-UrACVglB422b+Ab8olI9x/uFYKKV1fGm4VrC3tenOEA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ flake8 pycodestyle six ];
|
||||
propagatedBuildInputs = [
|
||||
flake8
|
||||
pycodestyle
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# Tests not included in PyPI tarball
|
||||
# FIXME: Remove when https://github.com/JBKahn/flake8-debugger/pull/15 is merged
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [
|
||||
"flake8_debugger"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/jbkahn/flake8-debugger";
|
||||
meta = with lib; {
|
||||
description = "ipdb/pdb statement checker plugin for flake8";
|
||||
maintainers = with lib.maintainers; [ johbo ];
|
||||
license = lib.licenses.mit;
|
||||
homepage = "https://github.com/jbkahn/flake8-debugger";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ johbo ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue