Spaces:
Runtime error
Runtime error
chicham
commited on
Feature/ci (#5)
Browse files* Use pre-commit.ci
- .github/workflows/pre-commit.yml +0 -14
- .pre-commit-config.yaml +10 -0
- README.md +2 -0
.github/workflows/pre-commit.yml
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
name: pre-commit
|
2 |
-
|
3 |
-
on:
|
4 |
-
pull_request:
|
5 |
-
push:
|
6 |
-
branches: [master]
|
7 |
-
|
8 |
-
jobs:
|
9 |
-
pre-commit:
|
10 |
-
runs-on: ubuntu-latest
|
11 |
-
steps:
|
12 |
-
- uses: actions/checkout@v2
|
13 |
-
- uses: actions/setup-python@v2
|
14 |
-
- uses: pre-commit/action@v2.0.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.pre-commit-config.yaml
CHANGED
@@ -1,4 +1,14 @@
|
|
1 |
exclude: '(\_pb2\.py)$|(\_pb2\_grpc.py)$'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
repos:
|
3 |
- repo: https://github.com/pre-commit/pre-commit-hooks
|
4 |
rev: v4.1.0
|
|
|
1 |
exclude: '(\_pb2\.py)$|(\_pb2\_grpc.py)$'
|
2 |
+
ci:
|
3 |
+
autofix_commit_msg: |
|
4 |
+
[pre-commit.ci] auto fixes from pre-commit.com hooks
|
5 |
+
|
6 |
+
for more information, see https://pre-commit.ci
|
7 |
+
autofix_prs: true
|
8 |
+
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
|
9 |
+
autoupdate_schedule: weekly
|
10 |
+
skip: []
|
11 |
+
submodules: false
|
12 |
repos:
|
13 |
- repo: https://github.com/pre-commit/pre-commit-hooks
|
14 |
rev: v4.1.0
|
README.md
CHANGED
@@ -10,6 +10,8 @@ pinned: false
|
|
10 |
|
11 |
# Configuration
|
12 |
|
|
|
|
|
13 |
`title`: _string_
|
14 |
Display title for the Space
|
15 |
|
|
|
10 |
|
11 |
# Configuration
|
12 |
|
13 |
+
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/chicham/query_analysis/main.svg)](https://results.pre-commit.ci/latest/github/chicham/query_analysis/main)
|
14 |
+
|
15 |
`title`: _string_
|
16 |
Display title for the Space
|
17 |
|