Add Sphinx configuration
[mudpy.git] / tox.ini
1 # Copyright (c) 2016-2017 Jeremy Stanley <fungi@yuggoth.org>. Permission
2 # to use, copy, modify, and distribute this software is granted under
3 # terms provided in the LICENSE file distributed with this software.
4
5 [tox]
6 minversion = 2.0
7 envlist = flake8, yamllint
8 skipsdist = True
9
10 [testenv]
11 basepython = python3
12 usedevelop = True
13 install_command = pip install {opts} {packages}
14 setenv =
15    VIRTUAL_ENV={envdir}
16    PYTHONWARNINGS=default::DeprecationWarning
17 deps = -r{toxinidir}/test-requirements.txt
18 commands = python setup.py test --slowest --testr-args='{posargs}'
19
20 [testenv:flake8]
21 commands = flake8 {posargs}
22
23 [testenv:yamllint]
24 commands = yamllint {posargs} .
25
26 [testenv:venv]
27 commands = {posargs}
28
29 [flake8]
30 show-source = True
31 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build