forked from cocotb/cocotb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
58 lines (53 loc) · 1.46 KB
/
setup.cfg
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
[flake8]
exclude =
bin
documentation
makefiles
venv
.tox
_vendor
ignore =
E202 # whitespace before ')'
E203 # whitespace before ',' / ':'
E221 # multiple spaces before operator
E225 # missing whitespace around operator
E226 # missing whitespace around arithmetic operator
E228 # missing whitespace around modulo operator
E231 # missing whitespace after ...
E241 # multiple spaces after ...
E402 # module level import not at top of file
E501 # line too long (... > 79 characters)
E741 # ambiguous variable name 'l'
F405 # ... may be undefined, or defined from star
W504 # line break after binary operator
W503 # line break before binary operator
per-file-ignores =
# F841 - local variable ... is assigned to but never used
tests/*: F841
examples/*: F841
# redefinition of unused '...' from line ...
examples/doc_examples/quickstart/test_my_design.py: F811
[tool:pytest]
addopts = -v --cov=cocotb --cov-branch --doctest-modules
testpaths =
tests/pytest
cocotb/utils.py
cocotb/binary.py
cocotb/types/
cocotb/_sim_versions.py
# log_cli = true
# log_cli_level = DEBUG
[coverage:run]
omit =
*/cocotb/config.py
*/cocotb/_vendor/*
[coverage:report]
omit =
*/cocotb/config.py
*/cocotb/_vendor/*
exclude_lines =
pragma: no cover
# for excluding typing stubs
\.\.\.
# for excluding abstractmethods
raise\s+NotImplementedError