[tox]
skip_missing_interpreters=true
envlist =
    py{39,310,311,312,313,314,py3},mypy-check
isolated_build = True
[testenv]
deps=
    pytest
    matplotlib; implementation_name != 'pypy' and python_version <'3.14'
extras=diagrams
commands=
    pytest tests {posargs}
allowlist_externals =
    pytest
    python
[testenv:mypy-check]
deps = mypy
commands = mypy --show-error-codes --warn-unused-ignores pyparsing