Skip to content

fix(lint): restore lint-ci under ruff 0.16 - #24

Merged
lesnik512 merged 1 commit into
mainfrom
fix/ruff-016-markdown-format
Aug 3, 2026
Merged

lesnik512 merged 1 commit into
mainfrom
fix/ruff-016-markdown-format

Conversation

@lesnik512

Copy link
Copy Markdown
Member

The weekly scheduled dependency check failed (run 30256079768). Two independent breaks, both from ruff 0.16 arriving via the unpinned uv lock --upgrade in just install. Only the first surfaced in CI, because lint-ci aborts at ruff format --check before it ever reaches ruff check.

1. The formatter now formats Python code blocks inside Markdown. It targets fenced blocks tagged python/py/pyi, which brought 28 previously-untouched .md files under ruff format. One diff resulted: an elided stub in the extract-accept-version-parse design doc. Applied as-is, so Markdown snippets stay canonically formatted alongside the rest of the codebase.

2. CPY001 (flake8-copyright) stabilized and select = ["ALL"] picked it up, failing all 10 Python files for a missing copyright header. Added to the ignore list: copyright lives in the root LICENSE, and no file here has ever carried a per-file header.

Two files changed, +2/-2. No code or behavior change, so no architecture/ promotion. Tiny lane per planning/README.md (linter/formatter tweak), so no planning bundle.

Verification

Local, against ruff 0.16.1 / ty 0.0.65:

  • just lint-ci - eof-fixer, ruff format --check (39 files), ruff check --no-fix, ty check, and planning/index.py --check all pass
  • just test-ci - 36 passed, 100% coverage

Closes #23

Two independent breaks, both from ruff 0.16 landing via the unpinned
`uv lock --upgrade` in `just install`:

- The formatter now formats Python code blocks inside Markdown. It wanted
  to collapse an elided stub in the extract-accept-version-parse design
  doc; applied as-is, so doc snippets stay canonically formatted.
- CPY001 (flake8-copyright) stabilized and `select = ["ALL"]` picked it
  up, failing all 10 Python files. Ignored: copyright lives in the root
  LICENSE, not in per-file headers.

Only the first surfaced in the scheduled run, since `lint-ci` aborts at
`ruff format --check` before reaching `ruff check`.

Closes #23

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@lesnik512
lesnik512 merged commit d34da9a into main Aug 3, 2026
6 checks passed
@lesnik512
lesnik512 deleted the fix/ruff-016-markdown-format branch August 3, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scheduled dependency check failed

1 participant