Skip to content

Commit

Permalink
add tox.ini file
Browse files Browse the repository at this point in the history
  • Loading branch information
najuzilu committed Sep 2, 2020
1 parent 2d6d749 commit 907ab11
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ __pycache__
.DS_Store
.vscode/
build/
dist/
dist/
.tox/
29 changes: 29 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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`

[tox]
envlist = py{36,37,38}
skip_missing_interpreters = true

[testenv]
recreate = false

[testenv:py{36,37,38}]
extras = testing
deps =
sphinx2: sphinx>=2,<3
sphinx3: sphinx>=3,<4
commands = pytest {posargs}

[testenv:docs-{update,clean}]
extras = rtd
whitelist_externals = rm
commands =
clean: rm -rf docs/build
sphinx-build {posargs} -b html docs/source docs/build/html

0 comments on commit 907ab11

Please sign in to comment.