summaryrefslogtreecommitdiff
path: root/tox.ini
blob: acd43ce62a57d97e1a2f0050126a686998f008ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[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/