Skip to content

chore(deps-dev): bump ruff from 0.5.7 to 0.11.5#1162

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/ruff-0.11.5
Closed

chore(deps-dev): bump ruff from 0.5.7 to 0.11.5#1162
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/ruff-0.11.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 11, 2025

Copy link
Copy Markdown
Contributor

Bumps ruff from 0.5.7 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

You can trigger a rebase of this PR 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)

Greptile Summary

Disclaimer: Experimental PR review

This PR updates the ruff dependency in pyproject.toml from version range >=0.1.8,<0.6.0 to >=0.1.8,<0.12.0, allowing for newer versions of the Python linter and formatter.

  • Updated ruff version constraint in pyproject.toml to support versions up to 0.11.5
  • New ruff versions include improved syntax error detection capabilities
  • Bug fixes for false positives in various linting rules (PIE796, PT011)
  • Enhanced rule detection for unused file-level noqa directives (RUF100)
  • Includes new preview features for Airflow-specific linting rules

Greptile AI

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 11, 2025

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@dependabot dependabot Bot force-pushed the dependabot/pip/ruff-0.11.5 branch from 9158ee3 to e329ae8 Compare April 17, 2025 06:00
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.7 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.5.7...0.11.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/ruff-0.11.5 branch from e329ae8 to 563d846 Compare April 18, 2025 05:15
@dependabot @github

dependabot Bot commented on behalf of github Apr 18, 2025

Copy link
Copy Markdown
Contributor Author

Superseded by #1167.

@dependabot dependabot Bot closed this Apr 18, 2025
@dependabot dependabot Bot deleted the dependabot/pip/ruff-0.11.5 branch April 18, 2025 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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