Skip to content

Commit 2ffb296

Browse files
committed
Use oldest supported Python in mypy pre-commit checks
Follow up to #12744, this ensures type checking works at the oldest Python version supported by pytest.
1 parent c947145 commit 2ffb296

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ repos:
2626
- id: mypy
2727
files: ^(src/|testing/|scripts/)
2828
args: []
29+
language_version: "3.8"
2930
additional_dependencies:
3031
- iniconfig>=1.1.0
3132
- attrs>=19.2.0

0 commit comments

Comments
 (0)