blob: 4fd141f1c418c282d1196d93757e2fab15206a9c [file] [log] [blame]
Harrison Mutai71437f92024-08-29 10:38:26 +00001[tox]
2envlist = py38, py39, py310, py311, py312, lint
3
4[testenv]
5allowlist_externals = poetry
6commands =
7 poetry install -v --with dev
8 poetry run pytest
9
10[testenv:format]
11description = Run linters and type checks
12skip_install = true
13allowlist_externals = poetry
14commands =
15 poetry run black .
16 poetry run isort .
17
18[testenv:lint]
19description = Run linters and type checks
20skip_install = true
21allowlist_externals = poetry
22commands =
23 poetry run black --check .
24 poetry run isort --check-only .
25 poetry run mypy .
26 poetry run darglint tlc tests