python3Packages.flake8-bugbear: init at 22.1.11
This commit is contained in:
parent
083c3a940e
commit
290e4ff2ca
44
pkgs/development/python-modules/flake8-bugbear/default.nix
Normal file
44
pkgs/development/python-modules/flake8-bugbear/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, attrs
|
||||
, flake8
|
||||
, pytestCheckHook
|
||||
, hypothesis
|
||||
, hypothesmith
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flake8-bugbear";
|
||||
version = "22.1.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PyCQA";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-sTg69Hgvi77wtLWEH4JtcIAMFk7exr5CBXmyS0nE5Vc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
attrs
|
||||
flake8
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
flake8
|
||||
pytestCheckHook
|
||||
hypothesis
|
||||
hypothesmith
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/PyCQA/flake8-bugbear";
|
||||
changelog = "https://github.com/PyCQA/flake8-bugbear/blob/${version}/README.rst#change-log";
|
||||
description = ''
|
||||
A plugin for flake8 finding likely bugs and design problems in your
|
||||
program.
|
||||
'';
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ newam ];
|
||||
};
|
||||
}
|
@ -2861,6 +2861,8 @@ in {
|
||||
|
||||
flake8-blind-except = callPackage ../development/python-modules/flake8-blind-except { };
|
||||
|
||||
flake8-bugbear = callPackage ../development/python-modules/flake8-bugbear { };
|
||||
|
||||
flake8 = callPackage ../development/python-modules/flake8 { };
|
||||
|
||||
flake8-length = callPackage ../development/python-modules/flake8-length { };
|
||||
|
Loading…
Reference in New Issue
Block a user