+ PYTHONWARNINGS = error, ignore::FutureWarning:Cython.Compiler.Main, ignore::DeprecationWarning:setuptools.config, ignore::DeprecationWarning:distutils.command.install, ignore::ImportWarning:importlib._bootstrap, ignore::DeprecationWarning:pip._vendor.urllib3.connection, ignore::DeprecationWarning:pip._vendor.urllib3.util.ssl_, ignore:The "license_file" option is deprecated. Use "license_files" instead.:DeprecationWarning:wheel.bdist_wheel, ignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives:DeprecationWarning, ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning
+ VIRTUALENV_CREATOR = venv
+commands = mudpy_selftest mudpy/tests/fixtures/test_daemon.yaml
+
+[testenv:bandit]
+description = check for potential security risks in source code
+deps = bandit
+commands = bandit -r mudpy -x mudpy/tests {posargs}
+usedevelop = False
+
+[testenv:codespell]
+description = find common spelling mistakes in code and documentation
+deps = codespell
+commands = codespell {posargs}
+usedevelop = False
+
+[testenv:demo]
+description = start an interactive demo with the sample config
+commands = mudpy {posargs}
+
+[testenv:dist]
+description = build release artifacts and check for conformance
+allowlist_externals = rm
+deps =
+ build
+ twine
+commands =
+ rm -fr {toxinidir}/dist
+ python -m build
+ twine check --strict {toxinidir}/dist/*
+usedevelop = False
+
+[testenv:docs]
+# Build an sdist into a temporary location so we'll have AUTHORS and ChangeLog
+# files to include. Keep usedevelop on so that the project dependencies will be
+# installed in the venv.
+description = generate hypertext documentation
+allowlist_externals = rm
+deps =
+ build
+ sphinx
+commands =
+ rm -fr {toxinidir}/doc/build
+ python -m build --outdir={toxinidir}/doc/build/dist --sdist
+ sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html