Skip to content

Commit f373974

Browse files
authored
Merge pull request #12872 from Pierre-Sassoulas/fix-pre-commit-python-3.8
2 parents 2242cd4 + cfd2e20 commit f373974

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.pre-commit-config.yaml

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

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,7 @@ files = [
481481
mypy_path = [
482482
"src",
483483
]
484+
python_version = "3.8"
484485
check_untyped_defs = true
485486
disallow_any_generics = true
486487
disallow_untyped_defs = true

0 commit comments

Comments
 (0)