Merge pull request #154894 from smaret/flake8-docstrings-init

python3Packages.flake8-docstrings: init at 1.6.0
This commit is contained in:
Fabian Affolter 2022-01-23 12:01:18 +01:00 committed by GitHub
commit bce00311b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchPypi
, flake8
, pydocstyle
}:
buildPythonPackage rec {
pname = "flake8-docstrings";
version = "1.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "9fe7c6a306064af8e62a055c2f61e9eb1da55f84bb39caef2b84ce53708ac34b";
};
propagatedBuildInputs = [ flake8 pydocstyle ];
pythonImportsCheck = [ "flake8_docstrings" ];
meta = with lib; {
description = "Extension for flake8 which uses pydocstyle to check docstrings";
homepage = "https://gitlab.com/pycqa/flake8-docstrings";
license = licenses.mit;
maintainers = with maintainers; [ smaret ];
};
}

View file

@ -2844,6 +2844,8 @@ in {
flake8-debugger = callPackage ../development/python-modules/flake8-debugger { };
flake8-docstrings = callPackage ../development/python-modules/flake8-docstrings { };
flake8-future-import = callPackage ../development/python-modules/flake8-future-import { };
flake8-import-order = callPackage ../development/python-modules/flake8-import-order { };