[bug#72206] lint: check-inputs-should-not-be-an-input-at-all: Add more packages.
Commit Message
* guix.lint.scm (check-inputs-should-not-be-an-input-at-all): Add
python-black, python-coverage, python-flake8, python-mypy, python-pycodestyle,
python-pyflakes, python-pylint, python-pytest-cov, python-yapf.
Change-Id: I4e7071f21b84313a117c4487d5977adbb91efe92
---
There are several flake8 extensions too which could be added.
guix/lint.scm | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
base-commit: 9df5289c6687cd5688c275d16417389fbab6d384
Comments
Hi Vinicius,
Vinicius Monego <monego@posteo.net> skribis:
> * guix.lint.scm (check-inputs-should-not-be-an-input-at-all): Add
> python-black, python-coverage, python-flake8, python-mypy, python-pycodestyle,
> python-pyflakes, python-pylint, python-pytest-cov, python-yapf.
>
> Change-Id: I4e7071f21b84313a117c4487d5977adbb91efe92
> ---
> There are several flake8 extensions too which could be added.
I’m not a Python person but I this looks reasonable to me. I think you
can go ahead and push.
Ludo’.
Hi Vinicius,
Vinicius Monego <monego@posteo.net> skribis:
> * guix.lint.scm (check-inputs-should-not-be-an-input-at-all): Add
> python-black, python-coverage, python-flake8, python-mypy, python-pycodestyle,
> python-pyflakes, python-pylint, python-pytest-cov, python-yapf.
>
> Change-Id: I4e7071f21b84313a117c4487d5977adbb91efe92
> ---
> There are several flake8 extensions too which could be added.
I’m not a Python person but this looks reasonable to me. I think you
can go ahead and push.
Ludo’.
@@ -586,9 +586,18 @@ (define (check-inputs-should-be-native package)
(define (check-inputs-should-not-be-an-input-at-all package)
;; Emit a warning if some inputs of PACKAGE are likely to should not be
;; an input at all.
- (let ((input-names '("python-setuptools"
+ (let ((input-names '("python-black"
+ "python-coverage"
+ "python-flake8"
+ "python-mypy"
"python-pip"
- "python-pre-commit")))
+ "python-pre-commit"
+ "python-pycodestyle"
+ "python-pyflakes"
+ "python-pylint"
+ "python-pytest-cov"
+ "python-setuptools"
+ "python-yapf")))
(map (lambda (input)
(make-warning
package