Skip to content

Commit 994e538

Browse files
authored
MPT-12322 fix mypy pre-commit hook to honor pyproject.toml settings (#2)
2 parents ef0a084 + 6fd7dd6 commit 994e538

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ repos:
2626
rev: v1.17.0
2727
hooks:
2828
- id: mypy
29+
args: ["--config-file=pyproject.toml", "."]
30+
pass_filenames: false
2931

3032
- repo: https://github.com/pycqa/flake8
3133
rev: 7.3.0

0 commit comments

Comments
 (0)