Skip to content

Bump ruff from 0.7.3 to 0.11.10 #18451

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 5 commits into from
May 20, 2025
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 19, 2025

Bumps ruff from 0.7.3 to 0.11.10.

Release notes

Sourced from ruff's releases.

0.11.10

Release Notes

Preview features

  • [ruff] Implement a recursive check for RUF060 (#17976)
  • [airflow] Enable autofixes for AIR301 and AIR311 (#17941)
  • [airflow] Apply try catch guard to all AIR3 rules (#17887)
  • [airflow] Extend AIR311 rules (#17913)

Bug fixes

  • [flake8-bugbear] Ignore B028 if skip_file_prefixes is present (#18047)
  • [flake8-pie] Mark autofix for PIE804 as unsafe if the dictionary contains comments (#18046)
  • [flake8-simplify] Correct behavior for str.split/rsplit with maxsplit=0 (SIM905) (#18075)
  • [flake8-simplify] Fix SIM905 autofix for rsplit creating a reversed list literal (#18045)
  • [flake8-use-pathlib] Suppress diagnostics for all os.* functions that have the dir_fd parameter (PTH) (#17968)
  • [refurb] Mark autofix as safe only for number literals (FURB116) (#17692)

Rule changes

  • [flake8-bandit] Skip S608 for expressionless f-strings (#17999)
  • [flake8-pytest-style] Don't recommend usefixtures for parametrize values (PT019) (#17650)
  • [pyupgrade] Add resource.error as deprecated alias of OSError (UP024) (#17933)

CLI

  • Disable jemalloc on Android (#18033)

Documentation

  • Update Neovim setup docs (#18108)
  • [flake8-simplify] Add fix safety section (SIM103) (#18086)
  • [flake8-simplify] Add fix safety section (SIM112) (#18099)
  • [pylint] Add fix safety section (PLC0414) (#17802)
  • [pylint] Add fix safety section (PLE4703) (#17824)
  • [pylint] Add fix safety section (PLW1514) (#17932)
  • [pylint] Add fix safety section (PLW3301) (#17878)
  • [ruff] Add fix safety section (RUF007) (#17755)
  • [ruff] Add fix safety section (RUF033) (#17760)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.11.10

Preview features

  • [ruff] Implement a recursive check for RUF060 (#17976)
  • [airflow] Enable autofixes for AIR301 and AIR311 (#17941)
  • [airflow] Apply try catch guard to all AIR3 rules (#17887)
  • [airflow] Extend AIR311 rules (#17913)

Bug fixes

  • [flake8-bugbear] Ignore B028 if skip_file_prefixes is present (#18047)
  • [flake8-pie] Mark autofix for PIE804 as unsafe if the dictionary contains comments (#18046)
  • [flake8-simplify] Correct behavior for str.split/rsplit with maxsplit=0 (SIM905) (#18075)
  • [flake8-simplify] Fix SIM905 autofix for rsplit creating a reversed list literal (#18045)
  • [flake8-use-pathlib] Suppress diagnostics for all os.* functions that have the dir_fd parameter (PTH) (#17968)
  • [refurb] Mark autofix as safe only for number literals (FURB116) (#17692)

Rule changes

  • [flake8-bandit] Skip S608 for expressionless f-strings (#17999)
  • [flake8-pytest-style] Don't recommend usefixtures for parametrize values (PT019) (#17650)
  • [pyupgrade] Add resource.error as deprecated alias of OSError (UP024) (#17933)

CLI

  • Disable jemalloc on Android (#18033)

Documentation

  • Update Neovim setup docs (#18108)
  • [flake8-simplify] Add fix safety section (SIM103) (#18086)
  • [flake8-simplify] Add fix safety section (SIM112) (#18099)
  • [pylint] Add fix safety section (PLC0414) (#17802)
  • [pylint] Add fix safety section (PLE4703) (#17824)
  • [pylint] Add fix safety section (PLW1514) (#17932)
  • [pylint] Add fix safety section (PLW3301) (#17878)
  • [ruff] Add fix safety section (RUF007) (#17755)
  • [ruff] Add fix safety section (RUF033) (#17760)

0.11.9

Preview features

  • Default to latest supported Python version for version-related syntax errors (#17529)
  • Implement deferred annotations for Python 3.14 (#17658)
  • [airflow] Fix SQLTableCheckOperator typo (AIR302) (#17946)
  • [airflow] Remove airflow.utils.dag_parsing_context.get_parsing_context (AIR301) (#17852)
  • [airflow] Skip attribute check in try catch block (AIR301) (#17790)
  • [flake8-bandit] Mark tuples of string literals as trusted input in S603 (#17801)

... (truncated)

Commits
  • b35bf8a Bump 0.11.10 (#18120)
  • 279dac1 [ty] Make dataclass instances adhere to DataclassInstance (#18115)
  • 5761703 [ty] Enable optimizations for salsa in debug profile (#18117)
  • 28b5a86 [ty] Enable 'ansi' feature to fix compile error (#18116)
  • b6b7caa [ty] Change layout of extra verbose output and respect --color for verbose ...
  • 46be305 [ty] Include synthesized arguments in displayed counts for `too-many-position...
  • c3a4992 [ty] Fix normalization of unions containing instances parameterized with unio...
  • 9aa6330 [ty] Fix redundant-cast false positives when casting to Unknown (#18111)
  • b600ff1 Sync vendored typeshed stubs (#18110)
  • 466021d [flake8-simplify] add fix safety section (SIM112) (#18099)
  • 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.7.3 to 0.11.10.
- [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.7.3...0.11.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
@anoadragon453
Copy link
Member

Requires code changes before this can be merged, see the CI error log. Taking this off the review queue.

@anoadragon453 anoadragon453 removed the request for review from a team May 19, 2025 12:08
@anoadragon453 anoadragon453 requested a review from a team May 19, 2025 17:12
@anoadragon453
Copy link
Member

Now just the (automated) changes need to be reviewed.

@anoadragon453 anoadragon453 force-pushed the dependabot/pip/ruff-0.11.10 branch from 898461a to 71b2dda Compare May 20, 2025 13:29
Copy link
Member

@anoadragon453 anoadragon453 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated changes look good in most cases. There's a couple spots where we would have preferred strings stay multi-line, but we can adjust those in future.

@anoadragon453 anoadragon453 merged commit 9d43bec into develop May 20, 2025
40 checks passed
@anoadragon453 anoadragon453 deleted the dependabot/pip/ruff-0.11.10 branch May 20, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant