mirror of
https://github.com/lutris/lutris
synced 2024-10-06 07:50:16 +00:00
Update .flake8 to be compatible with flake8 v6, which has strange rules about where comments can go.
https://github.com/pycqa/flake8/issues/1689
This commit is contained in:
parent
8fcb6d71e3
commit
b015b6c223
9
.flake8
9
.flake8
|
@ -1,9 +1,12 @@
|
|||
[flake8]
|
||||
ignore =
|
||||
# <code>, # description
|
||||
E722, # do not use bare except' (done by pylint)
|
||||
W503, # line break before binary operator
|
||||
E402, # module level import not at top of file (gtk stuff)
|
||||
# do not use bare except' (done by pylint)
|
||||
E722,
|
||||
# line break before binary operator
|
||||
W503,
|
||||
# module level import not at top of file (gtk stuff)
|
||||
E402,
|
||||
max-line-length = 120
|
||||
exclude = .venv,venv,.env,env,lutris/game.py
|
||||
max-complexity = 15
|
||||
|
|
Loading…
Reference in a new issue