Skip to content

Commit

Permalink
[pre-commit] Use --python-version for mypy instead of forcing a pytho…
Browse files Browse the repository at this point in the history
…n interpreter (#12869) (#12871)

(cherry picked from commit 2242cd4)

Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
  • Loading branch information
patchback[bot] and Pierre-Sassoulas authored Oct 10, 2024
1 parent 09da0de commit d450afe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ repos:
hooks:
- id: mypy
files: ^(src/|testing/|scripts/)
args: []
language_version: "3.8"
args: ["--python-version=3.8"]
additional_dependencies:
- iniconfig>=1.1.0
- attrs>=19.2.0
Expand Down

0 comments on commit d450afe

Please sign in to comment.