Skip to content

Commit

Permalink
Switch to local repo for mypy in pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
gbanasiak committed Jul 8, 2024
1 parent d21ad4b commit 2058474
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,14 @@ repos:
hooks:
- id: isort

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.6.1
- repo: local
hooks:
- id: mypy
additional_dependencies: [
"elasticsearch[async]==8.6.1",
"elastic-transport==8.4.1",
"types-tabulate==0.8.9",
]
name: mypy
entry: mypy
language: system
types: [python]
args: [
"--ignore-missing-imports",
"--config",
"pyproject.toml"
]
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ develop = [
"trustme==0.9.0",
"GitPython==3.1.30",
# mypy
"mypy==1.10.1",
"types-psutil==5.9.4",
"types-tabulate==0.8.9",
]
Expand Down

0 comments on commit 2058474

Please sign in to comment.