From e5876f6aff5d4dcbec6a2053802b7bc7e8b3068a Mon Sep 17 00:00:00 2001 From: Matthew Elwin Date: Mon, 28 Apr 2025 08:36:56 -0500 Subject: gnu: Add python-flake8-deprecated. * gnu/packages/python-check.scm (python-flake8-deprecated): New variable. Change-Id: If555230ff854ad26c5466a47b04a212189a113b9 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-check.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/python-check.scm') diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 33c3f49c00d..5deb395ac73 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -676,6 +676,33 @@ test itself.") being used as variables or parameters.") (license license:gpl2))) +(define-public python-flake8-deprecated + (package + (name "python-flake8-deprecated") + (version "2.2.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flake8_deprecated" version)) + (sha256 + (base32 "18iazzh2l42fcjmkqdwncsl1h2s6sbi26vz4m0gmd80w3l0cm5pf")))) + (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-deprecated") + (synopsis "Warns about deprecated method calls in Python") + (description + "This flake8 plugin helps you keep up with method deprecations by +providing hints about what deprecated methods should be replaced with.") + (license license:gpl2))) + (define-public python-gcovr (package (name "python-gcovr") -- cgit v1.3