We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d81aed commit f02fc8aCopy full SHA for f02fc8a
1 file changed
.github/workflows/lint.yml
@@ -0,0 +1,24 @@
1
+name: Lint
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ lint:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ - name: Set up Python
16
+ uses: actions/setup-python@v4
17
+ with:
18
+ python-version: "3.12"
19
20
+ - name: Install pre-commit
21
+ run: python -m pip install pre-commit
22
23
+ - name: Run pre-commit checks
24
+ run: SKIP=no-commit-to-branch pre-commit run --all-files --show-diff-on-failure
0 commit comments