mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 07:12:30 -05:00
gnu: Remove python-flake8-polyfill.
This package is mostly useful for Flake8 version 2 or 3 (see: https://github.com/PyCQA/flake8-polyfill/pull/14#issuecomment-979161161). * gnu/packages/python-xyz.scm (python-flake8-polyfill): Delete variable.
This commit is contained in:
parent
e05cac9080
commit
f4696aeb94
1 changed files with 0 additions and 36 deletions
|
@ -10348,42 +10348,6 @@ (define-public python-flake8-implicit-str-concat
|
||||||
unnecessary plus operators for explicit string literal concatenation.")
|
unnecessary plus operators for explicit string literal concatenation.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-flake8-polyfill
|
|
||||||
(package
|
|
||||||
(name "python-flake8-polyfill")
|
|
||||||
(version "1.0.2")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (pypi-uri "flake8-polyfill" version))
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"1nlf1mkqw856vi6782qcglqhaacb23khk9wkcgn55npnjxshhjz4"))
|
|
||||||
(patches (search-patches "python-flake8-polyfill-flake8-4-compat.patch"))))
|
|
||||||
(build-system python-build-system)
|
|
||||||
(arguments
|
|
||||||
'(#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(replace 'check
|
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
|
||||||
;; Be compatible with Pytest 4:
|
|
||||||
;; https://gitlab.com/pycqa/flake8-polyfill/merge_requests/7
|
|
||||||
(substitute* "setup.cfg"
|
|
||||||
(("\\[pytest\\]")
|
|
||||||
"[tool:pytest]"))
|
|
||||||
(when tests?
|
|
||||||
(invoke "py.test" "-v")))))))
|
|
||||||
(propagated-inputs
|
|
||||||
(list python-flake8))
|
|
||||||
(native-inputs
|
|
||||||
(list python-mock python-pep8 python-pycodestyle python-pytest))
|
|
||||||
(home-page "https://github.com/pycqa/flake8-polyfill")
|
|
||||||
(synopsis "Polyfill package for Flake8 plugins")
|
|
||||||
(description
|
|
||||||
"This package that provides some compatibility helpers for Flake8
|
|
||||||
plugins that intend to support Flake8 2.x and 3.x simultaneously.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public python-flake8-print
|
(define-public python-flake8-print
|
||||||
(package
|
(package
|
||||||
(name "python-flake8-print")
|
(name "python-flake8-print")
|
||||||
|
|
Loading…
Reference in a new issue