forked from tychon/mascado
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
46 lines (40 loc) · 859 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
[tox]
envlist = py36, py39
[gh-actions]
python =
3.6: py36
3.9: py39
[flake8]
exclude = .tox,*.egg,.git,__pycache__,dist
max-complexity = 15
max-line-length = 120
docstring-convention=numpy
[coverage:run]
omit = .tox/*
docs/*
[testenv]
basepython =
py36: python3.6
py39: python3.9
whitelist_externals = make
deps =
#check-manifest
#readme_renderer
mypy
flake8
flake8-docstrings
pytest
pytest-cov
pytest-doctestplus
pylint
sphinx
commands =
# TODO enable real checks by removing preceding "-"
# after Issues have been fixed
#check-manifest --ignore tox.ini,tests*
python setup.py check -m -s
- flake8 mascado tests
mypy --ignore-missing-imports mascado tests
- pylint mascado tests
sphinx-build docs/source docs/build
pytest --cov --doctest-modules