2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchPypi,
|
|
|
|
buildPythonPackage,
|
|
|
|
pycodestyle,
|
|
|
|
pythonOlder,
|
2022-03-30 09:31:56 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flake8-blind-except";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "0.2.1";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-30 09:31:56 +00:00
|
|
|
hash = "sha256-8lpXWp3LPus8dgv5wi22C4taIxICJO0fqppD913X3RY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2022-03-30 09:31:56 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [ pycodestyle ];
|
2022-04-27 09:35:20 +00:00
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
# Module has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "flake8_blind_except" ];
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Flake8 extension that checks for blind except: statements";
|
2022-03-30 09:31:56 +00:00
|
|
|
homepage = "https://github.com/elijahandrews/flake8-blind-except";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ johbo ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|