chore(deps-dev): bump the python-tooling group across 1 directory with 2 updates - #423
Conversation
PR Context Summary
Suggested issue links
Use |
|
Holding this one. The ruff jump is 0.1.14 -> 0.16.1, which is basically two years of new default rules — backend-check comes back with 879 errors (593 auto-fixable). That is not something to sneak in on a dependabot PR. Plan: I will do a standalone |
77071c4 to
7125b72
Compare
…h 2 updates Bumps the python-tooling group with 2 updates in the /backend directory: [black](https://github.com/psf/black) and [ruff](https://github.com/astral-sh/ruff). Updates `black` from 26.3.1 to 26.5.1 - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](psf/black@26.3.1...26.5.1) Updates `ruff` from 0.1.14 to 0.16.1 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@v0.1.14...0.16.1) --- updated-dependencies: - dependency-name: black dependency-version: 26.5.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: python-tooling - dependency-name: ruff dependency-version: 0.16.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: python-tooling ... Signed-off-by: dependabot[bot] <support@github.com>
7125b72 to
d3c111f
Compare
Ruff 0.16 broadened its default selection (B, BLE, I, S, SIM, UP, RUF and more), so bumping 0.1.14 -> 0.16.1 surfaced 874 findings on an unchanged tree and failed backend-check. None of those are regressions in our code; the linter simply started asking new questions. Pin select = ["E4", "E7", "E9", "F"] in backend/pyproject.toml. That is ruff's own stable default and exactly the baseline the backend was already green on, so this bump changes no lint outcomes. Adopting the newer rule families is worth doing, but as a deliberate pass with its own review, not as a side effect of a dependabot bump. Also apply ruff format with the new formatter: five files pick up f-string spacing around *, parenthesised context managers, and assert-message wrapping. Cosmetic only, no behaviour change. backend-check now passes: ruff check clean, ruff format clean, smoke import OK, 619 passed / 6 skipped. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QxroatoR4x1pREFT7ggnS7
ApprovabilityVerdict: Approved 23bda24 Dev dependency version bumps (black, ruff) with explicit ruff config to maintain the existing lint baseline. All code changes are pure formatting adjustments with no runtime impact. You can customize Macroscope's approvability policy. Learn more. |
Abhash-Chakraborty
left a comment
There was a problem hiding this comment.
Fixed the fallout in a follow-up commit: the 874 findings were ruff 0.16 broadening its default rule set, not regressions in our code. Pinned select = ["E4","E7","E9","F"] — ruff's own stable default and the exact baseline we were green on under 0.1.14 — so the bump is behaviour-neutral and future ruff releases can't silently change our lint surface again. Plus a ruff format pass over 5 files (f-string spacing, parenthesised with, assert wrapping; cosmetic only). backend-check green, 619 passed.
Bumps the python-tooling group with 2 updates in the /backend directory: black and ruff.
Updates
blackfrom 26.3.1 to 26.5.1Release notes
Sourced from black's releases.
... (truncated)
Changelog
Sourced from black's changelog.
... (truncated)
Commits
87928e6Prepare release 26.5.1 (#5140)c970a49Preserve comments before fmt: skip lines (#5139)5809338Preserve inline comments inside annotation subscripts (#5130)61361b7docs: add Neovim integration guide and fix http link (#5124)ebe6018CI Hotfixes (#5136)9cbd95fFix publish binaries again on Windows (#5134)3dc8e6cAdd new changelog (#5132)6d0fff0Fix publish binaries workflow (#5133)d2490e2Prepare release 26.5.0 (#5131)2b13ea7Preserve multiline headers with fmt skip (#5117)Updates
rufffrom 0.1.14 to 0.16.1Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
80790b3Bump 0.16.1 (#27330)63830f3[ty] Borrow from constraint set storage less often (#27328)f40dca9[ty] Preserve forwarded expanded-variadic diagnostic sources (#27266)0d80497Lint TOML files in the LSP (#26862)d91586bUpdate prek dependencies (#27293)7da4b8b[ty] Respect bounds and constraints in generic materializations (#27228)b20daf7[ty] refactor: add helper function to send partial results (#27249)4d4c8fa[ty] Emit diagnostic when specializing a non-generic class (#26883)7c3e2db[ty] Fix enum class container assignability (#27318)d5ef97f[flake8-return] Fix false positive when variable is read infinallyclaus...