Skip to content

chore: architecture review fixes (locked sync, warnings as errors, pre-commit in CI) - #57

Merged
BastiTee merged 5 commits into
mainfrom
chore/architecture-review-fixes
Oct 17, 2026
Merged

BastiTee merged 5 commits into
mainfrom
chore/architecture-review-fixes

Conversation

@BastiTee

Copy link
Copy Markdown
Owner

Follow-up to an architecture review of the tooling and CI setup.

Changes

  • CI uses uv sync --locked: CI now fails if uv.lock doesn't match pyproject.toml. The lock on main was already out of date: requires-python changed in ci: drop Python 3.10 (EOL), add Python 3.15 #56, and the lock had ruff 0.16.10 while ruff>=0.17.0 is required. Re-locked in the same commit.
  • pytest treats warnings as errors: removed -p no:warnings, which turned off the warnings plugin, and added filterwarnings = ["error"]. Deprecations now fail tests, which matters now that 3.15 is in the matrix.
  • pre-commit: pre-commit-hooks v5.0.0 → v6.0.0 and ruff-pre-commit v0.16.6 → v0.17.1 (matches the lock). Renamed the old ruff hook id to ruff-check. Markdown hard line breaks are kept. New pre-commit CI job, so gitleaks runs on every push.
  • CLAUDE.md: Python versions are now 3.11–3.15, and the new CI checks are documented.

Verification

Locally: uv lock --check, make test mypy lint format-check and make pre-commit all pass.

🤖 Generated with Claude Code

BastiTee and others added 5 commits October 17, 2026 06:35
Re-lock uv.lock, which had drifted from pyproject.toml: requires-python
changed in #56 and ruff>=0.17.0 was required while the lock pinned 0.16.10.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop '-p no:warnings', which silenced the warnings plugin entirely, and set
filterwarnings = ["error"] so deprecations surface as test failures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- pre-commit-hooks v5.0.0 -> v6.0.0, ruff-pre-commit v0.16.6 -> v0.17.1
  (matches ruff in uv.lock)
- Rename legacy 'ruff' hook id to 'ruff-check'
- Keep Markdown hard line breaks in trailing-whitespace
- New pre-commit CI job so gitleaks runs on every push

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Notable: filelock 3.32.5 -> 4.2.0 (major, transitive via virtualenv),
pre-commit 4.6.2 -> 4.7.0, pluggy 1.6.0 -> 1.7.0, coverage 7.16.0 -> 7.16.2,
platformdirs 4.11.7 -> 4.13.3, plus 13 patch/minor bumps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BastiTee
BastiTee merged commit f6fb5f6 into main Oct 17, 2026
7 checks passed
@BastiTee
BastiTee deleted the chore/architecture-review-fixes branch October 17, 2026 04:42
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.

1 participant