bunyan-formatter/tox.ini

29 lines
538 B
INI

[tox]
envlist = py39, py310, py311, py312, format, lint, type, test
skipsdist = True
[testenv]
deps =
hatchling
-rrequirements-dev.txt
[testenv:format]
description = Run ruff to format the code
skip_install = true
deps = ruff
commands = ruff format
[testenv:lint]
description = Run ruff to lint the code
skip_install = true
deps = ruff
commands = ruff check --fix
[testenv:type]
description = Run mypy to check type annotations
commands = mypy .
[testenv:test]
description = Run pytest to execute the tests
commands = pytest