gnu: python-diff-cover: Update to 9.2.0.

* gnu/packages/python-xyz.scm (python-diff-cover): Update to 9.2.0.
Adjust style.
[arguments]<test-flags>: Ignore just one test.
[native-inputs]: Remove python-flake8 and python-pytest-flake8; add
python-pycodestyle, python-pyflakes, and python-pytest-datadir.
[description]: Start from a new line, fix fill column.

Change-Id: I01de4b79a8f3ccba8ca943907ddc77c9b8ca26e8
This commit is contained in:
Sharlatan Hellseher 2024-12-01 22:05:48 +00:00
parent 8cbd7e9aa4
commit c7d8d7ab49
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -25440,21 +25440,27 @@ which make common patterns shorter and easier.")
(define-public python-diff-cover (define-public python-diff-cover
(package (package
(name "python-diff-cover") (name "python-diff-cover")
(version "7.5.0") (version "9.2.0")
(source (origin (source
(method url-fetch) (origin
(uri (pypi-uri "diff_cover" version)) (method url-fetch)
(sha256 (uri (pypi-uri "diff_cover" version))
(base32 (sha256
"1z7bxnij2sqsiz9313nwcak7nshakpq4b6c05v13hkqyhd505cx4")))) (base32 "0dms5f3axwkjpcck4mlglfn0pga5nmskyc7ahyg8yrxvxd9v7845"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
#:test-flags #:test-flags
;; missing fixture 'datadir'. ;; Dropp check of flake8 in tests.
'(list "--ignore=tests/test_clover_violations_reporter.py" #~(list "-k" "not test_file_does_not_exist")))
;; Difference in line breaks (native-inputs
"-k" "not test_html_with_external_css"))) (list python-pycodestyle
python-poetry-core
python-pyflakes
python-pylint
python-pytest
python-pytest-datadir
python-pytest-mock))
(propagated-inputs (propagated-inputs
(list python-chardet (list python-chardet
python-jinja2 python-jinja2
@ -25462,19 +25468,13 @@ which make common patterns shorter and easier.")
python-pygments python-pygments
python-setuptools ; For pkg_resources. python-setuptools ; For pkg_resources.
python-tomli)) python-tomli))
(native-inputs
(list python-flake8
python-poetry-core
python-pylint
python-pytest
python-pytest-flake8
python-pytest-mock))
(home-page "https://github.com/Bachmann1234/diff-cover") (home-page "https://github.com/Bachmann1234/diff-cover")
(synopsis "Run coverage and linting reports on diffs") (synopsis "Run coverage and linting reports on diffs")
(description "Automatically find diff lines that need test coverage. It (description
also finds diff lines that have violations (according to tools such as "Automatically find diff lines that need test coverage. It also finds
pycodestyle, pyflakes, flake8, or pylint). This is used as a code quality diff lines that have violations (according to tools such as pycodestyle,
metric during code reviews.") pyflakes, flake8, or pylint). This is used as a code quality metric during
code reviews.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public python-diff-match-patch (define-public python-diff-match-patch