1 # Copyright (c) 2016-2020 mudpy authors. Permission to use, copy,
2 # modify, and distribute this software is granted under terms
3 # provided in the LICENSE file distributed with this software.
7 envlist = bandit, dist, docs, flake8, yamllint, selftest_config, py3
9 ignore_basepython_conflict = True
14 install_command = pip install {opts} {packages}
16 PYTHONWARNINGS=default::DeprecationWarning
17 commands = mudpy_selftest mudpy/tests/fixtures/test_daemon.yaml
21 commands = bandit -r mudpy -x mudpy/tests {posargs}
25 commands = mudpy {posargs}
28 whitelist_externals = rm
35 python setup.py bdist_wheel sdist
40 whitelist_externals = rm
42 -r{toxinidir}/requirements.txt
43 -r{toxinidir}/doc/requirements.txt
46 sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html
53 commands = flake8 {posargs}
56 [testenv:selftest_config]
57 commands = mudpy_selftest etc/mudpy.yaml
61 commands = yamllint --strict {posargs} .
66 exclude=.git,.tox,*lib/python*,*egg,build