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.
parent
f4696aeb94
commit
5022cf8e04
|
@ -10229,13 +10229,15 @@ cyclomatic complexity of Python source code.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (modify-phases %standard-phases
|
`(#:phases (modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
(add-installed-pythonpath inputs outputs)
|
|
||||||
(invoke "pytest" "-v")))))))
|
(invoke "pytest" "-v")))))))
|
||||||
(propagated-inputs (list python-pycodestyle python-entrypoints
|
(propagated-inputs
|
||||||
python-pyflakes python-mccabe))
|
(list python-entrypoints
|
||||||
(native-inputs (list python-mock python-pytest))
|
python-mccabe
|
||||||
|
python-pycodestyle
|
||||||
|
python-pyflakes))
|
||||||
|
(native-inputs (list python-pytest))
|
||||||
(home-page "https://gitlab.com/pycqa/flake8")
|
(home-page "https://gitlab.com/pycqa/flake8")
|
||||||
(synopsis "The modular source code checker: pep8, pyflakes and co")
|
(synopsis "The modular source code checker: pep8, pyflakes and co")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue