-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy path.flake8
More file actions
113 lines (108 loc) · 2.17 KB
/
.flake8
File metadata and controls
113 lines (108 loc) · 2.17 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[flake8]
# UFN plugin must be run in serial
jobs = 0
# Ignore rules that conflict with ruff or are intentionally suppressed.
#
# Handled by ruff formatter (ruff removes noqa comments for these, causing flake8 failures):
# E501 — line too long; ruff formatter manages line length
# E201 — whitespace after '('; ruff formatter manages whitespace
# W503 — line break before binary operator; PEP 8 reversed this, ruff uses W504 (after)
# F821 — undefined name; used in global_config files with dynamic exec() loading
#
# Intentionally suppressed (not enforced by either linter):
# N802 — function name should be lowercase; method overrides like formatTime from logging.Formatter
# N818 — exception name should end with Error; existing names like MissingTemplateVariables
ignore = N802, E501, F821, E201, W503, N818
exclude =
doc,
.tox,
.git,
.yml,
Pipfile.*,
ansible/*,
docs/*,
.cache/*,
utilities/unittests/*,
utilities/junit_ai_utils.py,
scripts/tests_analyzer/tests/*,
fcn_exclude_functions =
Path,
relative_to,
re,
group,
os,
parser,
urllib,
shutil,
LOGGER,
BASIC_LOGGER,
get_plugin,
ElementTree,
xml_doc,
findall,
record_testsuite_property,
time,
tmpdir_factory,
sh,
json,
yaml,
subprocess,
jinja2,
xmltodict,
netaddr,
request,
sub,
deepcopy,
logging,
add_option,
pytest,
expect,
sendline,
write,
send,
namedtuple,
parametrize,
console_eof_sampler,
check_output,
sleep,
datetime,
resource_stream,
random,
pytestconfig,
prev_eq_func,
addoption,
CreateContainerView,
defaultdict,
Counter,
bcrypt,
getoption,
tmp_path_factory,
signal,
submit,
io,
benedict,
BeautifulSoup,
usefixtures,
find_spec,
with_suffix,
writelines,
skip,
QueueListener,
requests,
multiprocessing,
ast,
ThreadPoolExecutor,
as_completed,
mkdtemp,
tempfile,
urllib3,
nit_exclude_imports =
os_params,
upgrade_params,
tests.utils
enable-extensions =
PID,
FCN,
UFN,
NIC,
NIT,