Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions pkgs/development/python-modules/pydocstyle/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, isPy3k
, pythonOlder
, fetchFromGitHub
, snowballstemmer
, pytestCheckHook
Expand All @@ -9,15 +9,15 @@
buildPythonPackage rec {
pname = "pydocstyle";
version = "6.1.1";
disabled = !isPy3k;

format = "setuptools";

disabled = pythonOlder "3.7";

src = fetchFromGitHub {
owner = "PyCQA";
repo = pname;
rev = version;
sha256 = "sha256-j0WMD2qKDdMaKG2FxrrM/O7zX4waJ1afaRPRv70djkE=";
hash = "sha256-j0WMD2qKDdMaKG2FxrrM/O7zX4waJ1afaRPRv70djkE=";
};

propagatedBuildInputs = [
Expand All @@ -32,6 +32,10 @@ buildPythonPackage rec {
"src/tests/test_integration.py" # runs pip install
];

pythonImportsCheck = [
"pydocstyle"
];

meta = with lib; {
description = "Python docstring style checker";
homepage = "https://github.com/PyCQA/pydocstyle";
Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/python-aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ mapAliases ({
pyspotify = throw "pyspotify has been removed because Spotify stopped supporting libspotify"; # added 2022-05-29
pytest_6 = pytest; # added 2022-02-10
pytestcov = pytest-cov; # added 2021-01-04
pytest-pep257 = throw "pytest-pep257 was removed because it is abandoned and is not compatible with pydocstyle"; # added 2022-03-28
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
Expand Down