Update copyright year in LICENSE
[mudpy.git] / tox.ini
1 # Copyright (c) 2016-2018 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:docs]
21 deps =
22     -r{toxinidir}/requirements.txt
23     -r{toxinidir}/doc/requirements.txt
24 commands =
25     sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html
26
27 [testenv:flake8]
28 commands = flake8 {posargs}
29
30 [testenv:yamllint]
31 commands = yamllint {posargs} .
32
33 [testenv:venv]
34 commands = {posargs}
35
36 [flake8]
37 show-source = True
38 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build