forked from stevearc/pypicloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (43 loc) · 1014 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
[tox]
envlist = py35, py36, py37, py38, lint
[testenv]
deps =
# Mandatory until botocore removes this requirement
python-dateutil<2.8.1
setenv =
BOTO_CONFIG = /nowhere
extras =
test
commands =
{envpython} setup.py nosetests --verbosity=2
[testenv:py36]
deps =
{[testenv]deps}
coverage
commands =
coverage run --source=pypicloud --branch setup.py nosetests --verbosity=2
[testenv:lint]
extras =
{[testenv]extras}
lint
ignore_errors = true
commands =
{envpython} setup.py check --restructuredtext -s
black --check pypicloud tests setup.py scripts
isort -c -rc pypicloud tests setup.py
mypy pypicloud
pylint --rcfile=.pylintrc pypicloud tests
[testenv:coverage]
deps =
{[testenv]deps}
coverage
commands =
coverage run --source=pypicloud --branch setup.py nosetests
coverage html
[testenv:format]
extras =
{[testenv]extras}
lint
commands =
isort -y -ac -rc pypicloud tests setup.py scripts
black pypicloud tests setup.py scripts