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 44
44
run : |
45
45
python -m ruff format --check .
46
46
47
+ - name : Type Check
48
+ run : |
49
+ python -m mypy testtools
50
+
47
51
- name : Tests
48
52
run : |
49
53
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"
34
34
[project .optional-dependencies ]
35
35
test = [" testscenarios" , " testresources" ]
36
36
twisted = [" Twisted" , " fixtures" ]
37
- dev = [" ruff==0.12.3" ]
37
+ dev = [" ruff==0.12.3" , " mypy>=1.0.0 " ]
38
38
39
39
[tool .hatch .version ]
40
40
source = " vcs"
Original file line number Diff line number Diff line change 10
10
11
11
if TYPE_CHECKING :
12
12
from types import ModuleType
13
+
13
14
defer : Optional [ModuleType ]
14
15
else :
15
16
try :
You can’t perform that action at this time.
0 commit comments