-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtox.ini
More file actions
28 lines (21 loc) · 834 Bytes
/
tox.ini
File metadata and controls
28 lines (21 loc) · 834 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
# To use tox, see https://tox.readthedocs.io
# Simply pip or conda install tox
# If you use conda, you may also want to install tox-conda
# then run `tox` or `tox -- {pytest args}`
# To run in parallel using `tox -p` (this does not appear to work for this repo)
# To rebuild the tox environment, for example when dependencies change, use
# `tox -r`
# Note: if the following error is encountered: `ImportError while loading conftest`
# then then deleting compiled files has been found to fix it: `find . -name \*.pyc -delete`
[tox]
envlist = py37
[testenv]
usedevelop=true
[testenv:py{36,37,38}]
extras = testing
commands = pytest {posargs}
[testenv:py{36,37,38}-cli]
commands = web-compile {posargs}
[testenv:try-repo]
deps = pre-commit
commands = pre-commit try-repo . web-compile --verbose --all-files --show-diff-on-failure