astral-sh
ruff
BlogDocsChangelog

Performance History

Latest Results

[`parser`] Fix panic when parsing IPython escape command expressions (#21480) ## Summary Fixes a panic when parsing IPython escape commands with `Help` kind (`?`) in expression contexts. The parser now reports an error instead of panicking. Fixes #21465. ## Problem The parser panicked with `unreachable!()` in `parse_ipython_escape_command_expression` when encountering escape commands with `Help` kind (`?`) in expression contexts, where only `Magic` (`%`) and `Shell` (`!`) are allowed. ## Approach Replaced the `unreachable!()` panic with error handling that adds a `ParseErrorType::OtherError` and continues parsing, returning a valid AST node with the error attached. ## Test Plan Added `test_ipython_escape_command_in_with_statement` and `test_ipython_help_escape_command_as_expression` to verify the fix. --------- Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
main
12 minutes ago
Delete snapshots
danparizher:fix-21465
17 minutes ago
Fix cargo shear in CI
dhruv/cargo-shear
21 minutes ago
Update dependency ruff to v0.14.6 (#21603) This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [ruff](https://docs.astral.sh/ruff) ([source](https://redirect.github.com/astral-sh/ruff), [changelog](https://redirect.github.com/astral-sh/ruff/blob/main/CHANGELOG.md)) | `==0.14.5` -> `==0.14.6` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.14.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.14.5/0.14.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.14.6`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0146) [Compare Source](https://redirect.github.com/astral-sh/ruff/compare/0.14.5...0.14.6) Released on 2025-11-21. ##### Preview features - \[`flake8-bandit`] Support new PySNMP API paths (`S508`, `S509`) ([#&#8203;21374](https://redirect.github.com/astral-sh/ruff/pull/21374)) ##### Bug fixes - Adjust own-line comment placement between branches ([#&#8203;21185](https://redirect.github.com/astral-sh/ruff/pull/21185)) - Avoid syntax error when formatting attribute expressions with outer parentheses, parenthesized value, and trailing comment on value ([#&#8203;20418](https://redirect.github.com/astral-sh/ruff/pull/20418)) - Fix panic when formatting comments in unary expressions ([#&#8203;21501](https://redirect.github.com/astral-sh/ruff/pull/21501)) - Respect `fmt: skip` for compound statements on a single line ([#&#8203;20633](https://redirect.github.com/astral-sh/ruff/pull/20633)) - \[`refurb`] Fix `FURB103` autofix ([#&#8203;21454](https://redirect.github.com/astral-sh/ruff/pull/21454)) - \[`ruff`] Fix false positive for complex conversion specifiers in `logging-eager-conversion` (`RUF065`) ([#&#8203;21464](https://redirect.github.com/astral-sh/ruff/pull/21464)) ##### Rule changes - \[`ruff`] Avoid false positive on `ClassVar` reassignment (`RUF012`) ([#&#8203;21478](https://redirect.github.com/astral-sh/ruff/pull/21478)) ##### CLI - Render hyperlinks for lint errors ([#&#8203;21514](https://redirect.github.com/astral-sh/ruff/pull/21514)) - Add a `ruff analyze` option to skip over imports in `TYPE_CHECKING` blocks ([#&#8203;21472](https://redirect.github.com/astral-sh/ruff/pull/21472)) ##### Documentation - Limit `eglot-format` hook to eglot-managed Python buffers ([#&#8203;21459](https://redirect.github.com/astral-sh/ruff/pull/21459)) - Mention `force-exclude` in "Configuration > Python file discovery" ([#&#8203;21500](https://redirect.github.com/astral-sh/ruff/pull/21500)) ##### Contributors - [@&#8203;ntBre](https://redirect.github.com/ntBre) - [@&#8203;dylwil3](https://redirect.github.com/dylwil3) - [@&#8203;gauthsvenkat](https://redirect.github.com/gauthsvenkat) - [@&#8203;MichaReiser](https://redirect.github.com/MichaReiser) - [@&#8203;thamer](https://redirect.github.com/thamer) - [@&#8203;Ruchir28](https://redirect.github.com/Ruchir28) - [@&#8203;thejcannon](https://redirect.github.com/thejcannon) - [@&#8203;danparizher](https://redirect.github.com/danparizher) - [@&#8203;chirizxc](https://redirect.github.com/chirizxc) </details> --- ### Configuration šŸ“… **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ā™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. šŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xNi4xIiwidXBkYXRlZEluVmVyIjoiNDIuMTYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
main
34 minutes ago
Update astral-sh/setup-uv action to v7.1.4 (#21602) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [astral-sh/setup-uv](https://redirect.github.com/astral-sh/setup-uv) | action | patch | `v7.1.3` -> `v7.1.4` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>astral-sh/setup-uv (astral-sh/setup-uv)</summary> ### [`v7.1.4`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v7.1.4): 🌈 Fix libuv closing bug on Windows [Compare Source](https://redirect.github.com/astral-sh/setup-uv/compare/v7.1.3...v7.1.4) ##### Changes This release fixes the bug `Assertion failed: !(handle->flags & UV_HANDLE_CLOSING)` on Windows runners ##### šŸ› Bug fixes - Wait 50ms before exit to fix libuv bug [@&#8203;eifinger](https://redirect.github.com/eifinger) ([#&#8203;689](https://redirect.github.com/astral-sh/setup-uv/issues/689)) ##### 🧰 Maintenance - chore: update known checksums for 0.9.10 @&#8203;[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#&#8203;681](https://redirect.github.com/astral-sh/setup-uv/issues/681)) - chore: update known checksums for 0.9.9 @&#8203;[github-actions\[bot\]](https://redirect.github.com/apps/github-actions) ([#&#8203;679](https://redirect.github.com/astral-sh/setup-uv/issues/679)) </details> --- ### Configuration šŸ“… **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ā™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. šŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xNi4xIiwidXBkYXRlZEluVmVyIjoiNDIuMTYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
main
34 minutes ago
Update Rust crate clap to v4.5.53 (#21604) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [clap](https://redirect.github.com/clap-rs/clap) | workspace.dependencies | patch | `4.5.51` -> `4.5.53` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>clap-rs/clap (clap)</summary> ### [`v4.5.53`](https://redirect.github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4553---2025-11-19) [Compare Source](https://redirect.github.com/clap-rs/clap/compare/v4.5.52...v4.5.53) ##### Features - Add `default_values_if`, `default_values_ifs` ### [`v4.5.52`](https://redirect.github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4552---2025-11-17) [Compare Source](https://redirect.github.com/clap-rs/clap/compare/v4.5.51...v4.5.52) ##### Fixes - Don't panic when `args_conflicts_with_subcommands` conflicts with an `ArgGroup` </details> --- ### Configuration šŸ“… **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ā™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. šŸ”• **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/astral-sh/ruff). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xNi4xIiwidXBkYXRlZEluVmVyIjoiNDIuMTYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
main
34 minutes ago

Active Branches

[ty] Double click to insert inlay hint
last run
6 hours ago
#21600
CodSpeed Performance Gauge
0%
last run
7 hours ago
#21583
CodSpeed Performance Gauge
0%
Ā© 2025 CodSpeed Technology
Home Terms Privacy Docs