forked from cocotb/cocotb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
50 lines (44 loc) · 1.09 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
[flake8]
extend-exclude =
documentation/source/conf.py
makefiles
venv
_vendor
.nox/
ignore =
E741 # ambiguous variable name (preference)
E501 # line too long (preference)
E203 # whitespace before ':' (black)
W503 # line break before binary operator (black)
per-file-ignores =
# necessary because of how file is included into documentation
examples/doc_examples/quickstart/test_my_design.py: E402,F811
[tool:pytest]
# Note: Do *not* add files within the cocotb/ tree here. Add them to the
# noxfile instead.
testpaths =
tests/pytest
examples/simple_dff
# log_cli = true
# log_cli_level = DEBUG
markers =
simulator_required: mark tests as needing a simulator
compile: the compile step in runner-based tests
[coverage:run]
omit =
*/cocotb/config.py
*/cocotb/_vendor/*
[coverage:paths]
source =
cocotb/
.nox/**/cocotb/
[coverage:report]
omit =
*/cocotb/config.py
*/cocotb/_vendor/*
exclude_lines =
pragma: no cover
# for excluding typing stubs
\.\.\.
# for excluding abstractmethods
raise\s+NotImplementedError