This repository has been archived by the owner on Jul 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.cfg
59 lines (55 loc) · 1.77 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
59
## Python's setup.cfg:
# Created on 5 Aug 2014
#
[build_sphinx]
all_files = 1
build-dir = docs/_build
[tool:pytest]
# Ignore symlink trick to refer to README-images from sphinx-files in docs/
norecursedirs = docs/docs
markers =
slow: slow-running notebook, run them: with: -m slow OR -m 'slow and not slow'
slower: VERY slow-running notebooks
addopts =
-ra
-m "not (slow or slower)"
--ignore-glob=*venv*
--ignore-glob=t.py
--ignore-glob=t?.py
--ignore=build
--ignore=setup.py
--ignore=docs/conf.py
# Avoid sidefx of importing cmd-files.
--ignore=bin
# It's a test-lib, not a TC file.
--ignore=tests/vehdb.py
--ignore-glob=scratch*
# paired jupytext "python-percent" files
--ignore-glob=Notebooks/*.py
# to be converted to new code
--ignore=tests/test_whole_vehicleTests.py
# abandonded
--ignore=tests/test_wltp_db.py
--ignore=tests/test_samples_db.py
# abandonded, not running on Linux
--ignore=tests/test_excel.py
--ignore=wltp/excel/xlsutils.py
--ignore=wltp/excel/WltpExcelRunner.py
# abandoned, and irrelevant
--ignore=wltp/idgears.py
--ignore=tests/test_idgears.py
--ignore=tests/test_performance.py
# not tested yet
--doctest-report ndiff
--doctest-continue-on-failure
--doctest-ignore-import-errors
--doctest-modules
--doctest-glob=*.md
--doctest-glob=*.rst
--cov-fail-under=69
# --cov=wltp.experiment --cov=wltp.model --cov=wltp.utils --cov=wltp.cycles
doctest_optionflags = NORMALIZE_WHITESPACE ELLIPSIS
[mypy]
warn_no_return = False
[mypy-graphtik.*]
ignore_errors = True