Skip to content

Commit ee1901e

Browse files
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) | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/astral-sh/ruff/badge)](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` ([#&#8203;22212](https://redirect.github.com/astral-sh/ruff/pull/22212)) - \[`refurb`] Allow subclassing builtins in stub files (`FURB189`) ([#&#8203;26812](https://redirect.github.com/astral-sh/ruff/pull/26812)) - \[`ruff`] Add rule to replace `noqa` comments with `ruff:ignore` (`RUF105`) ([#&#8203;26423](https://redirect.github.com/astral-sh/ruff/pull/26423)) - \[`ruff`] Add rule to use human-readable names in `ruff:ignore` comments (`RUF106`) ([#&#8203;26682](https://redirect.github.com/astral-sh/ruff/pull/26682)) - \[`ruff`] Add rule to use human-readable names in configuration selectors (`RUF201`) ([#&#8203;26772](https://redirect.github.com/astral-sh/ruff/pull/26772)) ##### Bug fixes - \[`flake8-pyi`] Fix false positive in `__all__` (`PYI053`) ([#&#8203;26872](https://redirect.github.com/astral-sh/ruff/pull/26872)) ##### Rule changes - \[`pylint`] Ignore mutable type updates in `redefined-loop-name` (`PLW2901`) ([#&#8203;25733](https://redirect.github.com/astral-sh/ruff/pull/25733)) ##### Performance - Avoid redundant lexer token bookkeeping ([#&#8203;26765](https://redirect.github.com/astral-sh/ruff/pull/26765)) - Avoid redundant pending-indentation writes ([#&#8203;26774](https://redirect.github.com/astral-sh/ruff/pull/26774)) - Avoid unnecessary identifier lookahead ([#&#8203;26525](https://redirect.github.com/astral-sh/ruff/pull/26525)) - Reuse parser scratch buffers ([#&#8203;26798](https://redirect.github.com/astral-sh/ruff/pull/26798)) ##### Documentation - Document argfile support ([#&#8203;26803](https://redirect.github.com/astral-sh/ruff/pull/26803)) - \[`flake8-datetimez`] Clarify naming guidance for `datetime.today` (`DTZ002`) ([#&#8203;26658](https://redirect.github.com/astral-sh/ruff/pull/26658)) - \[`pycodestyle`] Document `E731` fix safety ([#&#8203;26847](https://redirect.github.com/astral-sh/ruff/pull/26847)) - \[`ruff`] Clarify intentional async contexts for `unused-async` (`RUF029`) ([#&#8203;26641](https://redirect.github.com/astral-sh/ruff/pull/26641)) ##### Contributors - [@&#8203;dwego](https://redirect.github.com/dwego) - [@&#8203;MichaReiser](https://redirect.github.com/MichaReiser) - [@&#8203;Joosboy](https://redirect.github.com/Joosboy) - [@&#8203;KaufmanDmitriy](https://redirect.github.com/KaufmanDmitriy) - [@&#8203;PeterJCLaw](https://redirect.github.com/PeterJCLaw) - [@&#8203;ntBre](https://redirect.github.com/ntBre) - [@&#8203;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

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Documentation = "https://docs.descope.com"
5353

5454
[dependency-groups]
5555
dev = [
56-
"ruff==0.15.21",
56+
"ruff==0.15.22",
5757
"pre-commit==3.8.0; python_version < '3.10'",
5858
"pre-commit==4.6.0; python_version >= '3.10'",
5959
"python-dotenv>=1.2,<1.3; python_version < '3.10'",

uv.lock

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)