Skip to content

Commit b5cdc34

Browse files
committed
Run mypy from local installation instead of from the remote repo
1 parent e838b96 commit b5cdc34

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,14 @@ repos:
1515
- id: no-commit-to-branch
1616
args: [ --branch, main ]
1717
- id: trailing-whitespace
18-
- repo: https://github.com/pre-commit/mirrors-mypy
19-
rev: v1.10.0
18+
- repo: local
2019
hooks:
21-
- id: mypy
22-
args: ["--strict"]
23-
additional_dependencies:
24-
- customtkinter==5.2.1
25-
- moviepy==1.0.3
26-
- openai==1.36.0
27-
- pyaudio==0.2.13
28-
- pydub==0.25.1
29-
- python-dotenv==1.0.1
30-
- pytubefix==6.5.2
31-
- SpeechRecognition==3.9.0
32-
- torch==2.2.1
33-
- torchaudio==2.2.1
34-
- torchvision==0.17.1
35-
- whisperx==3.1.5
20+
- id: mypy-local
21+
name: Run mypy with all dev dependencies present
22+
language: system
23+
types:
24+
- python
25+
entry: mypy --strict
3626
- repo: https://github.com/astral-sh/ruff-pre-commit
3727
rev: v0.5.5
3828
hooks:

0 commit comments

Comments
 (0)