gnu: python-flake8: Update to 4.0.1.

* gnu/packages/python-xyz.scm (python-flake8): Update to 4.0.1.
[phases]{check}: Delete extraneous add-installed-pythonpath call.
[propagated-inputs]: Re-indent.
[native-inputs]: Remove python-mock.
This commit is contained in:
Maxim Cournoyer 2022-06-06 14:12:04 -04:00
parent f4696aeb94
commit 5022cf8e04
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -10229,13 +10229,15 @@ (define-public python-flake8
(arguments
`(#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(add-installed-pythonpath inputs outputs)
(invoke "pytest" "-v")))))))
(propagated-inputs (list python-pycodestyle python-entrypoints
python-pyflakes python-mccabe))
(native-inputs (list python-mock python-pytest))
(propagated-inputs
(list python-entrypoints
python-mccabe
python-pycodestyle
python-pyflakes))
(native-inputs (list python-pytest))
(home-page "https://gitlab.com/pycqa/flake8")
(synopsis "The modular source code checker: pep8, pyflakes and co")
(description