1
0
mirror of https://github.com/lutris/lutris synced 2024-07-08 11:35:50 +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:
Daniel Johnson 2022-12-23 13:33:54 -05:00
parent 8fcb6d71e3
commit b015b6c223

View File

@ -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