forked from stevearc/pypicloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
50 lines (46 loc) · 1.01 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
38
39
40
41
42
43
44
45
46
47
48
49
50
[tox]
envlist = py37, py38, py39, lint
[testenv]
deps = -rrequirements_test.txt
passenv =
REDIS_HOST
REDIS_PORT
POSTGRES_USER
POSTGRES_PASSWORD
POSTGRES_HOST
POSTGRES_PORT
POSTGRES_DB
MYSQL_USER
MYSQL_PASSWORD
MYSQL_HOST
MYSQL_PORT
MYSQL_DB
LDAP_HOST
setenv =
BOTO_CONFIG = /nowhere
extras = all_plugins
commands =
coverage run --source=pypicloud --branch setup.py nosetests --no-skip
[testenv:lint]
ignore_errors = true
commands =
{envpython} setup.py check --restructuredtext -s
black --config /dev/null --check pypicloud tests setup.py scripts
isort -c pypicloud tests setup.py
mypy pypicloud
pylint --rcfile=.pylintrc pypicloud tests
[testenv:format]
commands =
isort --atomic pypicloud tests setup.py scripts
black --config /dev/null pypicloud tests setup.py scripts
[testenv:coveralls]
deps =
wheel
coveralls
passenv =
GITHUB_ACTIONS
GITHUB_TOKEN
GITHUB_REF
GITHUB_HEAD_REF
commands =
coveralls --service=github