[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/23: gnu: python-flake8-pyi: Update to 24.9.0.
From: |
guix-commits |
Subject: |
06/23: gnu: python-flake8-pyi: Update to 24.9.0. |
Date: |
Sun, 1 Dec 2024 19:48:41 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 09e44695982f09a7f505aebea4aa2a48798d9ede
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Dec 1 09:46:08 2024 +0000
gnu: python-flake8-pyi: Update to 24.9.0.
* gnu/packages/python-xyz.scm (python-flake8-pyi): Update to 24.9.0.
Improve style.
[source]: Adjust URI name as PyPI archive has been changed.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Add 'fix-pytest-config.
[native-inputs]: Add python-hatchling and python-pytest.
[description]: Adjust fill column.
Change-Id: Idcc3e9f6213b00e02bc052101a2b666460943de5
---
gnu/packages/python-xyz.scm | 34 +++++++++++++++++++++++-----------
1 file changed, 23 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bbcc4182c2..eed48d3308 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15428,24 +15428,36 @@ files.")
(define-public python-flake8-pyi
(package
(name "python-flake8-pyi")
- (version "20.10.0")
+ (version "24.9.0")
(source
(origin
(method url-fetch)
- (uri (pypi-uri "flake8-pyi" version))
+ (uri (pypi-uri "flake8_pyi" version))
(sha256
- (base32
- "0b27n2pmrxcc7nva4wp2i7mrag0fnq0firvhg1ljq593a45b5qyf"))))
- (build-system python-build-system)
+ (base32 "1n8cqbqq9cfyn952kwqqs4s7lcyycgr829ymxnplg0cm49877yv4"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-pytest-config
+ (lambda _
+ ;; Prevent full threads utilization.
+ (substitute* "pyproject.toml"
+ (("-nauto") "")))))))
+ (native-inputs
+ (list python-hatchling
+ python-pytest))
(propagated-inputs
- (list python-attrs python-flake8 python-pyflakes))
+ (list python-attrs
+ python-flake8
+ python-pyflakes))
(home-page "https://github.com/ambv/flake8-pyi")
- (synopsis
- "Flake8 plugin that provides specializations for type hinting stub
files")
+ (synopsis "Flake8 plugin that provides specializations for type hinting
stub files")
(description
- "This package contains a plugin that provides specializations for
-type hinting stub files, especially interesting for linting typeshed. It
-adds the @file{.pyi} extension to the default value of the @code{--filename}
+ "This package contains a plugin that provides specializations for type
+hinting stub files, especially interesting for linting typeshed. It adds the
+@file{.pyi} extension to the default value of the @code{--filename}
command-line argument to Flake8. This means stubs are linted by default with
this plugin enabled, without needing to explicitly list every file. It
modifies PyFlakes runs for @file{.pyi} files to defer checking type annotation
- branch python-team updated (864747d220 -> f47b84af15), guix-commits, 2024/12/01
- 03/23: gnu: python-flake8-bugbear: Update to 24.10.31., guix-commits, 2024/12/01
- 07/23: gnu: python-flake8-pie: Update to 24.9.0., guix-commits, 2024/12/01
- 04/23: gnu: python-flake8-implicit-str-concat: Update to 0.5.0., guix-commits, 2024/12/01
- 06/23: gnu: python-flake8-pyi: Update to 24.9.0.,
guix-commits <=
- 11/23: gnu: python-sphinx-5: Adjust inputs., guix-commits, 2024/12/01
- 01/23: gnu: python-stdio-mgr: Fix build., guix-commits, 2024/12/01
- 10/23: gnu: python-sphinx: Adjust inputs., guix-commits, 2024/12/01
- 13/23: gnu: python-py-partiql-parser: Update to 0.5.6., guix-commits, 2024/12/01
- 08/23: gnu: python-flake8-quotes: Update to 3.4.0., guix-commits, 2024/12/01
- 15/23: gnu: python-utils: Update to 3.9.1., guix-commits, 2024/12/01
- 17/23: gnu: python-codespell: Update to 2.3.0., guix-commits, 2024/12/01
- 18/23: gnu: python-diff-cover: Update to 9.2.0., guix-commits, 2024/12/01
- 19/23: gnu: python-marshmallow: Update to 3.22.0., guix-commits, 2024/12/01
- 20/23: gnu: python-faker: Update to 33.1.0., guix-commits, 2024/12/01