diff options
| author | Vinicius Monego <monego@posteo.net> | 2022-01-14 20:09:19 +0000 |
|---|---|---|
| committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-14 21:29:51 +0100 |
| commit | 6aa5d54a1c8679a45c9c2513eb973c46fe24ae87 (patch) | |
| tree | 1d4ce745b4c3e8e5b3a45b66219995457ee6b3dd /gnu/packages/python-check.scm | |
| parent | 4835fefe62c8396b1f46dccf5d3210312dc85cfb (diff) | |
gnu: Add python-pytest-pydocstyle.
* gnu/packages/python-check.scm (python-pytest-pydocstyle): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 6d8e3560d93..871afe575c6 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm | |||
| @@ -686,6 +686,31 @@ framework and makes it easy to undo any monkey patching. The fixtures are: | |||
| 686 | in Pytest.") | 686 | in Pytest.") |
| 687 | (license license:bsd-3))) | 687 | (license license:bsd-3))) |
| 688 | 688 | ||
| 689 | (define-public python-pytest-pydocstyle | ||
| 690 | (package | ||
| 691 | (name "python-pytest-pydocstyle") | ||
| 692 | (version "2.2.0") | ||
| 693 | (source | ||
| 694 | (origin | ||
| 695 | (method git-fetch) | ||
| 696 | (uri (git-reference | ||
| 697 | (url "https://github.com/henry0312/pytest-pydocstyle") | ||
| 698 | (commit (string-append "v" version)))) | ||
| 699 | (file-name (git-file-name name version)) | ||
| 700 | (sha256 | ||
| 701 | (base32 "0w6fivz4nb4b70wzmi5sk17qs9pd05rnh03fmch6v00r3dmfpk39")))) | ||
| 702 | (build-system python-build-system) | ||
| 703 | (arguments | ||
| 704 | `(#:tests? #f)) ; test requires the package itself | ||
| 705 | (propagated-inputs | ||
| 706 | (list python-pydocstyle | ||
| 707 | python-pytest)) ;apparently required | ||
| 708 | (home-page "https://github.com/henry0312/pytest-pydocstyle") | ||
| 709 | (synopsis "Pytest plugin to run @command{pydocstyle}") | ||
| 710 | (description "This package provides a Pytest plugin to run | ||
| 711 | @command{pydocstyle}.") | ||
| 712 | (license license:expat))) | ||
| 713 | |||
| 689 | (define-public python-covdefaults | 714 | (define-public python-covdefaults |
| 690 | (package | 715 | (package |
| 691 | (name "python-covdefaults") | 716 | (name "python-covdefaults") |
