forked from globus/globus-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
29 lines (25 loc) · 647 Bytes
/
tox.ini
File metadata and controls
29 lines (25 loc) · 647 Bytes
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
[tox]
envlist = py{39,38,37,36,27}
skip_missing_interpreters = true
[testenv]
usedevelop = true
extras = development
commands = pytest -v --cov=globus_cli
[testenv:lint]
deps = pre-commit~=2.9.2
skip_install = true
commands = pre-commit run --all-files
[testenv:reference]
whitelist_externals = find
commands_pre = find reference/ -name "*.adoc" -type f -delete
commands = python ./reference/_generate.py
[testenv:publish-release]
skip_install = true
deps = twine
wheel
# clean the build dir before rebuilding
whitelist_externals = rm
commands_pre = rm -rf dist/
commands =
python setup.py sdist bdist_wheel
twine upload dist/*