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

chore(deps-dev): bump ruff from 0.9.5 to 0.9.6 #17084

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 11, 2025

Bumps ruff from 0.9.5 to 0.9.6.

Release notes

Sourced from ruff's releases.

0.9.6

Release Notes

Preview features

  • [airflow] Add external_task.{ExternalTaskMarker, ExternalTaskSensor} for AIR302 (#16014)
  • [flake8-builtins] Make strict module name comparison optional (A005) (#15951)
  • [flake8-pyi] Extend fix to Python <= 3.9 for redundant-none-literal (PYI061) (#16044)
  • [pylint] Also report when the object isn't a literal (PLE1310) (#15985)
  • [ruff] Implement indented-form-feed (RUF054) (#16049)
  • [ruff] Skip type definitions for missing-f-string-syntax (RUF027) (#16054)

Rule changes

  • [flake8-annotations] Correct syntax for typing.Union in suggested return type fixes for ANN20x rules (#16025)
  • [flake8-builtins] Match upstream module name comparison (A005) (#16006)
  • [flake8-comprehensions] Detect overshadowed list/set/dict, ignore variadics and named expressions (C417) (#15955)
  • [flake8-pie] Remove following comma correctly when the unpacked dictionary is empty (PIE800) (#16008)
  • [flake8-simplify] Only trigger SIM401 on known dictionaries (#15995)
  • [pylint] Do not report calls when object type and argument type mismatch, remove custom escape handling logic (PLE1310) (#15984)
  • [pyupgrade] Comments within parenthesized value ranges should not affect applicability (UP040) (#16027)
  • [pyupgrade] Don't introduce invalid syntax when upgrading old-style type aliases with parenthesized multiline values (UP040) (#16026)
  • [pyupgrade] Ensure we do not rename two type parameters to the same name (UP049) (#16038)
  • [pyupgrade] [ruff] Don't apply renamings if the new name is shadowed in a scope of one of the references to the binding (UP049, RUF052) (#16032)
  • [ruff] Update RUF009 to behave similar to B008 and ignore attributes with immutable types (#16048)

Server

  • Root exclusions in the server to project root (#16043)

Bug fixes

  • [flake8-datetime] Ignore .replace() calls while looking for .astimezone (#16050)
  • [flake8-type-checking] Avoid TC004 false positive where the runtime definition is provided by __getattr__ (#16052)

Documentation

  • Improve ruff-lsp migration document (#16072)
  • Undeprecate ruff.nativeServer (#16039)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.9.6

Preview features

  • [airflow] Add external_task.{ExternalTaskMarker, ExternalTaskSensor} for AIR302 (#16014)
  • [flake8-builtins] Make strict module name comparison optional (A005) (#15951)
  • [flake8-pyi] Extend fix to Python <= 3.9 for redundant-none-literal (PYI061) (#16044)
  • [pylint] Also report when the object isn't a literal (PLE1310) (#15985)
  • [ruff] Implement indented-form-feed (RUF054) (#16049)
  • [ruff] Skip type definitions for missing-f-string-syntax (RUF027) (#16054)

Rule changes

  • [flake8-annotations] Correct syntax for typing.Union in suggested return type fixes for ANN20x rules (#16025)
  • [flake8-builtins] Match upstream module name comparison (A005) (#16006)
  • [flake8-comprehensions] Detect overshadowed list/set/dict, ignore variadics and named expressions (C417) (#15955)
  • [flake8-pie] Remove following comma correctly when the unpacked dictionary is empty (PIE800) (#16008)
  • [flake8-simplify] Only trigger SIM401 on known dictionaries (#15995)
  • [pylint] Do not report calls when object type and argument type mismatch, remove custom escape handling logic (PLE1310) (#15984)
  • [pyupgrade] Comments within parenthesized value ranges should not affect applicability (UP040) (#16027)
  • [pyupgrade] Don't introduce invalid syntax when upgrading old-style type aliases with parenthesized multiline values (UP040) (#16026)
  • [pyupgrade] Ensure we do not rename two type parameters to the same name (UP049) (#16038)
  • [pyupgrade] [ruff] Don't apply renamings if the new name is shadowed in a scope of one of the references to the binding (UP049, RUF052) (#16032)
  • [ruff] Update RUF009 to behave similar to B008 and ignore attributes with immutable types (#16048)

Server

  • Root exclusions in the server to project root (#16043)

Bug fixes

  • [flake8-datetime] Ignore .replace() calls while looking for .astimezone (#16050)
  • [flake8-type-checking] Avoid TC004 false positive where the runtime definition is provided by __getattr__ (#16052)

Documentation

  • Improve ruff-lsp migration document (#16072)
  • Undeprecate ruff.nativeServer (#16039)
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.5 to 0.9.6.
- [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.5...0.9.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from cicdw as a code owner February 11, 2025 00:17
@dependabot dependabot bot added the development Tech debt, refactors, CI, tests, and other related work. label Feb 11, 2025
@github-actions github-actions bot added the upstream dependency An upstream issue caused by a bug in one of our dependencies label Feb 11, 2025
Copy link

codspeed-hq bot commented Feb 11, 2025

CodSpeed Performance Report

Merging #17084 will not alter performance

Comparing dependabot/pip/ruff-0.9.6 (ded92e6) with main (b0a81d3)

Summary

✅ 2 untouched benchmarks

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
development Tech debt, refactors, CI, tests, and other related work. upstream dependency An upstream issue caused by a bug in one of our dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants