forked from cocotb/cocotb
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
53 lines (47 loc) · 1.08 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
[flake8]
extend-exclude =
docs/source/conf.py,
makefiles,
venv,
_vendor,
.nox/,
ignore =
# ambiguous variable name (preference)
E741,
# line too long (preference)
E501,
# whitespace before ':' (black)
E203,
# line break before binary operator (black)
W503,
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
# 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 =
src/cocotb/
.nox/**/cocotb/
[coverage:report]
omit =
*/cocotb/config.py
*/_vendor/*
exclude_lines =
pragma: no cover
# for excluding typing stubs
\.\.\.
# for excluding abstractmethods
raise\s+NotImplementedError