-
Notifications
You must be signed in to change notification settings - Fork 4
/
tox.ini
58 lines (45 loc) · 835 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[tox]
isolated_build = True
envlist =
lint
mypy
docs
py{35,36,37,38}
[testenv]
deps =
pytest
pytest-cov
pytest-mock
coverage
commands =
pytest tests/
[testenv:lint]
deps =
flake8
isort[pyproject]
commands =
flake8 ./
isort --check-only
[testenv:mypy]
deps =
mypy
commands =
mypy paddle/
[testenv:docs]
changedir = docs
whitelist_externals = make
commands = make html
deps =
sphinx
sphinx-rtd-theme
sphinx-autodoc-typehints
[pytest]
markers =
mocked: Tests which do not hit the Paddle API
manual_cleanup: Tests which require manual cleanup in Paddle (deselect with '-m "not manual_cleanup"')
norecursedirs = .git,paddle.egg_info, .mypy_cache
python_files = tests.py test_*.py *_tests.py
addopts =
-v
--cov=paddle
--cov-report html