[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/09: gnu: Add python-yamllint.
From: |
guix-commits |
Subject: |
04/09: gnu: Add python-yamllint. |
Date: |
Tue, 2 Feb 2021 04:25:14 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 8eb32ee0598308c9527e4d58e93456ac4717ea62
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Feb 2 09:57:03 2021 +0100
gnu: Add python-yamllint.
* gnu/packages/python-xyz.scm (python-yamllint): New variable.
---
gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2a392d6..3d29bd5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17798,6 +17798,29 @@ user's @file{~/Trash} directory.")
"@code{pyfavicon} is an async favicon fetcher.")
(license license:expat)))
+(define-public python-yamllint
+ (package
+ (name "python-yamllint")
+ (version "1.26.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "yamllint" version))
+ (sha256
+ (base32 "11qhs1jk9pwvyk5k3q5blh9sq42dh1ywdf1f3i2zixf7hncwir5h"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-pathspec" ,python-pathspec)
+ ("python-pyyaml" ,python-pyyaml)
+ ("python-setuptools" ,python-setuptools)))
+ (home-page "https://github.com/adrienverge/yamllint")
+ (synopsis "Linter for YAML files")
+ (description
+ "Yamllint is a linter for YAML files. yamllint does not only check for
+syntax validity, but for weirdnesses like key repetition and cosmetic problems
+such as lines length, trailing spaces, indentation, etc.")
+ (license license:gpl3+)))
+
(define-public python-yapf
(package
(name "python-yapf")
- branch master updated (13b2c44 -> 625708b), guix-commits, 2021/02/02
- 04/09: gnu: Add python-yamllint.,
guix-commits <=
- 02/09: gnu: Add python-pymd4c., guix-commits, 2021/02/02
- 09/09: gnu: Add mdpo., guix-commits, 2021/02/02
- 07/09: gnu: Add python-pre-commit., guix-commits, 2021/02/02
- 05/09: gnu: Add python-flake8-implicit-str-concat., guix-commits, 2021/02/02
- 08/09: gnu: Add python-bump2version., guix-commits, 2021/02/02
- 01/09: gnu: Add md4c., guix-commits, 2021/02/02
- 03/09: gnu: Add python-sphinx-argparse., guix-commits, 2021/02/02
- 06/09: gnu: Add python-flake8-print., guix-commits, 2021/02/02