forked from cocotb/cocotb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
44 lines (40 loc) · 1.1 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
[flake8]
exclude =
bin
documentation
makefiles
venv
.tox
examples/endian_swapper/cosim
_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
per-file-ignores =
# F841 - local variable ... is assigned to but never used
tests/*: F841
examples/*: F841
[tool:pytest]
addopts = -v --cov=cocotb --cov-branch --doctest-modules
testpaths =
tests/pytest
cocotb/utils.py
cocotb/binary.py
cocotb/_sim_versions.py
# log_cli = true
# log_cli_level = DEBUG
[coverage:run]
omit =
cocotb/config.py
cocotb/_vendor/*