Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 29, 2025

This PR contains the following updates:

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

Release Notes

astral-sh/ruff (ruff)

v0.14.0

Compare Source

Released on 2025-10-07.

Breaking changes
  • Update default and latest Python versions for 3.14 (#​20725)
Preview features
  • [flake8-bugbear] Include certain guaranteed-mutable expressions: tuples, generators, and assignment expressions (B006) (#​20024)
  • [refurb] Add fixes for FURB101 and FURB103 (#​20520)
  • [ruff] Extend FA102 with listed PEP 585-compatible APIs (#​20659)
Bug fixes
  • [flake8-annotations] Fix return type annotations to handle shadowed builtin symbols (ANN201, ANN202, ANN204, ANN205, ANN206) (#​20612)
  • [flynt] Fix f-string quoting for mixed quote joiners (FLY002) (#​20662)
  • [isort] Fix inserting required imports before future imports (I002) (#​20676)
  • [ruff] Handle argfile expansion errors gracefully (#​20691)
  • [ruff] Skip RUF051 if else/elif block is present (#​20705)
  • [ruff] Improve handling of intermixed comments inside from-imports (#​20561)
Documentation
  • [flake8-comprehensions] Clarify fix safety documentation (C413) (#​20640)
Contributors

v0.13.3

Compare Source

Released on 2025-10-02.

Preview features
  • Display diffs for ruff format --check and add support for different output formats (#​20443)
  • [pyflakes] Handle some common submodule import situations for unused-import (F401) (#​20200)
  • [ruff] Do not flag %r + repr() combinations (RUF065) (#​20600)
Bug fixes
  • [cli] Add conflict between --add-noqa and --diff options (#​20642)
  • [pylint] Exempt required imports from PLR0402 (#​20381)
  • [pylint] Fix missing max-nested-blocks in settings display (#​20574)
  • [pyupgrade] Prevent infinite loop with I002 and UP026 (#​20634)
Rule changes
  • [flake8-simplify] Improve help message clarity (SIM105) (#​20548)
Documentation
  • Add the The Basics title back to CONTRIBUTING.md (#​20624)
  • Fixed documentation for try_consider_else (#​20587)
  • [isort] Clarify dependency between order-by-type and case-sensitive settings (#​20559)
  • [pylint] Clarify fix safety to include left-hand hashability (PLR6201) (#​20518)
Other changes
  • [playground] Fix quick fixes for empty ranges in playground (#​20599)
Contributors

v0.13.2

Compare Source

Released on 2025-09-25.

Preview features
  • [flake8-async] Implement blocking-path-method (ASYNC240) (#​20264)
  • [flake8-bugbear] Implement map-without-explicit-strict (B912) (#​20429)
  • [flake8-bultins] Detect class-scope builtin shadowing in decorators, default args, and attribute initializers (A003) (#​20178)
  • [ruff] Implement logging-eager-conversion (RUF065) (#​19942)
  • Include .pyw files by default when linting and formatting (#​20458)
Bug fixes
  • Deduplicate input paths (#​20105)
  • [flake8-comprehensions] Preserve trailing commas for single-element lists (C409) (#​19571)
  • [flake8-pyi] Avoid syntax error from conflict with PIE790 (PYI021) (#​20010)
  • [flake8-simplify] Correct fix for positive maxsplit without separator (SIM905) (#​20056)
  • [pyupgrade] Fix UP008 not to apply when __class__ is a local variable (#​20497)
  • [ruff] Fix B004 to skip invalid hasattr/getattr calls (#​20486)
  • [ruff] Replace -nan with nan when using the value to construct a Decimal (FURB164 ) (#​20391)
Documentation
  • Add 'Finding ways to help' to CONTRIBUTING.md (#​20567)
  • Update import path to ruff-wasm-web (#​20539)
  • [flake8-bandit] Clarify the supported hashing functions (S324) (#​20534)
Other changes
  • [playground] Allow hover quick fixes to appear for overlapping diagnostics (#​20527)
  • [playground] Fix non‑BMP code point handling in quick fixes and markers (#​20526)
Contributors

v0.13.1

Compare Source

Released on 2025-09-18.

Preview features
  • [flake8-simplify] Detect unnecessary None default for additional key expression types (SIM910) (#​20343)
  • [flake8-use-pathlib] Add fix for PTH123 (#​20169)
  • [flake8-use-pathlib] Fix PTH101, PTH104, PTH105, PTH121 fixes (#​20143)
  • [flake8-use-pathlib] Make PTH111 fix unsafe because it can change behavior (#​20215)
  • [pycodestyle] Fix E301 to only trigger for functions immediately within a class (#​19768)
  • [refurb] Mark single-item-membership-test fix as always unsafe (FURB171) (#​20279)
Bug fixes
  • Handle t-strings for token-based rules and suppression comments (#​20357)
  • [flake8-bandit] Fix truthiness: dict-only ** displays not truthy for shell (S602, S604, S609) (#​20177)
  • [flake8-simplify] Fix diagnostic to show correct method name for str.rsplit calls (SIM905) (#​20459)
  • [flynt] Use triple quotes for joined raw strings with newlines (FLY002) (#​20197)
  • [pyupgrade] Fix false positive when class name is shadowed by local variable (UP008) (#​20427)
  • [pyupgrade] Prevent infinite loop with I002 and UP026 (#​20327)
  • [ruff] Recognize t-strings, generators, and lambdas in invalid-index-type (RUF016) (#​20213)
Rule changes
  • [RUF102] Respect rule redirects in invalid rule code detection (#​20245)
  • [flake8-bugbear] Mark the fix for unreliable-callable-check as always unsafe (B004) (#​20318)
  • [ruff] Allow dataclass attribute value instantiation from nested frozen dataclass (RUF009) (#​20352)
CLI
  • Add fixes to output-format=sarif (#​20300)
  • Treat panics as fatal diagnostics, sort panics last (#​20258)
Documentation
  • [ruff] Add analyze.string-imports-min-dots to settings (#​20375)
  • Update README.md with Albumentations new repository URL (#​20415)
Other changes
  • Bump MSRV to Rust 1.88 (#​20470)
  • Enable inline noqa for multiline strings in playground (#​20442)
Contributors

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 - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), 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.

@coderabbitai
Copy link

coderabbitai bot commented Sep 29, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Note

Free review on us!

CodeRabbit is offering free reviews until Wed Oct 08 2025 to showcase some of the refinements we've made.

Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate renovate bot force-pushed the renovate/ruff-0.x branch 3 times, most recently from 12d9e45 to cee3efb Compare October 2, 2025 22:25
@renovate renovate bot changed the title Update dependency ruff to v0.13.2 Update dependency ruff to v0.13.3 Oct 2, 2025
@renovate renovate bot force-pushed the renovate/ruff-0.x branch 4 times, most recently from 9e39a9c to 6eb43c8 Compare October 7, 2025 19:10
@renovate renovate bot changed the title Update dependency ruff to v0.13.3 Update dependency ruff to v0.14.0 Oct 7, 2025
@renovate renovate bot force-pushed the renovate/ruff-0.x branch 2 times, most recently from 1533bd9 to c091f45 Compare October 7, 2025 19:30
@codecov
Copy link

codecov bot commented Oct 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.18%. Comparing base (3d96387) to head (60aee82).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #99   +/-   ##
=======================================
  Coverage   91.18%   91.18%           
=======================================
  Files           7        7           
  Lines         919      919           
=======================================
  Hits          838      838           
  Misses         81       81           

☔ 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 force-pushed the renovate/ruff-0.x branch from c091f45 to 7a47b62 Compare October 7, 2025 19:35
@renovate renovate bot force-pushed the renovate/ruff-0.x branch from 7a47b62 to ae7bcda Compare October 7, 2025 19:52
@renovate renovate bot force-pushed the renovate/ruff-0.x branch from ae7bcda to 78358fa Compare October 7, 2025 20:00
@renovate renovate bot force-pushed the renovate/ruff-0.x branch 2 times, most recently from b9ac475 to 41224df Compare October 7, 2025 20:03
@renovate renovate bot force-pushed the renovate/ruff-0.x branch 2 times, most recently from c5d9acc to ba82902 Compare October 7, 2025 20:08
@renovate renovate bot force-pushed the renovate/ruff-0.x branch from ba82902 to 60aee82 Compare October 7, 2025 20:17
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 7, 2025

@renovate renovate bot merged commit a27714c into main Oct 7, 2025
14 checks passed
@renovate renovate bot deleted the renovate/ruff-0.x branch October 7, 2025 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant