Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 4, 2025

Bumps ruff from 0.11.9 to 0.12.12.

Release notes

Sourced from ruff's releases.

0.12.12

Release Notes

Preview features

  • Show fixes by default (#19919)
  • [airflow] Convert DatasetOrTimeSchedule(datasets=...) to AssetOrTimeSchedule(assets=...) (AIR311) (#20202)
  • [airflow] Improve the AIR002 error message (#20173)
  • [airflow] Move airflow.operators.postgres_operator.Mapping from AIR302 to AIR301 (#20172)
  • [flake8-async] Implement blocking-input rule (ASYNC250) (#20122)
  • [flake8-use-pathlib] Make PTH119 and PTH120 fixes unsafe because they can change behavior (#20118)
  • [pylint] Add U+061C to PLE2502 (#20106)
  • [ruff] Fix false negative for empty f-strings in deque calls (RUF037) (#20109)

Bug fixes

  • Less confidently mark f-strings as empty when inferring truthiness (#20152)
  • [fastapi] Fix false positive for paths with spaces around parameters (FAST003) (#20077)
  • [flake8-comprehensions] Skip C417 when lambda contains yield/yield from (#20201)
  • [perflint] Handle tuples in dictionary comprehensions (PERF403) (#19934)

Rule changes

  • [pycodestyle] Preserve return type annotation for ParamSpec (E731) (#20108)

Documentation

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.12.12

Preview features

  • Show fixes by default (#19919)
  • [airflow] Convert DatasetOrTimeSchedule(datasets=...) to AssetOrTimeSchedule(assets=...) (AIR311) (#20202)
  • [airflow] Improve the AIR002 error message (#20173)
  • [airflow] Move airflow.operators.postgres_operator.Mapping from AIR302 to AIR301 (#20172)
  • [flake8-async] Implement blocking-input rule (ASYNC250) (#20122)
  • [flake8-use-pathlib] Make PTH119 and PTH120 fixes unsafe because they can change behavior (#20118)
  • [pylint] Add U+061C to PLE2502 (#20106)
  • [ruff] Fix false negative for empty f-strings in deque calls (RUF037) (#20109)

Bug fixes

  • Less confidently mark f-strings as empty when inferring truthiness (#20152)
  • [fastapi] Fix false positive for paths with spaces around parameters (FAST003) (#20077)
  • [flake8-comprehensions] Skip C417 when lambda contains yield/yield from (#20201)
  • [perflint] Handle tuples in dictionary comprehensions (PERF403) (#19934)

Rule changes

  • [pycodestyle] Preserve return type annotation for ParamSpec (E731) (#20108)

Documentation

0.12.11

Preview features

  • [airflow] Extend AIR311 and AIR312 rules (#20082)
  • [airflow] Replace wrong path airflow.io.storage with airflow.io.store (AIR311) (#20081)
  • [flake8-async] Implement blocking-http-call-httpx-in-async-function (ASYNC212) (#20091)
  • [flake8-logging-format] Add auto-fix for f-string logging calls (G004) (#19303)
  • [flake8-use-pathlib] Add autofix for PTH211 (#20009)
  • [flake8-use-pathlib] Make PTH100 fix unsafe because it can change behavior (#20100)

Bug fixes

  • [pyflakes, pylint] Fix false positives caused by __class__ cell handling (F841, PLE0117) (#20048)
  • [pyflakes] Fix allowed-unused-imports matching for top-level modules (F401) (#20115)
  • [ruff] Fix false positive for t-strings in default-factory-kwarg (RUF026) (#20032)
  • [ruff] Preserve relative whitespace in multi-line expressions (RUF033) (#19647)

Rule changes

  • [ruff] Handle empty t-strings in unnecessary-empty-iterable-within-deque-call (RUF037) (#20045)

... (truncated)

Commits
  • c6516e9 Bump 0.12.12 (#20242)
  • 1aaa084 [ty] More tests for TypedDict (#20205)
  • b49aa35 Split LICENSE addendum by derivation type (#20222)
  • 1e34f3f [ty] Fix small test typo (#20220)
  • 77b2cee [ty] Add functions for revealing assignability/subtyping constraints (#20217)
  • 200349c [flake8-comprehensions] Skip C417 when lambda contains yield/`yield fro...
  • 0d4f7dd [ty] Treat __new__ as a static method (#20212)
  • cb1ba0d Expose Indentation in ruff_python_codegen (#20216)
  • cda376a [ty]eliminate definitely-impossible types from union in equality narrowing (#...
  • b14fc96 Update Rust crate tracing-subscriber to v0.3.20 (#20162)
  • Additional commits viewable in compare view

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.11.9 to 0.12.12.
- [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.11.9...0.12.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 4, 2025
@github-actions github-actions bot added the topic: build Related to build, installation & CI label Sep 4, 2025
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedruff@​0.11.9 ⏵ 0.12.12100 +1100100100100 +31

View full report

@codecov
Copy link

codecov bot commented Sep 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.07%. Comparing base (9cba4af) to head (c36b708).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #502   +/-   ##
=======================================
  Coverage   84.07%   84.07%           
=======================================
  Files          39       39           
  Lines        1212     1212           
=======================================
  Hits         1019     1019           
  Misses        193      193           
Flag Coverage Δ
backend 83.40% <ø> (ø)
client 93.67% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 10, 2025

Superseded by #507.

@dependabot dependabot bot closed this Sep 10, 2025
@dependabot dependabot bot deleted the dependabot/pip/ruff-0.12.12 branch September 10, 2025 20:05
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 topic: build Related to build, installation & CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant