Merge pull request #1603 from clinton-hall/fix/flake8

Fix/flake8
This commit is contained in:
Labrys of Knossos 2019-04-07 12:46:16 -04:00 committed by GitHub
commit 3a95b433f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

14
tox.ini
View file

@ -33,12 +33,6 @@ commands =
max-line-length = 79
verbose = 2
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 =
; -- flake8 --
; E501 line too long
@ -78,7 +72,15 @@ deps =
flake8-quotes
skip_install = true
commands =
; ** PRIMARY TESTS **
; Run flake8 tests (with plugins) using default test selections
flake8 core tests setup.py
; ** SELECTIVE TESTS **
; Run flake8 tests (with plugins) for specific optional codes defined below
; -- flake8-bugbear --
; B902 Invalid first argument used for instance method.
; B903 Data class should be immutable or use __slots__ to save memory.
flake8 core tests setup.py --select=B902,B903
[coverage:run]
omit =