From 66dd876b50eee6e958a8c814cb792a18fe0c5a17 Mon Sep 17 00:00:00 2001 From: Sergio Pastor Pérez Date: Fri, 9 May 2025 21:29:03 +0200 Subject: gnu: Add python-pytest-pylint. * gnu/packages/check.scm (python-pytest-pylint): New variable. Change-Id: Iba326a6fc9cbd333eb63edf2ed61dca45cdf2bc9 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-check.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/python-check.scm') 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 ;;; Copyright © 2025 Matthew Elwin ;;; Copyright © 2025 Nicolas Graves +;;; Copyright © 2025 Sergio Pastor Pérez ;;; ;;; 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") -- cgit v1.3