Skip to content

Commit a6266dd

Browse files
authored
fix(deps): update Ruff package and hook together to 0.17.3 (#568)
## Summary Coordinate the Ruff Python package and pre-commit hook at 0.17.3 so the existing lockstep test passes. This replaces the split update approach in #545 and #566 without modifying or closing those branches. ## Change Two one-line pin changes: ruff==0.17.3 and the verified upstream ruff-pre-commit v0.17.3 SHA 25bcf95026b96e2dd3c0aec3090c3d6ef6ca2e6c. No lint rules, fix settings, source formatting or dependencies beyond Ruff changed. The repository has no Python lockfile to regenerate. ## Verification Signed head ec35068; base 81f5089. - Isolated non-root Python3.13.18/Node22.23.2 container with read-only source: Ruff0.17.3 lint and format checks passed, 764 tests plus 58 subtests passed, make validate passed. - Initially the copied host checkout had restricted executable permissions and the Python-only container lacked Node. The final run used a Git archive with normal checkout permissions and both interpreters; no source modes or tests changed. - Upstream release and hook tag verified. Independent fixed-head reviewer inspected the complete two-file diff, lockstep test, CI path, and upstream release notes; no blockers. - Normal signed commit and push hooks passed; Gitleaks found no leaks. ## Security and rollback Ruff remains an MIT-licensed development tool, SHA-pinned in pre-commit. No permissions or security rules are relaxed. Revert the two-file commit to roll back. ## AI assistance OpenCode assisted implementation, isolated verification and independent agent review. Human CODEOWNER review required before merge.
1 parent 81f5089 commit a6266dd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
- id: gitleaks
2222

2323
- repo: https://github.com/astral-sh/ruff-pre-commit
24-
rev: 44b5042edab9382aba712eed4f9c7bab7a3d6a3e # v0.17.0
24+
rev: 25bcf95026b96e2dd3c0aec3090c3d6ef6ca2e6c # v0.17.3
2525
hooks:
2626
- id: ruff
2727
args: ["--fix"]

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies = [
1313
dev = [
1414
"pytest==9.1.1",
1515
"pytest-cov==7.1.0",
16-
"ruff==0.17.0",
16+
"ruff==0.17.3",
1717
"pre-commit==4.7.0",
1818
"pip-audit==2.10.1",
1919
]

0 commit comments

Comments
 (0)