Skip to content

feat(theme): apply the color theme app-wide (all tabs), not just EDIT #130

feat(theme): apply the color theme app-wide (all tabs), not just EDIT

feat(theme): apply the color theme app-wide (all tabs), not just EDIT #130

Workflow file for this run

name: Lint
on:
pull_request:
# 🚨 HARD RULE — RUFF VERSION 🚨
# Ruff is pinned in BOTH this workflow (RUFF_VERSION below) and in
# pyproject.toml's `dependency-groups.dev` so the CI ruff and the
# local-dev ruff (via `uv sync --group dev`) are always BIT-IDENTICAL.
# NEVER let these drift, NEVER downgrade to an older version,
# NEVER allow two ruff installations to coexist in this repo's
# tooling chain.
#
# Bumping requires changing BOTH places in the same commit, then
# running `uv sync --group dev` + `uv run ruff format .` in that
# same commit so the working tree is consistent against the new
# formatter. Symptoms of a violation: `ruff format --check` reports
# drift on files that were clean at the last commit with no semantic
# edits in between — that's the version-mismatch smoking gun.
#
# See CLAUDE.md → "🚨 HARD RULES" for the canonical version of this rule.
#
# actions/checkout rides its major-version tag (@v5), matching the other
# workflows in this repo. Ruff is installed via the first-party
# setup-python action + pipx, avoiding the third-party
# astral-sh/ruff-action entirely.
env:
RUFF_VERSION: "0.15.14" # ⚠ KEEP IN SYNC WITH pyproject.toml ⚠
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install ruff
run: pipx install "ruff==${{ env.RUFF_VERSION }}"
- name: ruff check
run: ruff check .
- name: ruff format --check
run: ruff format --check .