mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
lint: Check that python-pre-commit is not an input.
pre-commit should never be a native-input of python packages, it's a package manager for commit linting that is irrelevant to builds. * guix/lint.scm (check-inputs-should-not-be-an-input-at-all): Add entry for python-pre-commit. Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
This commit is contained in:
parent
831baaf81e
commit
a70b9fb319
1 changed files with 2 additions and 1 deletions
|
@ -533,7 +533,8 @@ (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
|
;; Emit a warning if some inputs of PACKAGE are likely to should not be
|
||||||
;; an input at all.
|
;; an input at all.
|
||||||
(let ((input-names '("python-setuptools"
|
(let ((input-names '("python-setuptools"
|
||||||
"python-pip")))
|
"python-pip"
|
||||||
|
"python-pre-commit")))
|
||||||
(map (lambda (input)
|
(map (lambda (input)
|
||||||
(make-warning
|
(make-warning
|
||||||
package
|
package
|
||||||
|
|
Loading…
Reference in a new issue