Skip to content

Commit

Permalink
Add tox config
Browse files Browse the repository at this point in the history
  • Loading branch information
hukkin committed Oct 3, 2024
1 parent 43aee43 commit d64de6e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,13 @@ no_implicit_optional = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false


[tool.tox]
requires = ["tox>=4.21.1"]
env_list = ["3.9", "3.10", "3.11", "3.12", "3.13"]

[tool.tox.env_run_base]
description = "Run tests under {base_python}"
deps = ["-r tests/requirements.txt"]
commands = [["pytest", { replace = "posargs", extend = true }]]

0 comments on commit d64de6e

Please sign in to comment.