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 39aec7c commit 3afd908Copy full SHA for 3afd908
.github/workflows/python-lint.yaml
@@ -4,17 +4,24 @@ on:
4
branches:
5
- "*"
6
jobs:
7
- build:
+ lint:
8
name: python Lint
9
runs-on: ubuntu-latest
10
steps:
11
+ - name: Set up Python 3.11
12
+ uses: actions/setup-python@v5
13
+ with:
14
+ python-version: "3.11"
15
+
16
- name: Checkout code
17
uses: actions/checkout@v4
18
19
- name: Install uv
20
uses: astral-sh/setup-uv@v6
21
22
+ - name: UV sync
23
+ run: uv sync --dev
24
25
- name: Run flake8
- run: uv sync && uv run flake8 src/ --max-line-length=120 --ignore=E501,W503
- with:
- python-version: "3.11"
26
+ run: uv run flake8 src/ --max-line-length=120 --ignore=E501,W503
27
0 commit comments