python3Packages.flake8-blind-except: add pythonImportsCheck
This commit is contained in:
parent
cacd9dc870
commit
161b19e07e
|
@ -1,16 +1,32 @@
|
||||||
{ lib, fetchPypi, buildPythonPackage }:
|
{ lib
|
||||||
|
, fetchPypi
|
||||||
|
, buildPythonPackage
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "flake8-blind-except";
|
pname = "flake8-blind-except";
|
||||||
version = "0.2.1";
|
version = "0.2.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-8lpXWp3LPus8dgv5wi22C4taIxICJO0fqppD913X3RY=";
|
hash = "sha256-8lpXWp3LPus8dgv5wi22C4taIxICJO0fqppD913X3RY=";
|
||||||
};
|
};
|
||||||
meta = {
|
|
||||||
homepage = "https://github.com/elijahandrews/flake8-blind-except";
|
# Module has no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"flake8_blind_except"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
description = "A flake8 extension that checks for blind except: statements";
|
description = "A flake8 extension that checks for blind except: statements";
|
||||||
maintainers = with lib.maintainers; [ johbo ];
|
homepage = "https://github.com/elijahandrews/flake8-blind-except";
|
||||||
license = lib.licenses.mit;
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ johbo ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue