Skip to content
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

build(deps): bump ruff from 0.9.10 to 0.11.5 in /dev-tools/scripts #14471

Merged
merged 2 commits into from
Apr 10, 2025

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps ruff from 0.9.10 to 0.11.5.

Release notes

Sourced from ruff's releases.

0.11.5

Release Notes

Preview features

  • [airflow] Add missing AIR302 attribute check (#17115)
  • [airflow] Expand module path check to individual symbols (AIR302) (#17278)
  • [airflow] Extract AIR312 from AIR302 rules (AIR302, AIR312) (#17152)
  • [airflow] Update oudated AIR301, AIR302 rules (#17123)
  • [syntax-errors] Async comprehension in sync comprehension (#17177)
  • [syntax-errors] Check annotations in annotated assignments (#17283)
  • [syntax-errors] Extend annotation checks to await (#17282)

Bug fixes

  • [flake8-pie] Avoid false positive for multiple assignment with auto() (PIE796) (#17274)

Rule changes

  • [ruff] Fix RUF100 to detect unused file-level noqa directives with specific codes (#17042) (#17061)
  • [flake8-pytest-style] Avoid false positive for legacy form of pytest.raises (PT011) (#17231)

Documentation

  • Fix formatting of "See Style Guide" link (#17272)

Contributors

Install ruff 0.11.5

Install prebuilt binaries via shell script

... (truncated)

Changelog

Sourced from ruff's changelog.

0.11.5

Preview features

  • [airflow] Add missing AIR302 attribute check (#17115)
  • [airflow] Expand module path check to individual symbols (AIR302) (#17278)
  • [airflow] Extract AIR312 from AIR302 rules (AIR302, AIR312) (#17152)
  • [airflow] Update oudated AIR301, AIR302 rules (#17123)
  • [syntax-errors] Async comprehension in sync comprehension (#17177)
  • [syntax-errors] Check annotations in annotated assignments (#17283)
  • [syntax-errors] Extend annotation checks to await (#17282)

Bug fixes

  • [flake8-pie] Avoid false positive for multiple assignment with auto() (PIE796) (#17274)

Rule changes

  • [ruff] Fix RUF100 to detect unused file-level noqa directives with specific codes (#17042) (#17061)
  • [flake8-pytest-style] Avoid false positive for legacy form of pytest.raises (PT011) (#17231)

Documentation

  • Fix formatting of "See Style Guide" link (#17272)

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)

... (truncated)

Commits

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.10 to 0.11.5.
- [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.10...0.11.5)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.11.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
apply autofixes for most of the new ones: `make autofix`, disable the
other new rule for now as Pathlib is not yet in use. Move an import to
the typechecking block
@rmuir rmuir merged commit 49f8c81 into main Apr 10, 2025
8 checks passed
@dependabot dependabot bot deleted the dependabot/pip/dev-tools/scripts/ruff-0.11.5 branch April 10, 2025 19:26
rmuir added a commit that referenced this pull request Apr 10, 2025
…14471)

* build(deps): bump ruff from 0.9.10 to 0.11.5 in /dev-tools/scripts

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.9.10 to 0.11.5.
- [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.10...0.11.5)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.11.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix failures from new checks in the upgraded linter

apply autofixes for most of the new ones: `make autofix`, disable the
other new rule for now as Pathlib is not yet in use. Move an import to
the typechecking block

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robert Muir <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Dependency Updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant