mirror of
https://github.com/lutris/lutris
synced 2024-09-05 07:23:32 +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]
|
[flake8]
|
||||||
ignore =
|
ignore =
|
||||||
# <code>, # description
|
# <code>, # description
|
||||||
E722, # do not use bare except' (done by pylint)
|
# do not use bare except' (done by pylint)
|
||||||
W503, # line break before binary operator
|
E722,
|
||||||
E402, # module level import not at top of file (gtk stuff)
|
# line break before binary operator
|
||||||
|
W503,
|
||||||
|
# module level import not at top of file (gtk stuff)
|
||||||
|
E402,
|
||||||
max-line-length = 120
|
max-line-length = 120
|
||||||
exclude = .venv,venv,.env,env,lutris/game.py
|
exclude = .venv,venv,.env,env,lutris/game.py
|
||||||
max-complexity = 15
|
max-complexity = 15
|
||||||
|
|
Loading…
Reference in a new issue