-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy path.flake8
More file actions
69 lines (67 loc) · 1.11 KB
/
.flake8
File metadata and controls
69 lines (67 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[flake8]
min_python_version = 3.7.0
max-line-length = 88
ban-relative-imports = true
# flake8-use-fstring: https://github.com/MichaelKim0407/flake8-use-fstring#--percent-greedy-and---format-greedy
format-greedy = 1
inline-quotes = double
enable-extensions = TC, TC1
type-checking-exempt-modules = typing, typing-extensions
eradicate-whitelist-extend = ^-.*;
extend-ignore =
# E203: Whitespace before ':' (pycqa/pycodestyle#373)
E203,
# SIM106: Handle error-cases first
SIM106,
# ANN101: Missing type annotation for self in method
ANN101,
# ANN102: Missing type annotation for cls in classmethod
ANN102,
F401,
F403,
I252,
SIM115,
N806,
N803,
B007,
E501,
C408,
SIM113,
N802,
N400,
E501,
E802,
E800,
B001,
B006,
B020,
C414,
C416,
E402,
E711,
E712,
E722,
E741,
F405,
F541,
F811,
F821,
F841,
FS001,
FS002,
I250,
N801,
N804,
N812,
N816,
Q002,
SIM102,
SIM105,
SIM111,
SIM114,
SIM118,
SIM201,
SIM203,
SIM300,
SIM401,
TC002