Skip to content

Commit

Permalink
Add mypy to the pre-commit hooks (#27266)
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentClarret authored Jul 3, 2024
1 parent 83f4f18 commit 51437cf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ repos:
hooks:
- id: vulture
args: ["--ignore-decorators", "@task", "--ignore-names", "test_*,Test*", "tasks"]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: e5ea6670624c24f8321f6328ef3176dbba76db46 # 1.10.0
hooks:
- id: mypy
# Keep in sync with the build image, there's no good way to centralize this.
additional_dependencies:
- types-pyyaml==6.0.12.20240311
- types-requests==2.30.0
- types-tabulate==0.9.0.20240106
- types-toml==0.10.8.20240310
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 7cc5848088fd8412905ab79feea6c8edc3ac76c6 # 2.1.5
hooks:
Expand Down

0 comments on commit 51437cf

Please sign in to comment.