Skip to content

chore(deps-dev): bump ruff from 0.9.2 to 0.11.4 #748

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 7, 2025

Bumps ruff from 0.9.2 to 0.11.4.

Release notes

Sourced from ruff's releases.

0.11.4

Release Notes

Preview features

  • [ruff] Implement invalid-rule-code as RUF102 (#17138)
  • [syntax-errors] Detect duplicate keys in match mapping patterns (#17129)
  • [syntax-errors] Detect duplicate attributes in match class patterns (#17186)
  • [syntax-errors] Detect invalid syntax in annotations (#17101)

Bug fixes

  • [syntax-errors] Fix multiple assignment error for class fields in match patterns (#17184)
  • Don't skip visiting non-tuple slice in typing.Annotated subscripts (#17201)

Contributors

Install ruff 0.11.4

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.11.4/ruff-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/astral-sh/ruff/releases/download/0.11.4/ruff-installer.ps1 | iex"

Download ruff 0.11.4

File Platform Checksum
ruff-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
ruff-x86_64-apple-darwin.tar.gz Intel macOS checksum
ruff-aarch64-pc-windows-msvc.zip ARM64 Windows checksum
ruff-i686-pc-windows-msvc.zip x86 Windows checksum

... (truncated)

Changelog

Sourced from ruff's changelog.

0.11.4

Preview features

  • [ruff] Implement invalid-rule-code as RUF102 (#17138)
  • [syntax-errors] Detect duplicate keys in match mapping patterns (#17129)
  • [syntax-errors] Detect duplicate attributes in match class patterns (#17186)
  • [syntax-errors] Detect invalid syntax in annotations (#17101)

Bug fixes

  • [syntax-errors] Fix multiple assignment error for class fields in match patterns (#17184)
  • Don't skip visiting non-tuple slice in typing.Annotated subscripts (#17201)

0.11.3

Preview features

  • [airflow] Add more autofixes for AIR302 (#16876, #16977, #16976, #16965)
  • [airflow] Move AIR301 to AIR002 (#16978)
  • [airflow] Move AIR302 to AIR301 and AIR303 to AIR302 (#17151)
  • [flake8-bandit] Mark str and list[str] literals as trusted input (S603) (#17136)
  • [ruff] Support slices in RUF005 (#17078)
  • [syntax-errors] Start detecting compile-time syntax errors (#16106)
  • [syntax-errors] Duplicate type parameter names (#16858)
  • [syntax-errors] Irrefutable case pattern before final case (#16905)
  • [syntax-errors] Multiple assignments in case pattern (#16957)
  • [syntax-errors] Single starred assignment target (#17024)
  • [syntax-errors] Starred expressions in return, yield, and for (#17134)
  • [syntax-errors] Store to or delete __debug__ (#16984)

Bug fixes

  • Error instead of panic! when running Ruff from a deleted directory (#16903) (#17054)
  • [syntax-errors] Fix false positive for parenthesized tuple index (#16948)

CLI

  • Check pyproject.toml correctly when it is passed via stdin (#16971)

Configuration

  • [flake8-import-conventions] Add import numpy.typing as npt to default flake8-import-conventions.aliases (#17133)

Documentation

  • [refurb] Document why UserDict, UserList, and UserString are preferred over dict, list, and str (FURB189) (#16927)

0.11.2

... (truncated)

Commits
  • 95d6ed4 Bump 0.11.4 (#17212)
  • acc5662 [syntax-errors] Allow yield in base classes and annotations (#17206)
  • 33a56f1 Don't skip visiting non-tuple slice in typing.Annotated subscripts (#17201)
  • 5cee346 [red-knot] mypy_primer: do not specify Python version (#17200)
  • ffa824e [red-knot] Add Type.definition method (#17153)
  • 98b95c9 Implement Invalid rule provided as rule RUF102 with --fix (#17138)
  • a4ba10f [red-knot] Add basic on-hover to playground and LSP (#17057)
  • bf03068 [red-knot] don't remove negations when simplifying constrained typevars (#17189)
  • 4f924bb [minor] Fix extra semicolon for clippy (#17188)
  • c2b2e42 [syntax-errors] Invalid syntax in annotations (#17101)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.9.2 to 0.11.4.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.9.2...0.11.4)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.11.4
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 7, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 11, 2025

Superseded by #749.

@dependabot dependabot bot closed this Apr 11, 2025
@dependabot dependabot bot deleted the dependabot/pip/main/ruff-0.11.4 branch April 11, 2025 12:34
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants