mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-15 11:30:44 +02:00
gnu: python-flake8: Use INVOKE.
* gnu/packages/python.scm (python-flake8)[arguments]: Use INVOKE and always return #T.
This commit is contained in:
parent
2df4ecd61d
commit
5417c92877
1 changed files with 2 additions and 1 deletions
|
@ -5660,7 +5660,8 @@ complexity of Python source code.")
|
||||||
(add-after 'install 'check
|
(add-after 'install 'check
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(add-installed-pythonpath inputs outputs)
|
(add-installed-pythonpath inputs outputs)
|
||||||
(zero? (system* "pytest" "-v")))))))
|
(invoke "pytest" "-v")
|
||||||
|
#t)))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-pycodestyle" ,python-pycodestyle)
|
`(("python-pycodestyle" ,python-pycodestyle)
|
||||||
("python-pyflakes" ,python-pyflakes)
|
("python-pyflakes" ,python-pyflakes)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue