mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
flake8: Enable B902
This commit is contained in:
parent
668220dbd7
commit
ae2542c992
2 changed files with 2 additions and 3 deletions
2
Makefile
2
Makefile
|
|
@ -51,7 +51,7 @@ after-test:
|
||||||
[ "$(CI)" != "true" ] || codecov
|
[ "$(CI)" != "true" ] || codecov
|
||||||
|
|
||||||
install-style: install-docs
|
install-style: install-docs
|
||||||
pip install flake8 flake8-import-order flake8-bugbear
|
pip install flake8 flake8-import-order flake8-bugbear>=17.3.0
|
||||||
|
|
||||||
style:
|
style:
|
||||||
flake8
|
flake8
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,7 @@ norecursedirs = tests/storage/servers/*
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
# E731: Use a def instead of lambda expr
|
# E731: Use a def instead of lambda expr
|
||||||
# B902: first method param should be self
|
ignore = E731
|
||||||
ignore = E731, B902
|
|
||||||
select = C,E,F,W,B,B9
|
select = C,E,F,W,B,B9
|
||||||
exclude = tests/storage/servers/*, build/
|
exclude = tests/storage/servers/*, build/
|
||||||
application-package-names = tests,vdirsyncer
|
application-package-names = tests,vdirsyncer
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue