Skip to content

Commit aeecab9

Browse files
committed
Run mypy in GitHub CI
1 parent 4b267e4 commit aeecab9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ jobs:
4444
run: |
4545
python -m ruff format --check .
4646
47+
- name: Type Check
48+
run: |
49+
python -m mypy testtools
50+
4751
- name: Tests
4852
run: |
4953
python -W once -m testtools.run testtools.tests.test_suite

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ Homepage = "https://github.com/testing-cabal/testtools"
3535
[project.optional-dependencies]
3636
test = ["testscenarios", "testresources"]
3737
twisted = ["Twisted", "fixtures"]
38-
dev = ["ruff==0.14.4"]
38+
dev = [
39+
"ruff==0.14.4",
40+
"mypy>=1.0.0",
41+
]
3942

4043
[tool.hatch.version]
4144
source = "vcs"

0 commit comments

Comments
 (0)