[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
68/145: gnu: python-pylint: Update to 2.12.2.
From: |
guix-commits |
Subject: |
68/145: gnu: python-pylint: Update to 2.12.2. |
Date: |
Mon, 10 Jan 2022 11:44:10 -0500 (EST) |
apteryx pushed a commit to branch version-1.4.0
in repository guix.
commit 3fbfed28f3b7d8439a9acd9c28ae4e0836c8e44f
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Dec 20 11:00:15 2021 -0500
gnu: python-pylint: Update to 2.12.2.
* gnu/packages/check.scm (python-pylint): Update to 2.12.2.
[phases]{check}: Override phase.
[native-inputs]: Remove python-pytest-benchmark, python-pytest-runner.
[propagated-inputs]: Add python-platformdirs, python-typing-extensions.
[synopsis]: Streamline.
---
gnu/packages/check.scm | 28 ++++++++++++++++++++++------
1 file changed, 22 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 5dcf8958f1..f6f22d3396 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2255,7 +2255,7 @@ statements in the module it tests.")
(define-public python-pylint
(package
(name "python-pylint")
- (version "2.9.6")
+ (version "2.12.2")
(source
(origin
(method git-fetch)
@@ -2264,15 +2264,31 @@ statements in the module it tests.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "15yw69v1cj6zkndk60c2g0dgl0khh8bfm1lrwhjffpdjfc7nkc9a"))))
+ (base32 "0spmy7j1vvh55shzgma80q61y0d1cj45dcgslb4g5w3y602miq5i"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; The unused but collected 'primer'-related test files require
+ ;; the extraneous 'git' Python module; remove them.
+ (delete-file "tests/primer/test_primer_external.py")
+ (delete-file "tests/testutils/test_package_to_lint.py")
+ (setenv "HOME" "/tmp")
+ (invoke "pytest" "-k" "test_functional")))))))
(native-inputs
- (list python-pytest python-pytest-benchmark python-pytest-runner))
+ (list python-pytest))
(propagated-inputs
- (list python-astroid python-isort python-mccabe python-toml))
+ (list python-astroid
+ python-isort
+ python-mccabe
+ python-platformdirs
+ python-toml
+ python-typing-extensions))
(home-page "https://github.com/PyCQA/pylint")
- (synopsis "Python source code analyzer which looks for coding standard
-errors")
+ (synopsis "Advanced Python code static checker")
(description "Pylint is a Python source code analyzer which looks
for programming errors, helps enforcing a coding standard and sniffs
for some code smells (as defined in Martin Fowler's Refactoring book).
- 81/145: gnu: python-requests-toolbelt: Update to 0.9.1 and enable tests., (continued)
- 81/145: gnu: python-requests-toolbelt: Update to 0.9.1 and enable tests., guix-commits, 2022/01/10
- 93/145: gnu: python-biom-format: Remove obsolete phase., guix-commits, 2022/01/10
- 75/145: gnu: python-matplotlib: Update to 3.5.1 and run tests in parallel., guix-commits, 2022/01/10
- 85/145: gnu: samtools: Update to 1.14., guix-commits, 2022/01/10
- 125/145: gnu: gnome-screenshot: Add python to native inputs., guix-commits, 2022/01/10
- 73/145: gnu: Add python-zopfli., guix-commits, 2022/01/10
- 100/145: gnu: go-github-com-gdamore-tcell: Remove obsolete phase., guix-commits, 2022/01/10
- 47/145: gnu: atkmm: Add python to native inputs., guix-commits, 2022/01/10
- 58/145: gnu: glade3: Add python to native inputs., guix-commits, 2022/01/10
- 105/145: gnu: lmms: Remove obsolete phase., guix-commits, 2022/01/10
- 68/145: gnu: python-pylint: Update to 2.12.2.,
guix-commits <=
- 136/145: gnu: Add rust-rustc-version-0.4., guix-commits, 2022/01/10
- 77/145: gnu: webkitgtk: Add a note about plugins in description., guix-commits, 2022/01/10
- 133/145: gnu: Add rust-concolor-query., guix-commits, 2022/01/10
- 96/145: gnu: emacs: Remove obsolete phase., guix-commits, 2022/01/10
- 99/145: gnu: go-github-com-docker-distribution: Remove obsolete phase., guix-commits, 2022/01/10
- 50/145: gnu: gusb: Add python to native inputs., guix-commits, 2022/01/10
- 53/145: gnu: dconf: Add python to native inputs., guix-commits, 2022/01/10
- 46/145: gnu: libxkbcommon: Add python to native inputs., guix-commits, 2022/01/10
- 127/145: gnu: simple-scan: Add python to native inputs., guix-commits, 2022/01/10
- 122/145: gnu: python-xlwt: Add comment about maintainership of the package., guix-commits, 2022/01/10