Skip to content

Commit e2569ac

Browse files
committed
🧪 Run MyPy against Python 3.14
1 parent 2bd847c commit e2569ac

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.pre-commit-config.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,21 @@ repos:
208208
- repo: https://github.com/pre-commit/mirrors-mypy.git
209209
rev: v1.18.2
210210
hooks:
211+
- id: mypy
212+
alias: mypy-py314
213+
name: MyPy, for Python 3.14
214+
additional_dependencies:
215+
- lxml # dep of `--txt-report`, `--cobertura-xml-report` & `--html-report`
216+
args:
217+
- --python-version=3.14
218+
- --any-exprs-report=.tox/.tmp/.test-results/mypy--py-3.14
219+
- --cobertura-xml-report=.tox/.tmp/.test-results/mypy--py-3.14
220+
- --html-report=.tox/.tmp/.test-results/mypy--py-3.14
221+
- --linecount-report=.tox/.tmp/.test-results/mypy--py-3.14
222+
- --linecoverage-report=.tox/.tmp/.test-results/mypy--py-3.14
223+
- --lineprecision-report=.tox/.tmp/.test-results/mypy--py-3.14
224+
- --txt-report=.tox/.tmp/.test-results/mypy--py-3.14
225+
pass_filenames: false
211226
- id: mypy
212227
alias: mypy-py312
213228
name: MyPy, for Python 3.12

0 commit comments

Comments
 (0)