-
Notifications
You must be signed in to change notification settings - Fork 4
/
tox.ini
39 lines (33 loc) · 998 Bytes
/
tox.ini
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
# https://pypi.org/project/tox/
[tox]
envlist = tests
[testenv:tests]
deps =
-rtests/requirements.txt
commands =
pytest -vv tests
[tool.phmdoctest]
# https://pypi.org/project/phmdoctest
# Writes pytest files generated from Markdown to output_directory.
# Invoke pytest separately to run the generated pytest files.
markdown_globs =
# Refer to Python standard library Path.glob(pattern)
project.md
doc/*.md
tests/managenamespace.md # inline comments are ok
tests/one_code_block.md
tests/output_has_blank_lines.md
tests/setup_only.md
tests/twentysix_session_blocks.md
exclude_globs =
# Don't test files matching globs below:
# Reason- needs command line args.
doc/setup.md
doc/setup_doctest.md
# Reason- contains an already generated test file.
doc/*_raw.md
doc/*_py.md
# Reason- need to register markers to avoid PytestUnknownMarkWarning.
doc/mark_example.md
output_directory = .gendir-ini
print = filename, summary