Skip to content

chore(deps): update dependency ruff to v0.13.0#512

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/ruff-0.x
Sep 10, 2025
Merged

chore(deps): update dependency ruff to v0.13.0#512
renovate[bot] merged 1 commit into
mainfrom
renovate/ruff-0.x

Conversation

@renovate

@renovate renovate Bot commented Sep 10, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
ruff (source, changelog) ==0.12.12 -> ==0.13.0 age confidence

Release Notes

astral-sh/ruff (ruff)

v0.13.0

Compare Source

Check out the blog post for a migration
guide and overview of the changes!

Breaking changes
  • Several rules can now add from __future__ import annotations automatically

    TC001, TC002, TC003, RUF013, and UP037 now add from __future__ import annotations as part of their fixes when the
    lint.future-annotations setting is enabled. This allows the rules to move
    more imports into TYPE_CHECKING blocks (TC001, TC002, and TC003),
    use PEP 604 union syntax on Python versions before 3.10 (RUF013), and
    unquote more annotations (UP037).

  • Full module paths are now used to verify first-party modules

    Ruff now checks that the full path to a module exists on disk before
    categorizing it as a first-party import. This change makes first-party
    import detection more accurate, helping to avoid false positives on local
    directories with the same name as a third-party dependency, for example. See
    the FAQ
    section
    on import categorization for more details.

  • Deprecated rules must now be selected by exact rule code

    Ruff will no longer activate deprecated rules selected by their group name
    or prefix. As noted below, the two remaining deprecated rules were also
    removed in this release, so this won't affect any current rules, but it will
    still affect any deprecations in the future.

  • The deprecated macOS configuration directory fallback has been removed

    Ruff will no longer look for a user-level configuration file at
    ~/Library/Application Support/ruff/ruff.toml on macOS. This feature was
    deprecated in v0.5 in favor of using the XDG
    specification

    (usually resolving to ~/.config/ruff/ruff.toml), like on Linux. The
    fallback and accompanying deprecation warning have now been removed.

Removed Rules

The following rules have been removed:

Stabilization

The following rules have been stabilized and are no longer in preview:

The following behaviors have been stabilized:

Preview features
  • [pyupgrade] Enable UP043 in stub files (#​20027)
Bug fixes
  • [pyupgrade] Apply UP008 only when the __class__ cell exists (#​19424)
  • [ruff] Fix empty f-string detection in in-empty-collection (RUF060) (#​20249)
Server
  • Add support for using uv as an alternative formatter backend (#​19665)
Documentation
  • [pep8-naming] Fix formatting of __all__ (N816) (#​20301)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot enabled auto-merge September 10, 2025 22:22
@codecov-commenter

codecov-commenter commented Sep 10, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.97%. Comparing base (57ba307) to head (b0a7fe2).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #512   +/-   ##
=======================================
  Coverage   91.97%   91.97%           
=======================================
  Files           1        1           
  Lines         187      187           
  Branches       24       24           
=======================================
  Hits          172      172           
  Misses         10       10           
  Partials        5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate renovate Bot merged commit 368ba2f into main Sep 10, 2025
9 checks passed
@renovate renovate Bot deleted the renovate/ruff-0.x branch September 10, 2025 22:22
@renovate-releases

Copy link
Copy Markdown

🎉 This PR is included in version 4.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant