We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f185631 commit 8171810Copy full SHA for 8171810
.github/workflows/lint.yml
@@ -17,19 +17,14 @@ jobs:
17
steps:
18
- uses: actions/checkout@v4
19
20
- - name: Install uv and set the python version
21
- uses: astral-sh/setup-uv@v5
+ - name: Run black linter
+ uses: psf/black@stable
22
with:
23
- python-version: ${{ matrix.python-version }}
24
- enable-cache: true
25
- cache-dependency-glob: "uv.lock"
26
-
27
- - name: Install the project
28
- run: uv sync --all-extras --dev
+ options: "--check --verbose"
+ src: "./"
+ use_pyproject: true
29
30
- name: Run ruff linter
31
- run: uv run ruff check --config pyproject.toml
32
- continue-on-error: true
33
- - name: Run black linter
34
- run: |
35
- uv run black . --diff --check --config pyproject.toml
+ uses: astral-sh/ruff-action@v3
+ with:
+ version-file: "./pyproject.toml"
0 commit comments