forked from hardbyte/python-can
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
28 lines (23 loc) · 644 Bytes
/
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
[bdist_wheel]
universal = 1
[metadata]
license_file = LICENSE.txt
[tool:pytest]
addopts = -v --timeout=300 --cov=can --cov-config=setup.cfg
[coverage:run]
# we could also use branch coverage
branch = False
# already specified by call to pytest using --cov=can
#source = can
omit =
# legacy code
can/CAN.py
[coverage:report]
# two digits after decimal point
precision = 3
show_missing = True
exclude_lines =
# Have to re-enable the standard pragma, see https://coverage.readthedocs.io/en/coverage-4.5.1a/config.html#syntax
pragma: no cover
# Don't complain if non-runnable code isn't run:
if __name__ == .__main__.: