Skip to content

Commit 91e75da

Browse files
Delete tox.ini (#95)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 496281e commit 91e75da

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

pyproject.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,19 @@ capitalisation_policy = 'upper'
4646
[tool.sqlfluff.rules.convention.terminator]
4747
multiline_newline = true
4848
require_final_semicolon = true
49+
50+
[tool.tox]
51+
envlist = ["py", "pypy3", "pre-commit"]
52+
53+
[tool.tox.env.pre-commit]
54+
commands = [["pre-commit", "run", "--all-files", "--show-diff-on-failure"]]
55+
deps = "pre-commit-uv"
56+
skip_install = true
57+
58+
[tool.tox.env_run_base]
59+
commands = [
60+
["coverage", "erase"],
61+
["coverage", "run", "-m", "pytest", "{posargs:tests}"],
62+
["coverage", "report"],
63+
]
64+
deps = "-rrequirements-dev.txt"

tox.ini

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)