-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.flake8
More file actions
22 lines (21 loc) · 819 Bytes
/
.flake8
File metadata and controls
22 lines (21 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[flake8]
ignore =
"B017", # assertRaises(Exception) - should be more specific
"B018", # useless expression, not assigned to anything
"B023", # function doesn't bind loop variable - will have last iteration's value
"B904", # raise inside except without from
"E402", # module level import not at top of file
"E501", # line too long
"E741", # ambiguous variable name
"F403", # can't detect undefined names from * import
"F405", # can't detect undefined names from * import
"F722", # syntax error in forward type annotation
"W191", # indentation contains tabs
"RUF001", # string contains ambiguous unicode character
"UP032", # Use f-string instead of `format` call (translations)
"UP030",
"B007",
"RUF013",
"E731"
max-line-length = 120
exclude=,test_*.py