We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 857a23b commit 5a3c143Copy full SHA for 5a3c143
.github/workflows/lint.yml
@@ -0,0 +1,30 @@
1
+name: Run Pre-commits
2
+
3
+env:
4
+ # enable colored output
5
+ # https://github.com/pytest-dev/pytest/issues/7443
6
+ PY_COLORS: 1
7
8
+on:
9
+ push:
10
+ branches: ["main"]
11
+ pull_request:
12
+ workflow_dispatch:
13
14
+permissions:
15
+ contents: read
16
17
+jobs:
18
+ static_analysis:
19
+ timeout-minutes: 1
20
21
+ runs-on: ubuntu-latest
22
23
+ steps:
24
+ - uses: actions/checkout@v4
25
+ - name: Set up Python
26
+ uses: actions/setup-python@v5
27
+ with:
28
+ python-version: "3.12"
29
+ - name: Run pre-commit
30
+ uses: pre-commit/[email protected]
0 commit comments