Unverified Commit 5eebb4f4 authored by Tanguy Le Carrour's avatar Tanguy Le Carrour Committed by Marius Bakke

gnu: Add python-flake8-bugbear.

* gnu/packages/python-xyz.scm (python-flake8-bugbear): New variable.
Signed-off-by: default avatarMarius Bakke <marius@gnu.org>
parent fdc61e32
......@@ -7910,6 +7910,42 @@ complexity of Python source code.")
("python-pyflakes" ,python-pyflakes-1.2)
("python-mccabe" ,python-mccabe)))))
(define-public python-flake8-bugbear
(name "python-flake8-bugbear")
(version "20.1.4")
(method url-fetch)
(uri (pypi-uri "flake8-bugbear" version))
(build-system python-build-system)
(modify-phases %standard-phases
(add-before 'check 'disable-test
(lambda _
;; This test fails on slow computers.
(substitute* "tests/test_bugbear.py"
(("def test_does_not_crash_on_any_valid_code")
"def _test_does_not_crash_on_any_valid_code")))))))
`(("python-hypothesis" ,python-hypothesis)
("python-hypothesmith" ,python-hypothesmith)))
`(("python-attrs" ,python-attrs)
("python-flake8" ,python-flake8)))
(home-page "https://github.com/PyCQA/flake8-bugbear")
"Flake8 plugin for finding likely bugs and design problems in your program")
"This package contains a plugin for Flake8 finding likely bugs and
design problems in your program. It contains warnings that don't belong
in pyflakes and pycodestyle.")
(license license:expat)))
(define-public python-flake8-polyfill
(name "python-flake8-polyfill")
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment