Spaces:
Sleeping
Sleeping
Commit
·
7b07d73
1
Parent(s):
0d2e381
Should be fine
Browse files- .github/workflows/space.yml +0 -4
- .pre-commit-config.yaml +3 -17
.github/workflows/space.yml
CHANGED
|
@@ -1,9 +1,5 @@
|
|
| 1 |
name: Sync to Hugging Face Space
|
| 2 |
-
<<<<<<< HEAD
|
| 3 |
-
# This workflow syncs the repository to a Hugging Face Space on push to main branch or manually via workflow dispatch
|
| 4 |
-
=======
|
| 5 |
# This workflow syncs the repository to a Hugging Face Space on push to main branch or manually via workflow dispatch.
|
| 6 |
-
>>>>>>> 55f1c13714599b83bc6c717c3c5a563d83b59340
|
| 7 |
on:
|
| 8 |
push:
|
| 9 |
branches: [main]
|
|
|
|
| 1 |
name: Sync to Hugging Face Space
|
|
|
|
|
|
|
|
|
|
| 2 |
# This workflow syncs the repository to a Hugging Face Space on push to main branch or manually via workflow dispatch.
|
|
|
|
| 3 |
on:
|
| 4 |
push:
|
| 5 |
branches: [main]
|
.pre-commit-config.yaml
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
repos:
|
| 2 |
- repo: https://github.com/psf/black
|
| 3 |
rev: 24.3.0
|
| 4 |
-
<<<<<<< HEAD
|
| 5 |
hooks: [ {id: black, language_version: python3} ]
|
| 6 |
|
| 7 |
- repo: https://github.com/PyCQA/isort
|
|
@@ -12,23 +11,10 @@ repos:
|
|
| 12 |
rev: 7.0.0
|
| 13 |
hooks: [ {id: flake8} ]
|
| 14 |
|
|
|
|
| 15 |
- repo: https://github.com/pre-commit/mirrors-prettier
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
hooks:
|
| 19 |
-
- id: black
|
| 20 |
-
language_version: python3
|
| 21 |
-
- repo: https://github.com/PyCQA/isort
|
| 22 |
-
rev: 5.13.0
|
| 23 |
-
hooks:
|
| 24 |
-
- id: isort
|
| 25 |
-
- repo: https://github.com/PyCQA/flake8
|
| 26 |
-
rev: 7.0.0
|
| 27 |
-
hooks:
|
| 28 |
-
- id: flake8
|
| 29 |
-
- repo: https://github.com/pre-commit/mirrors-prettier
|
| 30 |
-
rev: v3.2.5
|
| 31 |
-
>>>>>>> 55f1c13714599b83bc6c717c3c5a563d83b59340
|
| 32 |
hooks:
|
| 33 |
- id: prettier
|
| 34 |
additional_dependencies: [prettier-plugin-json-sort]
|
|
|
|
| 1 |
repos:
|
| 2 |
- repo: https://github.com/psf/black
|
| 3 |
rev: 24.3.0
|
|
|
|
| 4 |
hooks: [ {id: black, language_version: python3} ]
|
| 5 |
|
| 6 |
- repo: https://github.com/PyCQA/isort
|
|
|
|
| 11 |
rev: 7.0.0
|
| 12 |
hooks: [ {id: flake8} ]
|
| 13 |
|
| 14 |
+
# ---- fix starts here ----
|
| 15 |
- repo: https://github.com/pre-commit/mirrors-prettier
|
| 16 |
+
# use latest mirrored tag that exists (or a commit hash)
|
| 17 |
+
rev: v3.2.4 # ✅ tag present in the mirror
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
hooks:
|
| 19 |
- id: prettier
|
| 20 |
additional_dependencies: [prettier-plugin-json-sort]
|