Skip to content

Commit 41e7691

Browse files
committed
add type checking to tox.ini
1 parent eb22424 commit 41e7691

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

tox.ini

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ envlist =
77
py310-min
88
style
99
spellcheck
10+
type
1011
skip_missing_interpreters = true
1112

1213
# Configuration that allows us to split tests across GitHub runners effectively
@@ -15,7 +16,7 @@ python =
1516
3.10: py310
1617
3.11: py311
1718
3.12: py312
18-
3.13: py313
19+
3.13: py313, type
1920
3.14: py314
2021

2122
[gh-actions:env]
@@ -87,3 +88,12 @@ runner = uv-venv-runner
8788
commands =
8889
fix: codespell -w {posargs}
8990
!fix: codespell {posargs}
91+
92+
[testenv:type]
93+
description = Check type consistency
94+
labels = check
95+
dependency_groups =
96+
types
97+
skip_install = true
98+
commands =
99+
mypy --strict src tests

0 commit comments

Comments
 (0)