Skip to content

Commit 54a01e3

Browse files
committed
precommit config
1 parent 1cb7202 commit 54a01e3

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.pre-commit-config.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,17 @@ repos:
3030
rev: v1.1.1
3131
hooks:
3232
- id: mypy
33-
args: ["--config-file", "pyproject.toml"]
33+
files: ^lib/matplotlib
34+
args: [
35+
"--config-file=pyproject.toml",
36+
"--explicit-package-bases"]
37+
additional_dependencies: [
38+
"pandas-stubs",
39+
"types-pillow",
40+
"types-python-dateutil",
41+
"types-psutil",
42+
"types-docutils",
43+
"types-PyYAML"]
3444
- repo: https://github.com/pycqa/flake8
3545
rev: 6.0.0
3646
hooks:

0 commit comments

Comments
 (0)