Skip to content

Bump ruff from 0.12.2 to 0.12.3 #12776

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

Merged
merged 1 commit into from
Jul 16, 2025
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 14, 2025

Bumps ruff from 0.12.2 to 0.12.3.

Release notes

Sourced from ruff's releases.

0.12.3

Release Notes

Preview features

  • [flake8-bugbear] Support non-context-manager calls in B017 (#19063)
  • [flake8-use-pathlib] Add autofixes for PTH100, PTH106, PTH107, PTH108, PTH110, PTH111, PTH112, PTH113, PTH114, PTH115, PTH117, PTH119, PTH120 (#19213)
  • [flake8-use-pathlib] Add autofixes for PTH203, PTH204, PTH205 (#18922)

Bug fixes

  • [flake8-return] Fix false-positive for variables used inside nested functions in RET504 (#18433)
  • Treat form feed as valid whitespace before a line continuation (#19220)
  • [flake8-type-checking] Fix syntax error introduced by fix (TC008) (#19150)
  • [pyupgrade] Keyword arguments in super should suppress the UP008 fix (#19131)

Documentation

  • [flake8-pyi] Make example error out-of-the-box (PYI007, PYI008) (#19103)
  • [flake8-simplify] Make example error out-of-the-box (SIM116) (#19111)
  • [flake8-type-checking] Make example error out-of-the-box (TC001) (#19151)
  • [flake8-use-pathlib] Make example error out-of-the-box (PTH210) (#19189)
  • [pycodestyle] Make example error out-of-the-box (E272) (#19191)
  • [pycodestyle] Make example not raise unnecessary SyntaxError (E114) (#19190)
  • [pydoclint] Make example error out-of-the-box (DOC501) (#19218)
  • [pylint, pyupgrade] Fix syntax errors in examples (PLW1501, UP028) (#19127)
  • [pylint] Update missing-maxsplit-arg docs and error to suggest proper usage (PLC0207) (#18949)
  • [flake8-bandit] Make example error out-of-the-box (S412) (#19241)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.12.3

Preview features

  • [flake8-bugbear] Support non-context-manager calls in B017 (#19063)
  • [flake8-use-pathlib] Add autofixes for PTH100, PTH106, PTH107, PTH108, PTH110, PTH111, PTH112, PTH113, PTH114, PTH115, PTH117, PTH119, PTH120 (#19213)
  • [flake8-use-pathlib] Add autofixes for PTH203, PTH204, PTH205 (#18922)

Bug fixes

  • [flake8-return] Fix false-positive for variables used inside nested functions in RET504 (#18433)
  • Treat form feed as valid whitespace before a line continuation (#19220)
  • [flake8-type-checking] Fix syntax error introduced by fix (TC008) (#19150)
  • [pyupgrade] Keyword arguments in super should suppress the UP008 fix (#19131)

Documentation

  • [flake8-pyi] Make example error out-of-the-box (PYI007, PYI008) (#19103)
  • [flake8-simplify] Make example error out-of-the-box (SIM116) (#19111)
  • [flake8-type-checking] Make example error out-of-the-box (TC001) (#19151)
  • [flake8-use-pathlib] Make example error out-of-the-box (PTH210) (#19189)
  • [pycodestyle] Make example error out-of-the-box (E272) (#19191)
  • [pycodestyle] Make example not raise unnecessary SyntaxError (E114) (#19190)
  • [pydoclint] Make example error out-of-the-box (DOC501) (#19218)
  • [pylint, pyupgrade] Fix syntax errors in examples (PLW1501, UP028) (#19127)
  • [pylint] Update missing-maxsplit-arg docs and error to suggest proper usage (PLC0207) (#18949)
  • [flake8-bandit] Make example error out-of-the-box (S412) (#19241)
Commits
  • 5bc81f2 Bump 0.12.3 (#19279)
  • 6908e26 Filter ruff_linter::VERSION out of SARIF output tests (#19280)
  • 25c4295 [ty] Avoid stale diagnostics for open files diagnostic mode (#19273)
  • 426fa4b [ty] Add signature help provider to playground (#19276)
  • b0b65c2 [ty] Initial implementation of signature help provider (#19194)
  • 08bc6d2 Add simple integration tests for all output formats (#19265)
  • f2ae12b [flake8-return] Fix false-positive for variables used inside nested functio...
  • 965f415 [ty] Add a --quiet mode (#19233)
  • 83b5bbf Treat form feed as valid whitespace before a line continuation (#19220)
  • 87f6f08 [ty] Make check_file a salsa query (#19255)
  • 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.12.2 to 0.12.3.
- [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.12.2...0.12.3)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 14, 2025
@dependabot dependabot bot requested review from Maffooch and mtesauro as code owners July 14, 2025 14:37
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 14, 2025
Copy link

DryRun Security

This pull request adds the Ruff linter (version 0.12.3) as a development dependency, which is a standard code quality tool that does not introduce any immediate security risks or runtime vulnerabilities.

Dependency Risk in requirements-lint.txt
Vulnerability Dependency Risk
Description The addition of ruff 0.12.3 is a development dependency (linter) that does not introduce a direct runtime security vulnerability. While all third-party dependencies carry potential supply chain risks, this is a standard linting tool that typically improves code security. No specific security vulnerabilities were found for this version. The dependency appears to be a standard development tool for code quality and does not pose an immediate security threat.


All finding details can be found in the DryRun Security Dashboard.

Copy link
Contributor

@mtesauro mtesauro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@Maffooch Maffooch merged commit e74fedb into dev Jul 16, 2025
86 checks passed
@dependabot dependabot bot deleted the dependabot/pip/dev/ruff-0.12.3 branch July 16, 2025 16:39
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants