forked from yahoo/graphkit
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.cfg
38 lines (34 loc) · 1.4 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
## Python's setup.cfg for tool defaults:
#
[metadata]
## Include CHANGES in wheel
# `license_files` it affects only "wheels" (not "sdists"), and defaults to ~5 files,
# see https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file
#license_files = CHANGES.rst LICENSE
[bdist_wheel]
universal = 1
[tool:pytest]
# See http://doc.pytest.org/en/latest/mark.html#mark
markers =
slow: slow-running tests, run them: with: -m slow OR -m 'slow or not slow'
parallel: (slow) run pipelines in (deprecated) PARALLEL (thread or process pools)
thread: run pipelines in parallel with THREAD-pool (masthalled or not)
proc: (slow) run pipelines in parallel with PROCESS-pool (masthalled or not)
marshal: (slow) run pipelines in PARALLEL marshling (thread or process pools)
addopts =
--doctest-modules
# Faciltate developer, rum'em all with -m 'slow or not slow'.
-m 'not slow'
--ignore-glob=t.*
--ignore-glob=*venv*
# See https://stackoverflow.com/questions/42919871/avoid-no-commands-on-setup-py-with-py-test
--ignore=setup.py
# Version-from-sources trick fails due to different cwd.
--ignore=docs/source/conf.py
--doctest-report ndiff
--doctest-continue-on-failure
# --doctest-ignore-import-errors
--doctest-glob=*.md
--doctest-glob=*.rst
--cov-fail-under=80
doctest_optionflags = NORMALIZE_WHITESPACE ELLIPSIS