[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/21: gnu: Add python-flake8-bugbear.
From: |
guix-commits |
Subject: |
11/21: gnu: Add python-flake8-bugbear. |
Date: |
Wed, 29 Jul 2020 18:58:53 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 5eebb4f41b00b1092e817046c1b1a665f298aa4b
Author: Tanguy Le Carrour <tanguy@bioneland.org>
AuthorDate: Mon Jul 27 10:00:49 2020 +0200
gnu: Add python-flake8-bugbear.
* gnu/packages/python-xyz.scm (python-flake8-bugbear): New variable.
Signed-off-by: Marius Bakke <marius@gnu.org>
---
gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b54b653..6554199 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7910,6 +7910,42 @@ complexity of Python source code.")
("python-pyflakes" ,python-pyflakes-1.2)
("python-mccabe" ,python-mccabe)))))
+(define-public python-flake8-bugbear
+ (package
+ (name "python-flake8-bugbear")
+ (version "20.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "flake8-bugbear" version))
+ (sha256
+ (base32
+ "0qiihb242fygzyrfynq913ak7cdmx8mcac9c0zk3y5gv16qf80mx"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (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")))))))
+ (native-inputs
+ `(("python-hypothesis" ,python-hypothesis)
+ ("python-hypothesmith" ,python-hypothesmith)))
+ (propagated-inputs
+ `(("python-attrs" ,python-attrs)
+ ("python-flake8" ,python-flake8)))
+ (home-page "https://github.com/PyCQA/flake8-bugbear")
+ (synopsis
+ "Flake8 plugin for finding likely bugs and design problems in your
program")
+ (description
+ "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
(package
(name "python-flake8-polyfill")
- 01/21: gnu: json-modern-cxx: Update to 3.9.0., (continued)
- 01/21: gnu: json-modern-cxx: Update to 3.9.0., guix-commits, 2020/07/29
- 04/21: gnu: Add nfs4-acl-tools., guix-commits, 2020/07/29
- 05/21: gnu: Add python-mypy-extensions., guix-commits, 2020/07/29
- 06/21: gnu: Add python-typing-inspect., guix-commits, 2020/07/29
- 07/21: gnu: Add python-hypothesis-5.23., guix-commits, 2020/07/29
- 09/21: gnu: Add python-lark-parser., guix-commits, 2020/07/29
- 10/21: gnu: Add python-hypothesmith., guix-commits, 2020/07/29
- 14/21: gnu: python-slugify: Update to 4.0.1., guix-commits, 2020/07/29
- 13/21: gnu: Add python-mypy., guix-commits, 2020/07/29
- 15/21: gnu: csvkit: Fix problem caused by the update of python-slugify., guix-commits, 2020/07/29
- 11/21: gnu: Add python-flake8-bugbear.,
guix-commits <=
- 12/21: gnu: Add python-flake8-pyi., guix-commits, 2020/07/29
- 18/21: gnu: mumble: Update to 1.3.2., guix-commits, 2020/07/29
- 16/21: gnu: python-cookiecutter: Update to 1.7.2., guix-commits, 2020/07/29
- 17/21: gnu: python-slugify: Remove unused input., guix-commits, 2020/07/29
- 21/21: gnu: python-sqlparse: Update to 0.3.1., guix-commits, 2020/07/29
- 19/21: gnu: gnunet-gtk: Update to 0.13.1., guix-commits, 2020/07/29
- 20/21: gnu: krita: Update to 4.3.0., guix-commits, 2020/07/29