We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e82f83 commit 168d2abCopy full SHA for 168d2ab
.github/workflows/pre_commit.yml
@@ -0,0 +1,32 @@
1
+name: pre_commit
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ paths:
8
+ .github/workflows/pre_commit.yml
9
+ .pre-commit-config.yaml
10
+ pull_request:
11
12
13
+ - master
14
15
+ - .github/workflows/pre_commit.yml
16
+ - .pre-commit-config.yaml
17
18
+env:
19
+ PY_COLORS: 1
20
21
+jobs:
22
23
+ pre_commit:
24
+ runs-on: ubuntu-latest
25
+ steps:
26
+ - uses: actions/checkout@v2
27
+ - uses: actions/setup-python@v2
28
+ - run: pip install --upgrade -r requirements.txt -r requirements-lint.txt pre-commit
29
+ - name: Run pre-commit install
30
+ run: pre-commit install
31
+ - name: pre-commit run all-files
32
+ run: pre-commit run --all-files
0 commit comments