flake8: Enable B902

This commit is contained in:
Markus Unterwaditzer 2017-03-02 21:30:42 +01:00
parent 668220dbd7
commit ae2542c992
2 changed files with 2 additions and 3 deletions

View file

@ -51,7 +51,7 @@ after-test:
[ "$(CI)" != "true" ] || codecov
install-style: install-docs
pip install flake8 flake8-import-order flake8-bugbear
pip install flake8 flake8-import-order flake8-bugbear>=17.3.0
style:
flake8

View file

@ -6,8 +6,7 @@ norecursedirs = tests/storage/servers/*
[flake8]
# E731: Use a def instead of lambda expr
# B902: first method param should be self
ignore = E731, B902
ignore = E731
select = C,E,F,W,B,B9
exclude = tests/storage/servers/*, build/
application-package-names = tests,vdirsyncer