[tox] skip_missing_interpreters=true envlist = py{36,37,38,39,310,311,312,py3},mypy-test isolated_build = True [testenv] deps=pytest extras=diagrams commands= pytest tests [testenv:mypy-test] deps = mypy==0.960 # note: cd to tests/ to avoid mypy trying to check pyparsing (which fails) changedir = tests commands = mypy --show-error-codes --warn-unused-ignores mypy-ignore-cases/