Files
Francesco Bonacci 36cf1cb9b8 refactor(workflows): remove push triggers from CI workflows, rename CD action (#756)
- Remove push to main triggers from all CI workflows (only run on PRs)
- Rename "Bump Version & Publish" workflow to "CD: Bump & Publish" for consistency
- Keep push triggers for ci-check-links (needed to catch external link changes)
2026-01-11 17:58:51 +01:00

36 lines
757 B
YAML

name: "CI: Lint Python"
on:
pull_request:
paths:
- "libs/python/**"
- "pyproject.toml"
- ".github/workflows/ci-lint-python.yml"
jobs:
lint:
name: Python Lint & Format
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Install Python dependencies
run: |
pip install uv
uv sync
- name: Python lint & typecheck
run: |
uv run isort --check-only .
uv run black --check .
uv run ruff check .
# Temporarily disabled due to untyped codebase
# uv run mypy .