Add flake8-bugbear to tox.ini

This commit is contained in:
Labrys of Knossos 2019-04-06 23:04:04 -04:00
commit 267d8d1632

View file

@ -33,6 +33,12 @@ commands =
max-line-length = 79 max-line-length = 79
verbose = 2 verbose = 2
statistics = True statistics = True
select =
; -- flake8-bugbear --
; B902 Invalid first argument used for instance method.
; B903 Data class should either be immutable or use __slots__ to save memory.
B902, B903
ignore = ignore =
; -- flake8 -- ; -- flake8 --
; E501 line too long ; E501 line too long
@ -65,6 +71,7 @@ per-file-ignores =
[testenv:check] [testenv:check]
deps = deps =
flake8 flake8
flake8-bugbear
flake8-commas flake8-commas
flake8-comprehensions flake8-comprehensions
flake8-docstrings flake8-docstrings