Spaces:
Running
Running
Add web app
Browse files- .github/workflows/sync-hf.yml +2 -2
- .pre-commit-config.yaml +29 -0
- README.md +1 -1
.github/workflows/sync-hf.yml
CHANGED
@@ -10,11 +10,11 @@ jobs:
|
|
10 |
sync-to-hub:
|
11 |
runs-on: ubuntu-latest
|
12 |
steps:
|
13 |
-
- uses: actions/checkout@
|
14 |
with:
|
15 |
fetch-depth: 0
|
16 |
lfs: true
|
17 |
- name: Push to hub
|
18 |
env:
|
19 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
20 |
-
run: git push --force https://giswqs:[email protected]/spaces/giswqs/
|
|
|
10 |
sync-to-hub:
|
11 |
runs-on: ubuntu-latest
|
12 |
steps:
|
13 |
+
- uses: actions/checkout@v4
|
14 |
with:
|
15 |
fetch-depth: 0
|
16 |
lfs: true
|
17 |
- name: Push to hub
|
18 |
env:
|
19 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
20 |
+
run: git push --force https://giswqs:[email protected]/spaces/giswqs/surface-water-app main
|
.pre-commit-config.yaml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
repos:
|
2 |
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
3 |
+
rev: v4.6.0
|
4 |
+
hooks:
|
5 |
+
- id: check-toml
|
6 |
+
- id: check-yaml
|
7 |
+
- id: end-of-file-fixer
|
8 |
+
types: [python]
|
9 |
+
- id: trailing-whitespace
|
10 |
+
- id: requirements-txt-fixer
|
11 |
+
- id: check-added-large-files
|
12 |
+
args: ["--maxkb=500"]
|
13 |
+
|
14 |
+
- repo: https://github.com/psf/black
|
15 |
+
rev: 24.4.2
|
16 |
+
hooks:
|
17 |
+
- id: black-jupyter
|
18 |
+
language_version: python3.11
|
19 |
+
|
20 |
+
# - repo: https://github.com/codespell-project/codespell
|
21 |
+
# rev: v2.3.0
|
22 |
+
# hooks:
|
23 |
+
# - id: codespell
|
24 |
+
# args: [--toml, pyproject-codespell.precommit-toml]
|
25 |
+
|
26 |
+
- repo: https://github.com/kynan/nbstripout
|
27 |
+
rev: 0.7.1
|
28 |
+
hooks:
|
29 |
+
- id: nbstripout
|
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
emoji: π
|
4 |
colorFrom: blue
|
5 |
colorTo: purple
|
|
|
1 |
---
|
2 |
+
title: Surface Water App
|
3 |
emoji: π
|
4 |
colorFrom: blue
|
5 |
colorTo: purple
|