Skip to content

Commit

Permalink
tox
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenham committed Sep 16, 2024
1 parent 4216e4b commit f8d6e37
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ dev-dependencies = [
"pre-commit>=3.8.0",
"pytest>=8.3.3,<9",
"ruff>=0.6.5,<0.7",
"tox>=4.18.1",
]

[tool.basedpyright]
Expand Down Expand Up @@ -132,3 +133,27 @@ max-bool-expr = 20
max-branches = 24
max-locals = 30
max-statements = 100

[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = true
requires = tox>=4
envlist =
pre-commit
py{312,313rc2}
[testenv]
description = pytest
skip_install = true
allowlist_externals = uv
commands_pre = uv sync --frozen --dev
commands = uv run pytest
[testenv:pre-commit]
description = pre-commit
skip_install = true
allowlist_externals = uv
commands_pre = uv sync --frozen --dev
commands = uv run pre-commit run --all-files
"""
52 changes: 52 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f8d6e37

Please sign in to comment.