mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: Add python-flake8-isort.
* gnu/packages/python-xyz.scm (python-flake8-isort): New variable.
This commit is contained in:
parent
d90b06cc42
commit
f252e6b8bf
1 changed files with 28 additions and 0 deletions
|
@ -10739,6 +10739,34 @@ (define-public python-flake8-todo
|
||||||
TODO notes checker plugin for flake8.")
|
TODO notes checker plugin for flake8.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public python-flake8-isort
|
||||||
|
(package
|
||||||
|
(name "python-flake8-isort")
|
||||||
|
(version "4.1.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "flake8-isort" version))
|
||||||
|
(sha256
|
||||||
|
(base32 "05r7z0j9rqgy0a9261bhisairrz6w8hy5hy5kf2mhvhfnx53056q"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(invoke "pytest" "-vv")))))))
|
||||||
|
(propagated-inputs (list python-flake8 python-isort python-testfixtures))
|
||||||
|
(native-inputs (list python-pytest))
|
||||||
|
(home-page "https://github.com/gforcada/flake8-isort")
|
||||||
|
(synopsis "Flake8 plugin integrating isort")
|
||||||
|
(description "This package provides a flake8 plugin that integrates isort,
|
||||||
|
extending flake8 so that it can warn about badly sorted Python import
|
||||||
|
directives.")
|
||||||
|
(license license:gpl2+)))
|
||||||
|
|
||||||
(define-public python-autoflake
|
(define-public python-autoflake
|
||||||
(package
|
(package
|
||||||
(name "python-autoflake")
|
(name "python-autoflake")
|
||||||
|
|
Loading…
Reference in a new issue