chore: remove duplicate Python style checks handled by autofix CI (#24833)
This commit is contained in:
11
.github/workflows/style.yml
vendored
11
.github/workflows/style.yml
vendored
@@ -44,21 +44,10 @@ jobs:
|
|||||||
if: steps.changed-files.outputs.any_changed == 'true'
|
if: steps.changed-files.outputs.any_changed == 'true'
|
||||||
run: uv sync --project api --dev
|
run: uv sync --project api --dev
|
||||||
|
|
||||||
- name: Ruff check
|
|
||||||
if: steps.changed-files.outputs.any_changed == 'true'
|
|
||||||
run: |
|
|
||||||
uv run --directory api ruff --version
|
|
||||||
uv run --directory api ruff check ./
|
|
||||||
uv run --directory api ruff format --check ./
|
|
||||||
|
|
||||||
- name: Dotenv check
|
- name: Dotenv check
|
||||||
if: steps.changed-files.outputs.any_changed == 'true'
|
if: steps.changed-files.outputs.any_changed == 'true'
|
||||||
run: uv run --project api dotenv-linter ./api/.env.example ./web/.env.example
|
run: uv run --project api dotenv-linter ./api/.env.example ./web/.env.example
|
||||||
|
|
||||||
- name: Lint hints
|
|
||||||
if: failure()
|
|
||||||
run: echo "Please run 'dev/reformat' to fix the fixable linting errors."
|
|
||||||
|
|
||||||
web-style:
|
web-style:
|
||||||
name: Web Style
|
name: Web Style
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Reference in New Issue
Block a user