-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathtox.ini
58 lines (51 loc) · 1.08 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
51
52
53
54
55
56
57
58
[tox]
envlist = py36, py37, py38, py39, lint
[testenv]
deps = -rrequirements_test.txt
commands =
{envpython} setup.py nosetests --verbosity=2
[testenv:py38]
deps =
{[testenv]deps}
coverage
commands =
coverage run --source=dynamo3 --branch setup.py nosetests
[testenv:lint]
basepython = python3
ignore_errors = true
commands =
{envpython} setup.py check -m -s
black --check dynamo3 tests setup.py
isort -c dynamo3 tests setup.py
mypy dynamo3 tests
pylint --rcfile=.pylintrc dynamo3 tests
[testenv:coverage]
deps =
{[testenv]deps}
coverage
commands =
coverage run --source=dynamo3 --branch setup.py nosetests
coverage html
[testenv:format]
basepython = python3
commands =
isort --atomic godot_parser tests setup.py test_parse_files.py
black dynamo3 tests setup.py
[testenv:coveralls]
deps =
wheel
coveralls
passenv =
GITHUB_ACTIONS
GITHUB_TOKEN
GITHUB_REF
GITHUB_HEAD_REF
commands =
ls -lh .coverage
coveralls --service=github
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39, lint