Skip to content

Commit a8f1548

Browse files
committed
move typecheck out of checks
1 parent 1ce2b4f commit a8f1548

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
strategy:
2828
matrix:
29-
check: ['style', 'spellcheck', 'type']
29+
check: ['style', 'spellcheck']
3030

3131
steps:
3232
- uses: actions/checkout@v5

tox.ini

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ envlist =
77
py310-min
88
style
99
spellcheck
10-
type
10+
mypy
1111
skip_missing_interpreters = true
1212

1313
# Configuration that allows us to split tests across GitHub runners effectively
@@ -16,7 +16,7 @@ python =
1616
3.10: py310
1717
3.11: py311
1818
3.12: py312
19-
3.13: py313
19+
3.13: py313, mypy
2020
3.14: py314
2121

2222
[gh-actions:env]
@@ -28,7 +28,6 @@ DEPENDS =
2828
CHECK =
2929
style: style
3030
spellcheck: spellcheck
31-
type: type
3231

3332
[testenv]
3433
description = Pytest with coverage
@@ -90,12 +89,12 @@ commands =
9089
fix: codespell -w {posargs}
9190
!fix: codespell {posargs}
9291

93-
[testenv:type]
92+
[testenv:mypy]
9493
description = Check type consistency
94+
basepython = python3.13
9595
labels = check
9696
dependency_groups =
9797
types
9898
skip_install = true
99-
runner = uv-venv-runner
10099
commands =
101100
mypy --strict src tests

0 commit comments

Comments
 (0)