forked from pytorch/executorch
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.flake8
80 lines (77 loc) · 993 Bytes
/
.flake8
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
68
69
70
71
72
73
74
75
76
77
78
79
80
[flake8]
select = B,C,E,F,P,W,B9,TOR0,TOR1,TOR2
max-line-length = 80
ignore =
# Black conflicts and overlaps.
B950,
E111,
E115,
E117,
E121,
E122,
E123,
E124,
E125,
E126,
E127,
E128,
E129,
E131,
E201,
E202,
E203,
E221,
E222,
E225,
E226,
E227,
E231,
E241,
E251,
E252,
E261,
E262,
E265,
E271,
E272,
E301,
E302,
E303,
E305,
E306,
E501,
E502,
E701,
E702,
E703,
E704,
W291,
W292,
W293,
W391,
W504,
# Too opinionated.
E265,
E266,
E402,
E722,
B001,
P207,
B003,
P208,
C403,
W503,
# Bugbear has opinions: https://github.com/PyCQA/flake8-bugbear#opinionated-warnings
B904,
B905,
B906,
B907,
exclude =
./.git,
./backends/xnnpack/third-party,
./build,
./configurations,
./docs,
./third_party,
*.pyi
max-complexity = 12