diff options
| author | Sergio Pastor Pérez <sergio.pastorperez@gmail.com> | 2025-05-09 21:29:03 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-05-10 16:12:18 +0100 |
| commit | 66dd876b50eee6e958a8c814cb792a18fe0c5a17 (patch) | |
| tree | 8478a8fa34e5ff7cc16878bda0bcdb9bbbb54357 /gnu/packages/python-check.scm | |
| parent | bcdd09db8e145e6e7cf2d89f8afda9d480f510aa (diff) | |
gnu: Add python-pytest-pylint.
* gnu/packages/check.scm (python-pytest-pylint): New variable.
Change-Id: Iba326a6fc9cbd333eb63edf2ed61dca45cdf2bc9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
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 98a6b3f9715..ec25fccadbb 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -32,6 +32,7 @@ ;;; Copyright © 2025 Florent Pruvost <florent.pruvost@inria.fr> ;;; Copyright © 2025 Matthew Elwin <elwin@northwestern.edu> ;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr> +;;; Copyright © 2025 Sergio Pastor Pérez <sergio.pastorperez@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -2727,6 +2728,30 @@ for the @code{pytest} framework.") @command{pydocstyle}.") (license license:expat))) +(define-public python-pytest-pylint + (package + (name "python-pytest-pylint") + (version "0.21.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-pylint" version)) + (sha256 + (base32 "0gjm9qy1rsngvli042szqc45y0q5zk1crq28ja01iyjw3n74nxl8")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pytest + python-setuptools + python-wheel)) + (propagated-inputs + (list python-pylint)) + (home-page "https://github.com/carsongee/pytest-pylint") + (synopsis "Pytest plugin to check source code with Pylint") + (description + "This plugin allows running Pylint with Pytest and have configurable rule +types (i.e. Convention, Warn, and Error) fail the build.") + (license license:expat))) + (define-public python-pytest-qt (package (name "python-pytest-qt") |
