File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
testtools/tests/twistedsupport Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Homepage = "https://github.com/testing-cabal/testtools"
3434[project .optional-dependencies ]
3535test = [" testscenarios" , " testresources" ]
3636twisted = [" Twisted" , " fixtures" ]
37- dev = [" ruff==0.12.3" ]
37+ dev = [" ruff==0.12.3" , " mypy>=1.0.0 " ]
3838
3939[tool .hatch .version ]
4040source = " vcs"
Original file line number Diff line number Diff line change 1010
1111if TYPE_CHECKING :
1212 from types import ModuleType
13+
1314 defer : Optional [ModuleType ]
1415else :
1516 try :
You can’t perform that action at this time.
0 commit comments