X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=blobdiff_plain;f=tox.ini;h=7cbc5e41a0c887c392699e902579aeddacf835ec;hp=c2acaf5f909d1fa41e7adc8c5ab8eb2aa0ebb693;hb=3f200ce7ae627a036203c4d65502d96fe941fbb7;hpb=5a014f5b9038812c9695faff015ce2e809c8d9cc diff --git a/tox.ini b/tox.ini index c2acaf5..7cbc5e4 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,6 @@ ignore_basepython_conflict = True description = run the functional selftest with optimized configuration basepython = python3 usedevelop = True -install_command = pip install {opts} {packages} # TODO(fungi) Switch this to "error" once # https://github.com/pypa/setuptools/issues/2086 and # https://github.com/pypa/setuptools/issues/2466 are fixed in a new release of @@ -21,7 +20,7 @@ install_command = pip install {opts} {packages} # calling imp instead of importlib so probably not while we still support 3.6 setenv = PYTHONWARNINGS=default::DeprecationWarning - VIRTUALENV_CREATOR=venv + VIRTUALENV_CREATOR = venv commands = mudpy_selftest mudpy/tests/fixtures/test_daemon.yaml [testenv:bandit] @@ -50,7 +49,7 @@ deps = commands = rm -fr dist python setup.py bdist_wheel sdist - twine check dist/* + twine check --strict dist/* usedevelop = False [testenv:docs] @@ -80,9 +79,10 @@ commands = mudpy_selftest etc/mudpy.yaml [testenv:yamllint] description = test data files for correct syntax and formatting deps = yamllint -commands = yamllint --strict {posargs} . -usedevelop = False +commands = + mudpy_selftest mudpy/tests/fixtures/test_daemon.yaml + yamllint --strict {posargs} . [flake8] show-source = True -exclude=.git,.tox,*lib/python*,*egg,build +exclude = .git, .tox, *lib/python*, *egg, build