Commit ee1901e
authored
chore(deps): update dependency ruff to v0.15.22 (#553)
This PR contains the following updates:
| Package | Type | Update | Change | Pending | OpenSSF |
|---|---|---|---|---|---|
| [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))
| dependency-groups | patch | `==0.15.21` → `==0.15.22` | `0.16.2` (+2)
| [](https://securityscorecards.dev/viewer/?uri=github.com/astral-sh/ruff)
|
---
### Release Notes
<details>
<summary>astral-sh/ruff (ruff)</summary>
###
[`v0.15.22`](https://redirect.github.com/astral-sh/ruff/releases/tag/0.15.22)
[Compare
Source](https://redirect.github.com/astral-sh/ruff/compare/0.15.21...0.15.22)
#### Release Notes
Released on 2026-07-16.
##### Preview features
- \[`pycodestyle`] Add an autofix for `E402`
([#​22212](https://redirect.github.com/astral-sh/ruff/pull/22212))
- \[`refurb`] Allow subclassing builtins in stub files (`FURB189`)
([#​26812](https://redirect.github.com/astral-sh/ruff/pull/26812))
- \[`ruff`] Add rule to replace `noqa` comments with `ruff:ignore`
(`RUF105`)
([#​26423](https://redirect.github.com/astral-sh/ruff/pull/26423))
- \[`ruff`] Add rule to use human-readable names in `ruff:ignore`
comments (`RUF106`)
([#​26682](https://redirect.github.com/astral-sh/ruff/pull/26682))
- \[`ruff`] Add rule to use human-readable names in configuration
selectors (`RUF201`)
([#​26772](https://redirect.github.com/astral-sh/ruff/pull/26772))
##### Bug fixes
- \[`flake8-pyi`] Fix false positive in `__all__` (`PYI053`)
([#​26872](https://redirect.github.com/astral-sh/ruff/pull/26872))
##### Rule changes
- \[`pylint`] Ignore mutable type updates in `redefined-loop-name`
(`PLW2901`)
([#​25733](https://redirect.github.com/astral-sh/ruff/pull/25733))
##### Performance
- Avoid redundant lexer token bookkeeping
([#​26765](https://redirect.github.com/astral-sh/ruff/pull/26765))
- Avoid redundant pending-indentation writes
([#​26774](https://redirect.github.com/astral-sh/ruff/pull/26774))
- Avoid unnecessary identifier lookahead
([#​26525](https://redirect.github.com/astral-sh/ruff/pull/26525))
- Reuse parser scratch buffers
([#​26798](https://redirect.github.com/astral-sh/ruff/pull/26798))
##### Documentation
- Document argfile support
([#​26803](https://redirect.github.com/astral-sh/ruff/pull/26803))
- \[`flake8-datetimez`] Clarify naming guidance for `datetime.today`
(`DTZ002`)
([#​26658](https://redirect.github.com/astral-sh/ruff/pull/26658))
- \[`pycodestyle`] Document `E731` fix safety
([#​26847](https://redirect.github.com/astral-sh/ruff/pull/26847))
- \[`ruff`] Clarify intentional async contexts for `unused-async`
(`RUF029`)
([#​26641](https://redirect.github.com/astral-sh/ruff/pull/26641))
##### Contributors
- [@​dwego](https://redirect.github.com/dwego)
- [@​MichaReiser](https://redirect.github.com/MichaReiser)
- [@​Joosboy](https://redirect.github.com/Joosboy)
- [@​KaufmanDmitriy](https://redirect.github.com/KaufmanDmitriy)
- [@​PeterJCLaw](https://redirect.github.com/PeterJCLaw)
- [@​ntBre](https://redirect.github.com/ntBre)
- [@​charliermarsh](https://redirect.github.com/charliermarsh)
#### Install ruff 0.15.22
##### Install prebuilt binaries via shell script
```sh
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-installer.sh | sh
```
##### Install prebuilt binaries via powershell script
```sh
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-installer.ps1 | iex"
```
#### Download ruff 0.15.22
| File | Platform | Checksum |
|
---------------------------------------------------------------------------------------------------------------------------------------------------------
| ---------------------------- |
------------------------------------------------------------------------------------------------------------------------------
|
|
[ruff-aarch64-apple-darwin.tar.gz](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-aarch64-apple-darwin.tar.gz)
| Apple Silicon macOS |
[checksum](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-aarch64-apple-darwin.tar.gz.sha256)
|
|
[ruff-x86\_64-apple-darwin.tar.gz](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-x86_64-apple-darwin.tar.gz)
| Intel macOS |
[checksum](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-x86_64-apple-darwin.tar.gz.sha256)
|
|
[ruff-aarch64-pc-windows-msvc.zip](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-aarch64-pc-windows-msvc.zip)
| ARM64 Windows |
[checksum](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-aarch64-pc-windows-msvc.zip.sha256)
|
|
[ruff-i686-pc-windows-msvc.zip](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-i686-pc-windows-msvc.zip)
| x86 Windows |
[checksum](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-i686-pc-windows-msvc.zip.sha256)
|
|
[ruff-x86\_64-pc-windows-msvc.zip](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-x86_64-pc-windows-msvc.zip)
| x64 Windows |
[checksum](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-x86_64-pc-windows-msvc.zip.sha256)
|
|
[ruff-aarch64-unknown-linux-gnu.tar.gz](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-aarch64-unknown-linux-gnu.tar.gz)
| ARM64 Linux |
[checksum](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-aarch64-unknown-linux-gnu.tar.gz.sha256)
|
|
[ruff-i686-unknown-linux-gnu.tar.gz](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-i686-unknown-linux-gnu.tar.gz)
| x86 Linux |
[checksum](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-i686-unknown-linux-gnu.tar.gz.sha256)
|
|
[ruff-powerpc64-unknown-linux-gnu.tar.gz](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-powerpc64-unknown-linux-gnu.tar.gz)
| PPC64 Linux |
[checksum](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-powerpc64-unknown-linux-gnu.tar.gz.sha256)
|
|
[ruff-powerpc64le-unknown-linux-gnu.tar.gz](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-powerpc64le-unknown-linux-gnu.tar.gz)
| PPC64LE Linux |
[checksum](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-powerpc64le-unknown-linux-gnu.tar.gz.sha256)
|
|
[ruff-riscv64gc-unknown-linux-gnu.tar.gz](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-riscv64gc-unknown-linux-gnu.tar.gz)
| RISCV Linux |
[checksum](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-riscv64gc-unknown-linux-gnu.tar.gz.sha256)
|
|
[ruff-s390x-unknown-linux-gnu.tar.gz](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-s390x-unknown-linux-gnu.tar.gz)
| S390x Linux |
[checksum](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-s390x-unknown-linux-gnu.tar.gz.sha256)
|
|
[ruff-x86\_64-unknown-linux-gnu.tar.gz](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-x86_64-unknown-linux-gnu.tar.gz)
| x64 Linux |
[checksum](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-x86_64-unknown-linux-gnu.tar.gz.sha256)
|
|
[ruff-armv7-unknown-linux-gnueabihf.tar.gz](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-armv7-unknown-linux-gnueabihf.tar.gz)
| ARMv7 Linux |
[checksum](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-armv7-unknown-linux-gnueabihf.tar.gz.sha256)
|
|
[ruff-aarch64-unknown-linux-musl.tar.gz](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-aarch64-unknown-linux-musl.tar.gz)
| ARM64 MUSL Linux |
[checksum](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-aarch64-unknown-linux-musl.tar.gz.sha256)
|
|
[ruff-i686-unknown-linux-musl.tar.gz](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-i686-unknown-linux-musl.tar.gz)
| x86 MUSL Linux |
[checksum](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-i686-unknown-linux-musl.tar.gz.sha256)
|
|
[ruff-x86\_64-unknown-linux-musl.tar.gz](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-x86_64-unknown-linux-musl.tar.gz)
| x64 MUSL Linux |
[checksum](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-x86_64-unknown-linux-musl.tar.gz.sha256)
|
|
[ruff-arm-unknown-linux-musleabihf.tar.gz](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-arm-unknown-linux-musleabihf.tar.gz)
| ARMv6 MUSL Linux (Hardfloat) |
[checksum](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-arm-unknown-linux-musleabihf.tar.gz.sha256)
|
|
[ruff-armv7-unknown-linux-musleabihf.tar.gz](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-armv7-unknown-linux-musleabihf.tar.gz)
| ARMv7 MUSL Linux |
[checksum](https://releases.astral.sh/github/ruff/releases/download/0.15.22/ruff-armv7-unknown-linux-musleabihf.tar.gz.sha256)
|
#### Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub
Artifact Attestations. These can be verified by using the [GitHub
CLI](https://cli.github.com/manual/gh_attestation_verify):
```sh
gh attestation verify <file-path of downloaded artifact> --repo astral-sh/ruff
```
You can also download the attestation from
[GitHub](https://redirect.github.com/astral-sh/ruff/attestations) and
verify against that directly:
```sh
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>
```
</details>
---
### Configuration
📅 **Schedule**: (in timezone Asia/Jerusalem)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, 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 has been generated by [Mend
Renovate](https://redirect.github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNDEuMyIsInVwZGF0ZWRJblZlciI6IjQzLjE0MS4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->
Co-authored-by: descope[bot] <107609351+descope[bot]@users.noreply.github.com>1 parent 3d7ae9f commit ee1901e
2 files changed
Lines changed: 23 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments