forked from rolfberkenbosch/meteoalert-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
44 lines (34 loc) · 952 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
[tox]
envlist = {py27,py36,py37,py38,py39}-install,pep8
[testenv]
deps =
pytest
flake8
commands =
pytest tests {posargs}
[testenv:pep8]
commands =
flake8 {posargs} meteoalertapi/ tests/
[testenv:install]
skip_install = True
commands =
python setup.py bdist_wheel
pip install --no-index --find-links=dist meteoalertapi
[testenv:py27-install]
skip_install = {[testenv:install]skip_install}
commands = {[testenv:install]commands}
[testenv:py36-install]
skip_install = {[testenv:install]skip_install}
commands = {[testenv:install]commands}
[testenv:py37-install]
skip_install = {[testenv:install]skip_install}
commands = {[testenv:install]commands}
[testenv:py38-install]
skip_install = {[testenv:install]skip_install}
commands = {[testenv:install]commands}
[testenv:py39-install]
skip_install = {[testenv:install]skip_install}
commands = {[testenv:install]commands}
[mypy]
[flake8]
exclude = .git,.venv,.tox,dist,doc,*egg,build,