depot/third_party/nixpkgs/pkgs/development/python-modules/flake8-blind-except/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

34 lines
727 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
pycodestyle,
pythonOlder,
}:
buildPythonPackage rec {
pname = "flake8-blind-except";
version = "0.2.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-8lpXWp3LPus8dgv5wi22C4taIxICJO0fqppD913X3RY=";
};
propagatedBuildInputs = [ pycodestyle ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "flake8_blind_except" ];
meta = with lib; {
description = "Flake8 extension that checks for blind except: statements";
homepage = "https://github.com/elijahandrews/flake8-blind-except";
license = licenses.mit;
maintainers = with maintainers; [ johbo ];
};
}