python3Packges.pep257: remove together with pytest-pep257
The code apparently was migrated into pycodestyle. https://github.com/PyCQA/pydocstyle/issues/580
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pep257";
|
||||
version = "6.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GreenSteam";
|
||||
repo = "pep257";
|
||||
rev = version;
|
||||
sha256 = "0hcf3nyvzl8kd6gmc9qsiigz7vpwrjxcd1bd50dd63cad87qqicg";
|
||||
};
|
||||
|
||||
checkInputs = [ pytestCheckHook mock ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/GreenSteam/pep257/";
|
||||
description = "Python docstring style checker";
|
||||
longDescription = "Static analysis tool for checking compliance with Python PEP 257.";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pytest, pep257 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-pep257";
|
||||
version = "0.0.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "082v3d5k4331x53za51kl8zxsndsw1pcyf1xdfpb2gjdjrhixb8w";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ pep257 ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/anderslime/pytest-pep257";
|
||||
description = "py.test plugin for PEP257";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
@@ -83,6 +83,7 @@ mapAliases ({
|
||||
pam = python-pam; # added 2020-09-07.
|
||||
PasteDeploy = pastedeploy; # added 2021-10-07
|
||||
pathpy = path; # added 2022-04-12
|
||||
pep257 = pydocstyle; # added 2022-04-12
|
||||
powerlineMemSegment = powerline-mem-segment; # added 2021-10-08
|
||||
privacyidea = throw "privacyidea has been renamed to pkgs.privacyidea"; # added 2021-06-20
|
||||
prometheus_client = prometheus-client; # added 2021-06-10
|
||||
@@ -96,6 +97,7 @@ mapAliases ({
|
||||
pytest_6 = pytest; # added 2022-02-10
|
||||
pytestcov = pytest-cov; # added 2021-01-04
|
||||
pytest-pep8 = pytestpep8; # added 2021-01-04
|
||||
pytest-pep257 = throw "pytest-pep257 was removed, as the pep257 package was migrated into pycodestyle"; # added 2022-04-12
|
||||
pytest-pythonpath = throw "pytest-pythonpath is obsolete as of pytest 7.0.0 and has been removed"; # added 2022-03-09
|
||||
pytestpep8 = throw "pytestpep8 was removed because it is abandoned and no longer compatible with pytest v6.0"; # added 2020-12-10
|
||||
pytestquickcheck = pytest-quickcheck; # added 2021-07-20
|
||||
|
||||
@@ -6091,8 +6091,6 @@ in {
|
||||
|
||||
pendulum = callPackage ../development/python-modules/pendulum { };
|
||||
|
||||
pep257 = callPackage ../development/python-modules/pep257 { };
|
||||
|
||||
pep440 = callPackage ../development/python-modules/pep440 { };
|
||||
|
||||
pep517 = callPackage ../development/python-modules/pep517 { };
|
||||
@@ -7978,8 +7976,6 @@ in {
|
||||
|
||||
pytest-ordering = callPackage ../development/python-modules/pytest-ordering { };
|
||||
|
||||
pytest-pep257 = callPackage ../development/python-modules/pytest-pep257 { };
|
||||
|
||||
pytest-pylint = callPackage ../development/python-modules/pytest-pylint { };
|
||||
|
||||
pytest-qt = callPackage ../development/python-modules/pytest-qt { };
|
||||
|
||||
Reference in New Issue
Block a user