Skip to content

build(deps): update dependency ruff to v0.12.9 #1009

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

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

Conversation

serious-scaffold[bot]
Copy link
Contributor

@serious-scaffold serious-scaffold bot commented Jul 21, 2025

This PR contains the following updates:

Package Change Age Confidence
ruff (source, changelog) 0.12.3 -> 0.12.9 age confidence

Release Notes

astral-sh/ruff (ruff)

v0.12.9

Compare Source

Preview features
  • [airflow] Add check for airflow.secrets.cache.SecretCache (AIR301) (#​17707)
  • [ruff] Offer a safe fix for multi-digit zeros (RUF064) (#​19847)
Bug fixes
  • [flake8-blind-except] Fix BLE001 false-positive on raise ... from None (#​19755)
  • [flake8-comprehensions] Fix false positive for C420 with attribute, subscript, or slice assignment targets (#​19513)
  • [flake8-simplify] Fix handling of U+001C..U+001F whitespace (SIM905) (#​19849)
Rule changes
  • [pylint] Use lowercase hex characters to match the formatter (PLE2513) (#​19808)
Documentation
  • Fix lint.future-annotations link (#​19876)
Other changes
  • Build riscv64 binaries for release (#​19819)
  • Add rule code to error description in GitLab output (#​19896)

v0.12.8

Compare Source

Preview features
  • [flake8-use-pathlib] Expand PTH201 to check all PurePath subclasses (#​19440)
Bug fixes
  • [flake8-blind-except] Change BLE001 to correctly parse exception tuples (#​19747)
  • [flake8-errmsg] Exclude typing.cast from EM101 (#​19656)
  • [flake8-simplify] Fix raw string handling in SIM905 for embedded quotes (#​19591)
  • [flake8-import-conventions] Avoid false positives for NFKC-normalized __debug__ import aliases in ICN001 (#​19411)
  • [isort] Fix syntax error after docstring ending with backslash (I002) (#​19505)
  • [pylint] Mark PLC0207 fixes as unsafe when *args unpacking is present (#​19679)
  • [pyupgrade] Prevent infinite loop with I002 (UP010, UP035) (#​19413)
  • [ruff] Parenthesize generator expressions in f-strings (RUF010) (#​19434)
Rule changes
  • [eradicate] Don't flag pyrefly pragmas as unused code (ERA001) (#​19731)
Documentation
Other changes
  • Include column numbers in GitLab output format (#​19708)
  • Always expand tabs to four spaces in diagnostics (#​19618)
  • Update pre-commit's ruff id (#​19654)

v0.12.7

This is a follow-up release to 0.12.6. Because of an issue in the package metadata, 0.12.6 failed to publish fully to PyPI and has been yanked. Similarly, there is no GitHub release or Git tag for 0.12.6. The contents of the 0.12.7 release are identical to 0.12.6, except for the updated metadata.

v0.12.6

Preview features
  • [flake8-commas] Add support for trailing comma checks in type parameter lists (COM812, COM819) (#​19390)
  • [pylint] Implement auto-fix for missing-maxsplit-arg (PLC0207) (#​19387)
  • [ruff] Offer fixes for RUF039 in more cases (#​19065)
Bug fixes
  • Support .pyi files in ruff analyze graph (#​19611)
  • [flake8-pyi] Preserve inline comment in ellipsis removal (PYI013) (#​19399)
  • [perflint] Ignore rule if target is global or nonlocal (PERF401) (#​19539)
  • [pyupgrade] Fix UP030 to avoid modifying double curly braces in format strings (#​19378)
  • [refurb] Ignore decorated functions for FURB118 (#​19339)
  • [refurb] Mark int and bool cases for Decimal.from_float as safe fixes (FURB164) (#​19468)
  • [ruff] Fix RUF033 for named default expressions (#​19115)
Rule changes
  • [flake8-blind-except] Change BLE001 to permit logging.critical(..., exc_info=True) (#​19520)
Performance
  • Add support for specifying minimum dots in detected string imports (#​19538)

v0.12.5

Compare Source

Preview features
  • [flake8-use-pathlib] Add autofix for PTH101, PTH104, PTH105, PTH121 (#​19404)
  • [ruff] Support byte strings (RUF055) (#​18926)
Bug fixes
  • Fix unreachable panic in parser (#​19183)
  • [flake8-pyi] Skip fix if all Union members are None (PYI016) (#​19416)
  • [perflint] Parenthesize generator expressions (PERF401) (#​19325)
  • [pylint] Handle empty comments after line continuation (PLR2044) (#​19405)
Rule changes
  • [pep8-naming] Fix N802 false positives for CGIHTTPRequestHandler and SimpleHTTPRequestHandler (#​19432)

v0.12.4

Compare Source

Preview features
  • [flake8-type-checking, pyupgrade, ruff] Add from __future__ import annotations when it would allow new fixes (TC001, TC002, TC003, UP037, RUF013) (#​19100)
  • [flake8-use-pathlib] Add autofix for PTH109 (#​19245)
  • [pylint] Detect indirect pathlib.Path usages for unspecified-encoding (PLW1514) (#​19304)
Bug fixes
  • [flake8-bugbear] Fix B017 false negatives for keyword exception arguments (#​19217)
  • [flake8-use-pathlib] Fix false negative on direct Path() instantiation (PTH210) (#​19388)
  • [flake8-django] Fix DJ008 false positive for abstract models with type-annotated abstract field (#​19221)
  • [isort] Fix I002 import insertion after docstring with multiple string statements (#​19222)
  • [isort] Treat form feed as valid whitespace before a semicolon (#​19343)
  • [pydoclint] Fix SyntaxError from fixes with line continuations (D201, D202) (#​19246)
  • [refurb] FURB164 fix should validate arguments and should usually be marked unsafe (#​19136)
Rule changes
  • [flake8-use-pathlib] Skip single dots for invalid-pathlib-with-suffix (PTH210) on versions >= 3.14 (#​19331)
  • [pep8_naming] Avoid false positives on standard library functions with uppercase names (N802) (#​18907)
  • [pycodestyle] Handle brace escapes for t-strings in logical lines (#​19358)
  • [pylint] Extend invalid string character rules to include t-strings (#​19355)
  • [ruff] Allow strict kwarg when checking for starmap-zip (RUF058) in Python 3.14+ (#​19333)
Documentation

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 has been generated by Renovate Bot.

@serious-scaffold serious-scaffold bot force-pushed the renovate-github/ruff-0.x branch from 80ca72a to bdb1bb1 Compare July 28, 2025 00:50
@serious-scaffold serious-scaffold bot changed the title build(deps): update dependency ruff to v0.12.4 build(deps): update dependency ruff to v0.12.5 Jul 28, 2025
@serious-scaffold serious-scaffold bot force-pushed the renovate-github/ruff-0.x branch from bdb1bb1 to 6ceadd2 Compare August 4, 2025 00:53
@serious-scaffold serious-scaffold bot changed the title build(deps): update dependency ruff to v0.12.5 build(deps): update dependency ruff to v0.12.7 Aug 4, 2025
@serious-scaffold serious-scaffold bot force-pushed the renovate-github/ruff-0.x branch from 6ceadd2 to e63b991 Compare August 11, 2025 00:48
@serious-scaffold serious-scaffold bot changed the title build(deps): update dependency ruff to v0.12.7 build(deps): update dependency ruff to v0.12.8 Aug 11, 2025
@serious-scaffold serious-scaffold bot force-pushed the renovate-github/ruff-0.x branch from e63b991 to 07413fa Compare August 18, 2025 00:47
@serious-scaffold serious-scaffold bot changed the title build(deps): update dependency ruff to v0.12.8 build(deps): update dependency ruff to v0.12.9 Aug 18, 2025
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.

0 participants