Message ID | 20220607011012.1168112-3-yewscion@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [bug#55814,v3,1/8] Refreshed `python-pycodestyle` to version 2.8.0. | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/issue | success | View issue |
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0c232e9aac..48311c6c33 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6456,8 +6456,9 @@ (define-public python-pycodestyle `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - (invoke "pytest" "-vv")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv"))))))) (native-inputs (list python-pytest)) (home-page "https://pycodestyle.readthedocs.io/")