-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathtox.ini
More file actions
31 lines (23 loc) · 713 Bytes
/
tox.ini
File metadata and controls
31 lines (23 loc) · 713 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
30
31
# Tox (https://tox.wiki/) is a tool for running commands
# in isolated Python virtual environments.
# This configuration file defines how the complete test suite runs.
# To use it, "pip install tox" and then run "tox" from this directory.
[tox]
envlist =
py27,py36
docs
[testenv]
commands = py.test \
[] # substitute with tox positional arguments
deps =
-rrequirements-dev.txt
[testenv:docs]
# If you update the Python version here,
# update `build.tools.python.version` in `.readthedocs.yaml` as well.
base_python = py3.11
deps =
-rdoc/requirements.txt
commands =
sphinx-build -j auto -aEWb html --keep-going doc/source build/html/
[flake8]
extend-ignore = E501, E731