blob: 26a882ebada66ae534bcea4fd18af9b107a485f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
[tox]
minversion = 3.7.0
envlist = lint, py37, py38, py39, py310, flake8
skip_missing_interpreters = true
isolated_build = true
[testenv]
commands = coverage run -m pytest {posargs}
extras = test
[testenv:lint]
depends =
basepython = python3
deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure
skip_install = true
[testenv:mypy]
deps = mypy
commands = mypy {posargs} src tests
skip_install = true
|