Skip to content

Commit 676edc4

Browse files
committed
🧪 Add a MyPy check against Python 3.10
This is an intermediate version between 3.8 and 3.12 which should give a good overall idea of how well the project is type-covered across the supported version range even with 3.9 and 3.11 being excluded.
1 parent 705c15b commit 676edc4

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,21 @@ repos:
137137
- --txt-report=.tox/.tmp/.mypy/python-3.8
138138
- cheroot/
139139
pass_filenames: false
140+
- id: mypy
141+
alias: mypy-py310
142+
name: MyPy, for Python 3.10
143+
additional_dependencies:
144+
- lxml
145+
- types-backports
146+
- types-pyOpenSSL
147+
- types-requests
148+
args:
149+
- --install-types
150+
- --non-interactive
151+
- --python-version=3.10
152+
- --txt-report=.tox/.tmp/.mypy/python-3.10
153+
- cheroot/
154+
pass_filenames: false
140155
- id: mypy
141156
alias: mypy-py312
142157
name: MyPy, for Python 3.12

0 commit comments

Comments
 (0)