move tox.ini into pyproject.toml

This commit is contained in:
holger krekel
2023-10-13 09:36:27 +02:00
parent 5f5cc99567
commit 15d650dc83
3 changed files with 23 additions and 13 deletions

View File

@@ -8,3 +8,20 @@ version = "0.1"
dependencies = [
"pyinfra",
]
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = true
envlist = lint
[testenv:lint]
skipdist = True
skip_install = True
deps =
ruff
black
commands =
black --quiet --check --diff src/
ruff src/
"""