Skip to content

Commit 2242cd4

Browse files
[pre-commit] Use --python-version for mypy instead of forcing a python interpreter (#12869)
1 parent 26a29bd commit 2242cd4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: .pre-commit-config.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ repos:
3232
hooks:
3333
- id: mypy
3434
files: ^(src/|testing/|scripts/)
35-
args: []
36-
language_version: "3.8"
35+
args: ["--python-version=3.8"]
3736
additional_dependencies:
3837
- iniconfig>=1.1.0
3938
- attrs>=19.2.0

0 commit comments

Comments
 (0)