Skip to content

Tags

Tags

0.17.5

Toggle 0.17.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Skip the W605 source scan when a literal has no decoded backslash (#3…

…0376)

## Summary

The parser preserves an unknown escape like `\q` in the decoded literal,
including its backslash. If a successfully decoded string or bytes
literal has no backslash, W605 can skip scanning its source. This avoids
walking the full spelling of escaped binary data a second time.

Callgrind counts for an uncached `ruff check` on
[JAX](https://github.com/jax-ml/jax/tree/55029b8f7e65adb79764103871ec0357fa440227/jax/_src/internal_test_util/export_back_compat_test_data).

| Uncached workload | Main instructions | With this change | Reduction |
| --- | ---: | ---: | ---: |
| JAX export compatibility fixtures | 131,472,981 | 123,959,397 | 5.71%
|
| JAX export implementation, compatibility fixtures, and export tests |
226,452,648 | 218,584,652 | 3.47% |

## Test Plan

The linter tests passed, and diagnostics and fixes matched main on
Ruff’s fixtures and Home Assistant.

0.17.4

Toggle 0.17.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to 0.17.4 (#30073)

Co-authored-by: astral-automations-bot[bot] <305554984+astral-automations-bot[bot]@users.noreply.github.com>
Co-authored-by: Brent Westbrook <36778786+ntBre@users.noreply.github.com>

0.17.3

Toggle 0.17.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to 0.17.3 (#29745)

Co-authored-by: astral-automations-bot[bot] <305554984+astral-automations-bot[bot]@users.noreply.github.com>
Co-authored-by: Brent Westbrook <36778786+ntBre@users.noreply.github.com>

0.17.2

Toggle 0.17.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to 0.17.2 (#29637)

Co-authored-by: astral-automations-bot[bot] <305554984+astral-automations-bot[bot]@users.noreply.github.com>
Co-authored-by: Brent Westbrook <36778786+ntBre@users.noreply.github.com>

0.17.1

Toggle 0.17.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to 0.17.1 (#29420)

Co-authored-by: astral-automations-bot[bot] <305554984+astral-automations-bot[bot]@users.noreply.github.com>

0.17.0

Toggle 0.17.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to 0.17.0 (#29259)

Co-authored-by: astral-automations-bot[bot] <305554984+astral-automations-bot[bot]@users.noreply.github.com>
Co-authored-by: Brent Westbrook <brentrwestbrook@gmail.com>

0.16.10

Toggle 0.16.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to 0.16.10 (#29055)

Co-authored-by: astral-automations-bot[bot] <305554984+astral-automations-bot[bot]@users.noreply.github.com>
Co-authored-by: Brent Westbrook <brentrwestbrook@gmail.com>

0.16.9

Toggle 0.16.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to 0.16.9 (#28882)

Co-authored-by: astral-automations-bot[bot] <305554984+astral-automations-bot[bot]@users.noreply.github.com>
Co-authored-by: Brent Westbrook <36778786+ntBre@users.noreply.github.com>

0.16.8

Toggle 0.16.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to 0.16.8 (#28648)

Co-authored-by: astral-automations-bot[bot] <305554984+astral-automations-bot[bot]@users.noreply.github.com>
Co-authored-by: Brent Westbrook <36778786+ntBre@users.noreply.github.com>

0.16.7

Toggle 0.16.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump version to 0.16.7 (#28496)

Co-authored-by: astral-automations-bot[bot] <305554984+astral-automations-bot[bot]@users.noreply.github.com>
Co-authored-by: Brent Westbrook <36778786+ntBre@users.noreply.github.com>