[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62100] [PATCH v3 16/16] lint: Check that python-pre-commit is not a
From: |
Antero Mejr |
Subject: |
[bug#62100] [PATCH v3 16/16] lint: Check that python-pre-commit is not an input. |
Date: |
Sat, 11 Mar 2023 13:39:45 +0000 |
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.
---
guix/lint.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/lint.scm b/guix/lint.scm
index 8e3976171f..17dcc23647 100644
--- a/guix/lint.scm
+++ b/guix/lint.scm
@@ -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
;; an input at all.
(let ((input-names '("python-setuptools"
- "python-pip")))
+ "python-pip"
+ "python-pre-commit")))
(map (lambda (input)
(make-warning
package
--
2.38.1
- [bug#62100] [PATCH v3 06/16] gnu: python-marshmallow-jsonapi: Remove python-pre-commit., (continued)
- [bug#62100] [PATCH v3 06/16] gnu: python-marshmallow-jsonapi: Remove python-pre-commit., Antero Mejr, 2023/03/11
- [bug#62100] [PATCH v3 07/16] gnu: python-apispec: Remove python-pre-commit., Antero Mejr, 2023/03/11
- [bug#62100] [PATCH v3 08/16] gnu: python-apispec-webframeworks: Remove python-pre-commit., Antero Mejr, 2023/03/11
- [bug#62100] [PATCH v3 10/16] gnu: python-doubletdetection: Remove python-pre-commit., Antero Mejr, 2023/03/11
- [bug#62100] [PATCH v3 13/16] gnu: mdpo: Remove python-pre-commit., Antero Mejr, 2023/03/11
- [bug#62100] [PATCH v3 11/16] gnu: scvelo: Remove python-pre-commit., Antero Mejr, 2023/03/11
- [bug#62100] [PATCH v3 09/16] gnu: python-minikanren: Remove python-pre-commit., Antero Mejr, 2023/03/11
- [bug#62100] [PATCH v3 12/16] gnu: python-pytest-regressions: Remove python-pre-commit., Antero Mejr, 2023/03/11
- [bug#62100] [PATCH v3 15/16] gnu: python-pre-commit: Replace with pre-commit., Antero Mejr, 2023/03/11
- [bug#62100] [PATCH v3 14/16] gnu: python-sphinxcontrib-apidoc: Remove python-pre-commit., Antero Mejr, 2023/03/11
- [bug#62100] [PATCH v3 16/16] lint: Check that python-pre-commit is not an input.,
Antero Mejr <=