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 8d42e48 commit 3a66d58Copy full SHA for 3a66d58
.github/workflows/lint.yml
@@ -0,0 +1,28 @@
1
+name: Python Tests
2
+
3
+on:
4
+ pull_request:
5
+ workflow_dispatch:
6
7
+concurrency:
8
+ group: tests-${{ github.ref }}
9
+ cancel-in-progress: true
10
11
12
+jobs:
13
14
+ lint:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: actions/setup-python@v5
19
+ with:
20
+ python-version: '3.10'
21
+ cache: 'pip'
22
+ cache-dependency-path: 'pyproject.toml'
23
+ - name: Install Python dependencies
24
+ run: |
25
+ python -m pip install -U pip pre-commit
26
+ - name: Run linters
27
28
+ pre-commit run --hook-stage=manual --all-files
.pre-commit-config.yaml
0 commit comments