~ruther/guix-local

e5876f6aff5d4dcbec6a2053802b7bc7e8b3068a — Matthew Elwin 1 year, 1 month ago 3048a24
gnu: Add python-flake8-deprecated.

* gnu/packages/python-check.scm (python-flake8-deprecated): New variable.

Change-Id: If555230ff854ad26c5466a47b04a212189a113b9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 27 insertions(+), 0 deletions(-)

M gnu/packages/python-check.scm
M gnu/packages/python-check.scm => gnu/packages/python-check.scm +27 -0
@@ 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")