-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtox.ini
37 lines (34 loc) · 1.06 KB
/
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
# Tox configuration file
# Read more under https://tox.readthedocs.org/
# THIS SCRIPT IS SUPPOSED TO BE AN EXAMPLE. MODIFY IT ACCORDING TO YOUR NEEDS!
[tox]
minversion = 3.4
envlist = py34,py37,lint
skip_missing_interpreters = True
[testenv]
# uncomment to omit testing package builds & installs for faster runs
# usedevelop = True
extras =
testing
docs
# deps =
# DEPRECATION WARNING:
# The automatic creation of a `requirements.txt` file is deprecated.
# See `Dependency Management` in the docs for other options.
# -r{toxinidir}/requirements.txt
commands =
py.test --cov {envsitepackagesdir}/winternitz --cov-report term-missing
python setup.py docs
[testenv:lint]
extras = lint
changedir = {toxinidir}
#deps =
# DEPRECATION WARNING:
# The automatic creation of a `requirements.txt` file is deprecated.
# See `Dependency Management` in the docs for other options.
# -r{toxinidir}/requirements.txt
#flake8
#isort
commands =
flake8 setup.py winternitz tests
isort --recursive --skip .eggs --skip .tox --check-only --diff