Spaces:
Sleeping
Sleeping
Melika Kheirieh
commited on
Commit
·
d1a6998
1
Parent(s):
9b94364
chore(pre-commit): add types-requests to mypy hook
Browse files- .pre-commit-config.yaml +13 -0
.pre-commit-config.yaml
CHANGED
|
@@ -47,3 +47,16 @@ repos:
|
|
| 47 |
language: system
|
| 48 |
pass_filenames: false
|
| 49 |
stages: [pre-push]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
language: system
|
| 48 |
pass_filenames: false
|
| 49 |
stages: [pre-push]
|
| 50 |
+
|
| 51 |
+
- repo: https://github.com/pre-commit/mirrors-mypy
|
| 52 |
+
rev: v1.18.2
|
| 53 |
+
hooks:
|
| 54 |
+
- id: mypy
|
| 55 |
+
pass_filenames: false
|
| 56 |
+
args:
|
| 57 |
+
- .
|
| 58 |
+
- --ignore-missing-imports
|
| 59 |
+
- --explicit-package-bases
|
| 60 |
+
additional_dependencies:
|
| 61 |
+
- types-requests>=2.32.0.20241016
|
| 62 |
+
stages: [ pre-push ]
|