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.
7 envlist = dist, docs, flake8, yamllint, selftest_config, py3
13 install_command = pip install {opts} {packages}
15 PYTHONWARNINGS=default::DeprecationWarning
16 deps = -r{toxinidir}/test-requirements.txt
17 commands = mudpy_selftest mudpy/tests/fixtures/test_daemon.yaml
20 whitelist_externals = rm
26 python setup.py check --restructuredtext --strict
27 python setup.py bdist_wheel sdist
30 whitelist_externals = rm
31 deps = -r{toxinidir}/doc/requirements.txt
34 sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html
37 commands = flake8 {posargs}
39 [testenv:selftest_config]
40 commands = mudpy_selftest etc/mudpy.yaml
43 commands = yamllint {posargs} .
50 exclude=.venv,.git,.tox,*lib/python*,*egg,build