We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 163bc46 commit 39ee7cfCopy full SHA for 39ee7cf
.github/workflows/lint-and-fmt.yml
@@ -0,0 +1,36 @@
1
+name: Lint and Format
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ merge_group:
8
+ workflow_dispatch:
9
10
+jobs:
11
+ lint-and-fmt-python:
12
+ runs-on: ubuntu-latest
13
+ strategy:
14
+ matrix:
15
+ python-version: ["3.9"]
16
+ architecture: ["x64"]
17
+ name: Lint and Format (Python)
18
+ steps:
19
+ - name: Checkout
20
+ uses: actions/checkout@v4
21
22
+ - name: Install uv
23
+ uses: astral-sh/setup-uv@v5
24
25
+ - name: Install python
26
+ uses: actions/setup-python@v5
27
28
+ with:
29
+ python-version: ${{ matrix.python-version }}
30
+ architecture: ${{ matrix.architecture }}
31
32
+ - name: Install dependencies
33
+ run: |
34
+ uv sync --all-extras --dev
35
36
+ - uses: pre-commit/action@v3.0.1
0 commit comments