mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +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
|
||||
|
||||
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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue