diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8ad266..d9673a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: # Keep in sync with the rev in .pre-commit-config.yaml - name: Install ruff - run: python -m pip install ruff==0.15.20 + run: python -m pip install ruff==0.17.4 - name: Ruff check run: ruff check . diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 58158ec..2a0282f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,6 +2,6 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Keep in sync with the version in .github/workflows/ci.yml - rev: v0.15.20 + rev: v0.17.4 hooks: - id: ruff diff --git a/docs/ruff_fix_plan.md b/docs/ruff_fix_plan.md index a97b1a6..edaf049 100644 --- a/docs/ruff_fix_plan.md +++ b/docs/ruff_fix_plan.md @@ -79,6 +79,7 @@ lint.per-file-ignores = { "tests/*" = [ > (`.github/workflows/ci.yml`), and `.pre-commit-config.yaml` provides a > local hook (`pip install pre-commit && pre-commit install` to enable). > Ruff is pinned to 0.15.20 in both places — bump them together. +> (Bumped to 0.17.4 on 2026-11-06; still zero findings.) > Step 3 delivered: S113 timeout in log_poster, `utcnow()` → > `datetime.now(UTC).replace(tzinfo=None)` in auth.py + notesync/service.py > (kept naive-UTC storage semantics), tz-aware `now()` in weekly_metrics, diff --git a/pyproject.toml b/pyproject.toml index d1fb7da..315aad3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,7 @@ [tool.ruff] # Explicit linter list (was `ALL`, frozen 2026-07-12 at ruff 0.15.20 with a -# clean `ruff check .`). New linters added by future ruff versions won't +# clean `ruff check .`; still clean at ruff 0.17.4, the version pinned in CI +# and pre-commit since 2026-11-06). New linters added by future ruff versions won't # auto-enable; add them here deliberately. Framework linters that don't apply # (AIR airflow, DJ django, FAST fastapi) and preview-only ones (CPY, DOC) # are intentionally left out. diff --git a/src/safe_family/static/css/styles.css b/src/safe_family/static/css/styles.css index 252aac7..ffff6c0 100644 --- a/src/safe_family/static/css/styles.css +++ b/src/safe_family/static/css/styles.css @@ -1623,7 +1623,7 @@ td form button { } .lotto-toolbar, -.lotto-row { +.lotto-actions { display: flex; flex-wrap: wrap; align-items: center; diff --git a/src/safe_family/templates/lotto/lotto.html b/src/safe_family/templates/lotto/lotto.html index 2635d93..fce712d 100644 --- a/src/safe_family/templates/lotto/lotto.html +++ b/src/safe_family/templates/lotto/lotto.html @@ -16,7 +16,7 @@ from straight above, the tray filling the frame, full resolution. Tilt the phone a little if a ceiling light reflects on the glass. You can pick several photos at once. Upload whenever you like: photos wait in To label until you have time, even for weeks.
-