diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -38,11 +38,19 @@ commands = env TEST_OSPROFILER=1 stestr run --combine --no-discover 'nova.tests.unit.test_profiler' stestr slowest +[testenv:mypy] +description = + Run type checks. +envdir = {toxworkdir}/shared +commands = + bash tools/mypywrap.sh {posargs} + [testenv:pep8] description = Run style checks. envdir = {toxworkdir}/shared commands = + {[testenv:mypy]commands} bash tools/flake8wrap.sh {posargs} # Check that all JSON files don't have \r\n in line. bash -c "! find doc/ -type f -name *.json | xargs grep -U -n $'\r'" |