depot/third_party/nixpkgs/pkgs/development/python-modules/flake8-blind-except/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

32 lines
670 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, 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=";
};
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"flake8_blind_except"
];
meta = with lib; {
description = "A flake8 extension that checks for blind except: statements";
homepage = "https://github.com/elijahandrews/flake8-blind-except";
license = licenses.mit;
maintainers = with maintainers; [ johbo ];
};
}