8000 Bump ruff from 0.11.2 to 0.11.4 by dependabot[bot] · Pull Request #8538 · esphome/esphome · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Bump ruff from 0.11.2 to 0.11.4 #8538

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 9, 2025
Merged

Bump ruff from 0.11.2 to 0.11.4 #8538

merged 1 commit into from
Apr 9, 2025

Conversation

dependabot[bot]
Copy link
Contributor
@dependabot dependabot bot commented on behalf of github Apr 9, 2025

Bumps ruff from 0.11.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)
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.11.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.11.2...0.11.4)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.11.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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 9, 2025
@bdraco bdraco merged commit 27f6d00 into dev Apr 9, 2025
32 checks passed
@bdraco bdraco deleted the dependabot/pip/ruff-0.11.4 branch April 9, 2025 20:28
shibida pushed a commit to shibida/esphome that referenced this pull request Apr 15, 2025
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
herruzo99 pushed a commit to herruzo99/esphome that referenced this pull request Apr 16, 2025
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@jesserockz jesserockz mentioned this pull request May 13, 2025
@jesserockz jesserockz mentioned this pull request May 21, 2025
sa-crespo pushed a commit to sa-crespo/esphome that referenced this pull request May 26, 2025
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@github-actions github-actions bot locked and limited conversation to collaborators Jun 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.

1 participant
0