Skip to content

Commit d450afe

Browse files
[pre-commit] Use --python-version for mypy instead of forcing a python interpreter (#12869) (#12871)
(cherry picked from commit 2242cd4) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
1 parent 09da0de commit d450afe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 2 deletions
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)