Skip to content

Commit d39888d

Browse files
Read pyproject.toml from pre-commit-config.yaml
1 parent c6774a7 commit d39888d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,8 @@ repos:
3434
hooks:
3535
- id: mypy
3636
args: [
37-
--strict,
38-
--ignore-missing-imports,
39-
--disable-error-code=misc,
40-
--disable-error-code=no-any-return,
37+
--config-file,
38+
pyproject.toml,
4139
]
4240
additional_dependencies: [
4341
types-requests<2.33,

0 commit comments

Comments
 (0)