Skip to content

Commit

Permalink
Fix .flake8 for flake8-6.0.0
Browse files Browse the repository at this point in the history
No longer allows comments within an option list
  • Loading branch information
johnomotani committed Nov 25, 2022
1 parent 18c4ca6 commit 1376977
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
[flake8]
max-line-length = 89
#E741 - 'ambiguous variable names' forbids using 'I', 'O' or 'l'
#W503 - 'line break before binary operator', but this is allowed and useful inside brackets
#E203 - 'whitespace before ':'', but black formats some slice expressions with space before ':'
#E231 - missing whitespace after ',', but black formats some expressions without space after ','
ignore =
E741, # 'ambiguous variable names' forbids using 'I', 'O' or 'l'
W503, # 'line break before binary operator', but this is allowed and useful inside brackets
E203, # 'whitespace before ':'', but black formats some slice expressions with space before ':'
E231, # missing whitespace after ',', but black formats some expressions without space after ','
E741,
W503,
E203,
E231,
exclude =
hypnotoad/gui/hypnotoad_mainWindow.py,
hypnotoad/gui/hypnotoad_preferences.py,
Expand Down

0 comments on commit 1376977

Please sign in to comment.