diff options
| author | Matthew Elwin <elwin@northwestern.edu> | 2025-04-23 16:11:45 -0500 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-26 22:29:09 +0100 |
| commit | bc9903f6570f070da39870bf9f5510882d71b269 (patch) | |
| tree | 6893915a7992b5f25a1735e0eeea77067ba139e3 /gnu/packages/python-check.scm | |
| parent | 60a7b3af4d2cb44db182dc631eb27b1e288f3da4 (diff) | |
gnu: Add python-flake8-builtins.
* gnu/packages/python-xyz.scm (python-flake8-builtins): New variable.
Change-Id: I1fe2b01f3e95b922ec2a7f48024a2a9ffd598894
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 2c794c1205e..33c3f49c00d 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -28,6 +28,7 @@ ;;; Copyright © 2024 Markku Korkeala <markku.korkeala@iki.fi> ;;; Copyright © 2025 Evgeny Pisemsky <mail@pisemsky.site> ;;; Copyright © 2025 Florent Pruvost <florent.pruvost@inria.fr> +;;; Copyright © 2025 Matthew Elwin <elwin@northwestern.edu> ;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr> ;;; ;;; This file is part of GNU Guix. @@ -650,6 +651,31 @@ the initial expected value of a test can be automatically set by running the test itself.") (license license:expat)))) +(define-public python-flake8-builtins + (package + (name "python-flake8-builtins") + (version "2.5.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flake8_builtins" version)) + (sha256 + (base32 "19psav7pnqy3m5g4z1zah4ksbnk9bzx1jbbibs631xg44gc3vamx")))) + (build-system pyproject-build-system) + (arguments + (list #:test-flags #~(list "run_tests.py"))) + (native-inputs + (list python-hatchling + python-pytest)) + (propagated-inputs + (list python-flake8)) + (home-page "https://github.com/gforcada/flake8-builtins") + (synopsis "Check for python builtins being used as variables or parameters") + (description + "This package implements a functionality to check for python builtins +being used as variables or parameters.") + (license license:gpl2))) + (define-public python-gcovr (package (name "python-gcovr") |
