sharlatan pushed a commit to branch master in repository guix. commit 66dd876b50eee6e958a8c814cb792a18fe0c5a17 Author: Sergio Pastor Pérez <sergio.pastorpe...@gmail.com> AuthorDate: Fri May 9 21:29:03 2025 +0200
gnu: Add python-pytest-pylint. * gnu/packages/check.scm (python-pytest-pylint): New variable. Change-Id: Iba326a6fc9cbd333eb63edf2ed61dca45cdf2bc9 Signed-off-by: Sharlatan Hellseher <sharlata...@gmail.com> --- gnu/packages/python-check.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 98a6b3f971..ec25fccadb 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -32,6 +32,7 @@ ;;; Copyright © 2025 Florent Pruvost <florent.pruv...@inria.fr> ;;; Copyright © 2025 Matthew Elwin <el...@northwestern.edu> ;;; Copyright © 2025 Nicolas Graves <ngra...@ngraves.fr> +;;; Copyright © 2025 Sergio Pastor Pérez <sergio.pastorpe...@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")