From b015b6c223cae63d7acc4e2a1fd7795ac9e52f83 Mon Sep 17 00:00:00 2001 From: Daniel Johnson Date: Fri, 23 Dec 2022 13:33:54 -0500 Subject: [PATCH] Update .flake8 to be compatible with flake8 v6, which has strange rules about where comments can go. https://github.com/pycqa/flake8/issues/1689 --- .flake8 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.flake8 b/.flake8 index 08809ff7c..5f97fe87c 100644 --- a/.flake8 +++ b/.flake8 @@ -1,9 +1,12 @@ [flake8] ignore = # , # 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