python3Packages.flake8-bugbear: init at 22.1.11

This commit is contained in:
Alex Martens 2022-02-09 16:07:15 -08:00 committed by Jonathan Ringer
parent 083c3a940e
commit 290e4ff2ca
2 changed files with 46 additions and 0 deletions

View 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 ];
};
}

View File

@ -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 { };