Spaces:
Sleeping
Sleeping
Melika Kheirieh
commited on
Commit
·
b9c72a7
1
Parent(s):
d1a6998
chore(pre-commit): dedupe mypy and add types-requests; split commit vs push hooks
Browse files- .pre-commit-config.yaml +2 -13
.pre-commit-config.yaml
CHANGED
|
@@ -34,6 +34,8 @@ repos:
|
|
| 34 |
- .
|
| 35 |
- --ignore-missing-imports
|
| 36 |
- --explicit-package-bases
|
|
|
|
|
|
|
| 37 |
stages: [pre-push]
|
| 38 |
|
| 39 |
# --- Pytest: run test suite — push only (no edits) ---
|
|
@@ -47,16 +49,3 @@ repos:
|
|
| 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 ]
|
|
|
|
| 34 |
- .
|
| 35 |
- --ignore-missing-imports
|
| 36 |
- --explicit-package-bases
|
| 37 |
+
additional_dependencies:
|
| 38 |
+
- types-requests>=2.32.0.20241016
|
| 39 |
stages: [pre-push]
|
| 40 |
|
| 41 |
# --- Pytest: run test suite — push only (no edits) ---
|
|
|
|
| 49 |
language: system
|
| 50 |
pass_filenames: false
|
| 51 |
stages: [pre-push]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|