chore(deps): update dependency ruff to v0.12.3 #66

Merged
hads merged 1 commits from renovate/ruff-0.x-lockfile into main 2025-07-16 09:15:42 +12:00
Owner

This PR contains the following updates:

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

Release Notes

astral-sh/ruff (ruff)

v0.12.3

Compare Source

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)

v0.12.2

Compare Source

Preview features
  • [flake8-pyi] Expand Optional[A] to A | None (PYI016) (#​18572)
  • [pyupgrade] Mark UP008 fix safe if no comments are in range (#​18683)
Bug fixes
  • [flake8-comprehensions] Fix C420 to prepend whitespace when needed (#​18616)
  • [perflint] Fix PERF403 panic on attribute or subscription loop variable (#​19042)
  • [pydocstyle] Fix D413 infinite loop for parenthesized docstring (#​18930)
  • [pylint] Fix PLW0108 autofix introducing a syntax error when the lambda's body contains an assignment expression (#​18678)
  • [refurb] Fix false positive on empty tuples (FURB168) (#​19058)
  • [ruff] Allow more field calls from attrs (RUF009) (#​19021)
  • [ruff] Fix syntax error introduced for an empty string followed by a u-prefixed string (UP025) (#​18899)
Rule changes
  • [flake8-executable] Allow uvx in shebang line (EXE003) (#​18967)
  • [pandas] Avoid flagging PD002 if pandas is not imported (#​18963)
  • [pyupgrade] Avoid PEP-604 unions with typing.NamedTuple (UP007, UP045) (#​18682)
Documentation
  • Document link between import-outside-top-level (PLC0415) and lint.flake8-tidy-imports.banned-module-level-imports (#​18733)
  • Fix description of the format.skip-magic-trailing-comma example (#​19095)
  • [airflow] Make AIR302 example error out-of-the-box (#​18988)
  • [airflow] Make AIR312 example error out-of-the-box (#​18989)
  • [flake8-annotations] Make ANN401 example error out-of-the-box (#​18974)
  • [flake8-async] Make ASYNC100 example error out-of-the-box (#​18993)
  • [flake8-async] Make ASYNC105 example error out-of-the-box (#​19002)
  • [flake8-async] Make ASYNC110 example error out-of-the-box (#​18975)
  • [flake8-async] Make ASYNC210 example error out-of-the-box (#​18977)
  • [flake8-async] Make ASYNC220, ASYNC221, and ASYNC222 examples error out-of-the-box (#​18978)
  • [flake8-async] Make ASYNC251 example error out-of-the-box (#​18990)
  • [flake8-bandit] Make S201 example error out-of-the-box (#​19017)
  • [flake8-bandit] Make S604 and S609 examples error out-of-the-box (#​19049)
  • [flake8-bugbear] Make B028 example error out-of-the-box (#​19054)
  • [flake8-bugbear] Make B911 example error out-of-the-box (#​19051)
  • [flake8-datetimez] Make DTZ011 example error out-of-the-box (#​19055)
  • [flake8-datetimez] Make DTZ901 example error out-of-the-box (#​19056)
  • [flake8-pyi] Make PYI032 example error out-of-the-box (#​19061)
  • [flake8-pyi] Make example error out-of-the-box (PYI014, PYI015) (#​19097)
  • [flake8-pyi] Make example error out-of-the-box (PYI042) (#​19101)
  • [flake8-pyi] Make example error out-of-the-box (PYI059) (#​19080)
  • [flake8-pyi] Make example error out-of-the-box (PYI062) (#​19079)
  • [flake8-pytest-style] Make example error out-of-the-box (PT023) (#​19104)
  • [flake8-pytest-style] Make example error out-of-the-box (PT030) (#​19105)
  • [flake8-quotes] Make example error out-of-the-box (Q003) (#​19106)
  • [flake8-simplify] Make example error out-of-the-box (SIM110) (#​19113)
  • [flake8-simplify] Make example error out-of-the-box (SIM113) (#​19109)
  • [flake8-simplify] Make example error out-of-the-box (SIM401) (#​19110)
  • [pyflakes] Fix backslash in docs (F621) (#​19098)
  • [pylint] Fix PLC0415 example (#​18970)

v0.12.1

Compare Source

Preview features
  • [flake8-errmsg] Extend EM101 to support byte strings (#​18867)
  • [flake8-use-pathlib] Add autofix for PTH202 (#​18763)
  • [pygrep-hooks] Add AsyncMock methods to invalid-mock-access (PGH005) (#​18547)
  • [pylint] Ignore __init__.py files in (PLC0414) (#​18400)
  • [ruff] Trigger RUF037 for empty string and byte strings (#​18862)
  • [formatter] Fix missing blank lines before decorated classes in .pyi files (#​18888)
Bug fixes
  • Avoid generating diagnostics with per-file ignores (#​18801)
  • Handle parenthesized arguments in remove_argument (#​18805)
  • [flake8-logging] Avoid false positive for exc_info=True outside logger.exception (LOG014) (#​18737)
  • [flake8-pytest-style] Enforce pytest import for decorators (#​18779)
  • [flake8-pytest-style] Mark autofix for PT001 and PT023 as unsafe if there's comments in the decorator (#​18792)
  • [flake8-pytest-style] PT001/PT023 fix makes syntax error on parenthesized decorator (#​18782)
  • [flake8-raise] Make fix unsafe if it deletes comments (RSE102) (#​18788)
  • [flake8-simplify] Fix SIM911 autofix creating a syntax error (#​18793)
  • [flake8-simplify] Fix false negatives for shadowed bindings (SIM910, SIM911) (#​18794)
  • [flake8-simplify] Preserve original behavior for except () and bare except (SIM105) (#​18213)
  • [flake8-pyi] Fix PYI041's fix causing TypeError with None | None | ... (#​18637)
  • [perflint] Fix PERF101 autofix creating a syntax error and mark autofix as unsafe if there are comments in the list call expr (#​18803)
  • [perflint] Fix false negative in PERF401 (#​18866)
  • [pylint] Avoid flattening nested min/max when outer call has single argument (PLW3301) (#​16885)
  • [pylint] Fix PLC2801 autofix creating a syntax error (#​18857)
  • [pylint] Mark PLE0241 autofix as unsafe if there's comments in the base classes (#​18832)
  • [pylint] Suppress PLE2510/PLE2512/PLE2513/PLE2514/PLE2515 autofix if the text contains an odd number of backslashes (#​18856)
  • [refurb] Detect more exotic float literals in FURB164 (#​18925)
  • [refurb] Fix FURB163 autofix creating a syntax error for yield expressions (#​18756)
  • [refurb] Mark FURB129 autofix as unsafe if there's comments in the readlines call (#​18858)
  • [ruff] Fix false positives and negatives in RUF010 (#​18690)
  • Fix casing of analyze.direction variant names (#​18892)
Rule changes
  • Fix f-string interpolation escaping in generated fixes (#​18882)
  • [flake8-return] Mark RET501 fix unsafe if comments are inside (#​18780)
  • [flake8-async] Fix detection for large integer sleep durations in ASYNC116 rule (#​18767)
  • [flake8-async] Mark autofix for ASYNC115 as unsafe if the call expression contains comments (#​18753)
  • [flake8-bugbear] Mark autofix for B004 as unsafe if the hasattr call expr contains comments (#​18755)
  • [flake8-comprehension] Mark autofix for C420 as unsafe if there's comments inside the dict comprehension (#​18768)
  • [flake8-comprehensions] Handle template strings for comprehension fixes (#​18710)
  • [flake8-future-annotations] Add autofix (FA100) (#​18903)
  • [pyflakes] Mark F504/F522/F523 autofix as unsafe if there's a call with side effect (#​18839)
  • [pylint] Allow fix with comments and document performance implications (PLW3301) (#​18936)
  • [pylint] Detect more exotic NaN literals in PLW0177 (#​18630)
  • [pylint] Fix PLC1802 autofix creating a syntax error and mark autofix as unsafe if there's comments in the len call (#​18836)
  • [pyupgrade] Extend version detection to include sys.version_info.major (UP036) (#​18633)
  • [ruff] Add lint rule RUF064 for calling chmod with non-octal integers (#​18541)
  • [ruff] Added cls.__dict__.get('__annotations__') check (RUF063) (#​18233)
  • [ruff] Frozen dataclass default should be valid (RUF009) (#​18735)
Server
  • Consider virtual path for various server actions (#​18910)
Documentation
Other changes
  • Disallow newlines in format specifiers of single quoted f- or t-strings (#​18708)
  • [flake8-logging] Add fix safety section to LOG002 (#​18840)
  • [pyupgrade] Add fix safety section to UP010 (#​18838)

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 becomes conflicted, 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.

This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [ruff](https://docs.astral.sh/ruff) ([source](https://github.com/astral-sh/ruff), [changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)) | `0.12.0` -> `0.12.3` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.12.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.12.0/0.12.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.12.3`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0123) [Compare Source](https://github.com/astral-sh/ruff/compare/0.12.2...0.12.3) ##### Preview features - \[`flake8-bugbear`] Support non-context-manager calls in `B017` ([#&#8203;19063](https://github.com/astral-sh/ruff/pull/19063)) - \[`flake8-use-pathlib`] Add autofixes for `PTH100`, `PTH106`, `PTH107`, `PTH108`, `PTH110`, `PTH111`, `PTH112`, `PTH113`, `PTH114`, `PTH115`, `PTH117`, `PTH119`, `PTH120` ([#&#8203;19213](https://github.com/astral-sh/ruff/pull/19213)) - \[`flake8-use-pathlib`] Add autofixes for `PTH203`, `PTH204`, `PTH205` ([#&#8203;18922](https://github.com/astral-sh/ruff/pull/18922)) ##### Bug fixes - \[`flake8-return`] Fix false-positive for variables used inside nested functions in `RET504` ([#&#8203;18433](https://github.com/astral-sh/ruff/pull/18433)) - Treat form feed as valid whitespace before a line continuation ([#&#8203;19220](https://github.com/astral-sh/ruff/pull/19220)) - \[`flake8-type-checking`] Fix syntax error introduced by fix (`TC008`) ([#&#8203;19150](https://github.com/astral-sh/ruff/pull/19150)) - \[`pyupgrade`] Keyword arguments in `super` should suppress the `UP008` fix ([#&#8203;19131](https://github.com/astral-sh/ruff/pull/19131)) ##### Documentation - \[`flake8-pyi`] Make example error out-of-the-box (`PYI007`, `PYI008`) ([#&#8203;19103](https://github.com/astral-sh/ruff/pull/19103)) - \[`flake8-simplify`] Make example error out-of-the-box (`SIM116`) ([#&#8203;19111](https://github.com/astral-sh/ruff/pull/19111)) - \[`flake8-type-checking`] Make example error out-of-the-box (`TC001`) ([#&#8203;19151](https://github.com/astral-sh/ruff/pull/19151)) - \[`flake8-use-pathlib`] Make example error out-of-the-box (`PTH210`) ([#&#8203;19189](https://github.com/astral-sh/ruff/pull/19189)) - \[`pycodestyle`] Make example error out-of-the-box (`E272`) ([#&#8203;19191](https://github.com/astral-sh/ruff/pull/19191)) - \[`pycodestyle`] Make example not raise unnecessary `SyntaxError` (`E114`) ([#&#8203;19190](https://github.com/astral-sh/ruff/pull/19190)) - \[`pydoclint`] Make example error out-of-the-box (`DOC501`) ([#&#8203;19218](https://github.com/astral-sh/ruff/pull/19218)) - \[`pylint`, `pyupgrade`] Fix syntax errors in examples (`PLW1501`, `UP028`) ([#&#8203;19127](https://github.com/astral-sh/ruff/pull/19127)) - \[`pylint`] Update `missing-maxsplit-arg` docs and error to suggest proper usage (`PLC0207`) ([#&#8203;18949](https://github.com/astral-sh/ruff/pull/18949)) - \[`flake8-bandit`] Make example error out-of-the-box (`S412`) ([#&#8203;19241](https://github.com/astral-sh/ruff/pull/19241)) ### [`v0.12.2`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0122) [Compare Source](https://github.com/astral-sh/ruff/compare/0.12.1...0.12.2) ##### Preview features - \[`flake8-pyi`] Expand `Optional[A]` to `A | None` (`PYI016`) ([#&#8203;18572](https://github.com/astral-sh/ruff/pull/18572)) - \[`pyupgrade`] Mark `UP008` fix safe if no comments are in range ([#&#8203;18683](https://github.com/astral-sh/ruff/pull/18683)) ##### Bug fixes - \[`flake8-comprehensions`] Fix `C420` to prepend whitespace when needed ([#&#8203;18616](https://github.com/astral-sh/ruff/pull/18616)) - \[`perflint`] Fix `PERF403` panic on attribute or subscription loop variable ([#&#8203;19042](https://github.com/astral-sh/ruff/pull/19042)) - \[`pydocstyle`] Fix `D413` infinite loop for parenthesized docstring ([#&#8203;18930](https://github.com/astral-sh/ruff/pull/18930)) - \[`pylint`] Fix `PLW0108` autofix introducing a syntax error when the lambda's body contains an assignment expression ([#&#8203;18678](https://github.com/astral-sh/ruff/pull/18678)) - \[`refurb`] Fix false positive on empty tuples (`FURB168`) ([#&#8203;19058](https://github.com/astral-sh/ruff/pull/19058)) - \[`ruff`] Allow more `field` calls from `attrs` (`RUF009`) ([#&#8203;19021](https://github.com/astral-sh/ruff/pull/19021)) - \[`ruff`] Fix syntax error introduced for an empty string followed by a u-prefixed string (`UP025`) ([#&#8203;18899](https://github.com/astral-sh/ruff/pull/18899)) ##### Rule changes - \[`flake8-executable`] Allow `uvx` in shebang line (`EXE003`) ([#&#8203;18967](https://github.com/astral-sh/ruff/pull/18967)) - \[`pandas`] Avoid flagging `PD002` if `pandas` is not imported ([#&#8203;18963](https://github.com/astral-sh/ruff/pull/18963)) - \[`pyupgrade`] Avoid PEP-604 unions with `typing.NamedTuple` (`UP007`, `UP045`) ([#&#8203;18682](https://github.com/astral-sh/ruff/pull/18682)) ##### Documentation - Document link between `import-outside-top-level (PLC0415)` and `lint.flake8-tidy-imports.banned-module-level-imports` ([#&#8203;18733](https://github.com/astral-sh/ruff/pull/18733)) - Fix description of the `format.skip-magic-trailing-comma` example ([#&#8203;19095](https://github.com/astral-sh/ruff/pull/19095)) - \[`airflow`] Make `AIR302` example error out-of-the-box ([#&#8203;18988](https://github.com/astral-sh/ruff/pull/18988)) - \[`airflow`] Make `AIR312` example error out-of-the-box ([#&#8203;18989](https://github.com/astral-sh/ruff/pull/18989)) - \[`flake8-annotations`] Make `ANN401` example error out-of-the-box ([#&#8203;18974](https://github.com/astral-sh/ruff/pull/18974)) - \[`flake8-async`] Make `ASYNC100` example error out-of-the-box ([#&#8203;18993](https://github.com/astral-sh/ruff/pull/18993)) - \[`flake8-async`] Make `ASYNC105` example error out-of-the-box ([#&#8203;19002](https://github.com/astral-sh/ruff/pull/19002)) - \[`flake8-async`] Make `ASYNC110` example error out-of-the-box ([#&#8203;18975](https://github.com/astral-sh/ruff/pull/18975)) - \[`flake8-async`] Make `ASYNC210` example error out-of-the-box ([#&#8203;18977](https://github.com/astral-sh/ruff/pull/18977)) - \[`flake8-async`] Make `ASYNC220`, `ASYNC221`, and `ASYNC222` examples error out-of-the-box ([#&#8203;18978](https://github.com/astral-sh/ruff/pull/18978)) - \[`flake8-async`] Make `ASYNC251` example error out-of-the-box ([#&#8203;18990](https://github.com/astral-sh/ruff/pull/18990)) - \[`flake8-bandit`] Make `S201` example error out-of-the-box ([#&#8203;19017](https://github.com/astral-sh/ruff/pull/19017)) - \[`flake8-bandit`] Make `S604` and `S609` examples error out-of-the-box ([#&#8203;19049](https://github.com/astral-sh/ruff/pull/19049)) - \[`flake8-bugbear`] Make `B028` example error out-of-the-box ([#&#8203;19054](https://github.com/astral-sh/ruff/pull/19054)) - \[`flake8-bugbear`] Make `B911` example error out-of-the-box ([#&#8203;19051](https://github.com/astral-sh/ruff/pull/19051)) - \[`flake8-datetimez`] Make `DTZ011` example error out-of-the-box ([#&#8203;19055](https://github.com/astral-sh/ruff/pull/19055)) - \[`flake8-datetimez`] Make `DTZ901` example error out-of-the-box ([#&#8203;19056](https://github.com/astral-sh/ruff/pull/19056)) - \[`flake8-pyi`] Make `PYI032` example error out-of-the-box ([#&#8203;19061](https://github.com/astral-sh/ruff/pull/19061)) - \[`flake8-pyi`] Make example error out-of-the-box (`PYI014`, `PYI015`) ([#&#8203;19097](https://github.com/astral-sh/ruff/pull/19097)) - \[`flake8-pyi`] Make example error out-of-the-box (`PYI042`) ([#&#8203;19101](https://github.com/astral-sh/ruff/pull/19101)) - \[`flake8-pyi`] Make example error out-of-the-box (`PYI059`) ([#&#8203;19080](https://github.com/astral-sh/ruff/pull/19080)) - \[`flake8-pyi`] Make example error out-of-the-box (`PYI062`) ([#&#8203;19079](https://github.com/astral-sh/ruff/pull/19079)) - \[`flake8-pytest-style`] Make example error out-of-the-box (`PT023`) ([#&#8203;19104](https://github.com/astral-sh/ruff/pull/19104)) - \[`flake8-pytest-style`] Make example error out-of-the-box (`PT030`) ([#&#8203;19105](https://github.com/astral-sh/ruff/pull/19105)) - \[`flake8-quotes`] Make example error out-of-the-box (`Q003`) ([#&#8203;19106](https://github.com/astral-sh/ruff/pull/19106)) - \[`flake8-simplify`] Make example error out-of-the-box (`SIM110`) ([#&#8203;19113](https://github.com/astral-sh/ruff/pull/19113)) - \[`flake8-simplify`] Make example error out-of-the-box (`SIM113`) ([#&#8203;19109](https://github.com/astral-sh/ruff/pull/19109)) - \[`flake8-simplify`] Make example error out-of-the-box (`SIM401`) ([#&#8203;19110](https://github.com/astral-sh/ruff/pull/19110)) - \[`pyflakes`] Fix backslash in docs (`F621`) ([#&#8203;19098](https://github.com/astral-sh/ruff/pull/19098)) - \[`pylint`] Fix `PLC0415` example ([#&#8203;18970](https://github.com/astral-sh/ruff/pull/18970)) ### [`v0.12.1`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0121) [Compare Source](https://github.com/astral-sh/ruff/compare/0.12.0...0.12.1) ##### Preview features - \[`flake8-errmsg`] Extend `EM101` to support byte strings ([#&#8203;18867](https://github.com/astral-sh/ruff/pull/18867)) - \[`flake8-use-pathlib`] Add autofix for `PTH202` ([#&#8203;18763](https://github.com/astral-sh/ruff/pull/18763)) - \[`pygrep-hooks`] Add `AsyncMock` methods to `invalid-mock-access` (`PGH005`) ([#&#8203;18547](https://github.com/astral-sh/ruff/pull/18547)) - \[`pylint`] Ignore `__init__.py` files in (`PLC0414`) ([#&#8203;18400](https://github.com/astral-sh/ruff/pull/18400)) - \[`ruff`] Trigger `RUF037` for empty string and byte strings ([#&#8203;18862](https://github.com/astral-sh/ruff/pull/18862)) - \[formatter] Fix missing blank lines before decorated classes in `.pyi` files ([#&#8203;18888](https://github.com/astral-sh/ruff/pull/18888)) ##### Bug fixes - Avoid generating diagnostics with per-file ignores ([#&#8203;18801](https://github.com/astral-sh/ruff/pull/18801)) - Handle parenthesized arguments in `remove_argument` ([#&#8203;18805](https://github.com/astral-sh/ruff/pull/18805)) - \[`flake8-logging`] Avoid false positive for `exc_info=True` outside `logger.exception` (`LOG014`) ([#&#8203;18737](https://github.com/astral-sh/ruff/pull/18737)) - \[`flake8-pytest-style`] Enforce `pytest` import for decorators ([#&#8203;18779](https://github.com/astral-sh/ruff/pull/18779)) - \[`flake8-pytest-style`] Mark autofix for `PT001` and `PT023` as unsafe if there's comments in the decorator ([#&#8203;18792](https://github.com/astral-sh/ruff/pull/18792)) - \[`flake8-pytest-style`] `PT001`/`PT023` fix makes syntax error on parenthesized decorator ([#&#8203;18782](https://github.com/astral-sh/ruff/pull/18782)) - \[`flake8-raise`] Make fix unsafe if it deletes comments (`RSE102`) ([#&#8203;18788](https://github.com/astral-sh/ruff/pull/18788)) - \[`flake8-simplify`] Fix `SIM911` autofix creating a syntax error ([#&#8203;18793](https://github.com/astral-sh/ruff/pull/18793)) - \[`flake8-simplify`] Fix false negatives for shadowed bindings (`SIM910`, `SIM911`) ([#&#8203;18794](https://github.com/astral-sh/ruff/pull/18794)) - \[`flake8-simplify`] Preserve original behavior for `except ()` and bare `except` (`SIM105`) ([#&#8203;18213](https://github.com/astral-sh/ruff/pull/18213)) - \[`flake8-pyi`] Fix `PYI041`'s fix causing `TypeError` with `None | None | ...` ([#&#8203;18637](https://github.com/astral-sh/ruff/pull/18637)) - \[`perflint`] Fix `PERF101` autofix creating a syntax error and mark autofix as unsafe if there are comments in the `list` call expr ([#&#8203;18803](https://github.com/astral-sh/ruff/pull/18803)) - \[`perflint`] Fix false negative in `PERF401` ([#&#8203;18866](https://github.com/astral-sh/ruff/pull/18866)) - \[`pylint`] Avoid flattening nested `min`/`max` when outer call has single argument (`PLW3301`) ([#&#8203;16885](https://github.com/astral-sh/ruff/pull/16885)) - \[`pylint`] Fix `PLC2801` autofix creating a syntax error ([#&#8203;18857](https://github.com/astral-sh/ruff/pull/18857)) - \[`pylint`] Mark `PLE0241` autofix as unsafe if there's comments in the base classes ([#&#8203;18832](https://github.com/astral-sh/ruff/pull/18832)) - \[`pylint`] Suppress `PLE2510`/`PLE2512`/`PLE2513`/`PLE2514`/`PLE2515` autofix if the text contains an odd number of backslashes ([#&#8203;18856](https://github.com/astral-sh/ruff/pull/18856)) - \[`refurb`] Detect more exotic float literals in `FURB164` ([#&#8203;18925](https://github.com/astral-sh/ruff/pull/18925)) - \[`refurb`] Fix `FURB163` autofix creating a syntax error for `yield` expressions ([#&#8203;18756](https://github.com/astral-sh/ruff/pull/18756)) - \[`refurb`] Mark `FURB129` autofix as unsafe if there's comments in the `readlines` call ([#&#8203;18858](https://github.com/astral-sh/ruff/pull/18858)) - \[`ruff`] Fix false positives and negatives in `RUF010` ([#&#8203;18690](https://github.com/astral-sh/ruff/pull/18690)) - Fix casing of `analyze.direction` variant names ([#&#8203;18892](https://github.com/astral-sh/ruff/pull/18892)) ##### Rule changes - Fix f-string interpolation escaping in generated fixes ([#&#8203;18882](https://github.com/astral-sh/ruff/pull/18882)) - \[`flake8-return`] Mark `RET501` fix unsafe if comments are inside ([#&#8203;18780](https://github.com/astral-sh/ruff/pull/18780)) - \[`flake8-async`] Fix detection for large integer sleep durations in `ASYNC116` rule ([#&#8203;18767](https://github.com/astral-sh/ruff/pull/18767)) - \[`flake8-async`] Mark autofix for `ASYNC115` as unsafe if the call expression contains comments ([#&#8203;18753](https://github.com/astral-sh/ruff/pull/18753)) - \[`flake8-bugbear`] Mark autofix for `B004` as unsafe if the `hasattr` call expr contains comments ([#&#8203;18755](https://github.com/astral-sh/ruff/pull/18755)) - \[`flake8-comprehension`] Mark autofix for `C420` as unsafe if there's comments inside the dict comprehension ([#&#8203;18768](https://github.com/astral-sh/ruff/pull/18768)) - \[`flake8-comprehensions`] Handle template strings for comprehension fixes ([#&#8203;18710](https://github.com/astral-sh/ruff/pull/18710)) - \[`flake8-future-annotations`] Add autofix (`FA100`) ([#&#8203;18903](https://github.com/astral-sh/ruff/pull/18903)) - \[`pyflakes`] Mark `F504`/`F522`/`F523` autofix as unsafe if there's a call with side effect ([#&#8203;18839](https://github.com/astral-sh/ruff/pull/18839)) - \[`pylint`] Allow fix with comments and document performance implications (`PLW3301`) ([#&#8203;18936](https://github.com/astral-sh/ruff/pull/18936)) - \[`pylint`] Detect more exotic `NaN` literals in `PLW0177` ([#&#8203;18630](https://github.com/astral-sh/ruff/pull/18630)) - \[`pylint`] Fix `PLC1802` autofix creating a syntax error and mark autofix as unsafe if there's comments in the `len` call ([#&#8203;18836](https://github.com/astral-sh/ruff/pull/18836)) - \[`pyupgrade`] Extend version detection to include `sys.version_info.major` (`UP036`) ([#&#8203;18633](https://github.com/astral-sh/ruff/pull/18633)) - \[`ruff`] Add lint rule `RUF064` for calling `chmod` with non-octal integers ([#&#8203;18541](https://github.com/astral-sh/ruff/pull/18541)) - \[`ruff`] Added `cls.__dict__.get('__annotations__')` check (`RUF063`) ([#&#8203;18233](https://github.com/astral-sh/ruff/pull/18233)) - \[`ruff`] Frozen `dataclass` default should be valid (`RUF009`) ([#&#8203;18735](https://github.com/astral-sh/ruff/pull/18735)) ##### Server - Consider virtual path for various server actions ([#&#8203;18910](https://github.com/astral-sh/ruff/pull/18910)) ##### Documentation - Add fix safety sections ([#&#8203;18940](https://github.com/astral-sh/ruff/pull/18940),[#&#8203;18841](https://github.com/astral-sh/ruff/pull/18841),[#&#8203;18802](https://github.com/astral-sh/ruff/pull/18802),[#&#8203;18837](https://github.com/astral-sh/ruff/pull/18837),[#&#8203;18800](https://github.com/astral-sh/ruff/pull/18800),[#&#8203;18415](https://github.com/astral-sh/ruff/pull/18415),[#&#8203;18853](https://github.com/astral-sh/ruff/pull/18853),[#&#8203;18842](https://github.com/astral-sh/ruff/pull/18842)) - Use updated pre-commit id ([#&#8203;18718](https://github.com/astral-sh/ruff/pull/18718)) - \[`perflint`] Small docs improvement to `PERF401` ([#&#8203;18786](https://github.com/astral-sh/ruff/pull/18786)) - \[`pyupgrade`]: Use `super()`, not `__super__` in error messages (`UP008`) ([#&#8203;18743](https://github.com/astral-sh/ruff/pull/18743)) - \[`flake8-pie`] Small docs fix to `PIE794` ([#&#8203;18829](https://github.com/astral-sh/ruff/pull/18829)) - \[`flake8-pyi`] Correct `collections-named-tuple` example to use PascalCase assignment ([#&#8203;16884](https://github.com/astral-sh/ruff/pull/16884)) - \[`flake8-pie`] Add note on type checking benefits to `unnecessary-dict-kwargs` (`PIE804`) ([#&#8203;18666](https://github.com/astral-sh/ruff/pull/18666)) - \[`pycodestyle`] Clarify PEP 8 relationship to `whitespace-around-operator` rules ([#&#8203;18870](https://github.com/astral-sh/ruff/pull/18870)) ##### Other changes - Disallow newlines in format specifiers of single quoted f- or t-strings ([#&#8203;18708](https://github.com/astral-sh/ruff/pull/18708)) - \[`flake8-logging`] Add fix safety section to `LOG002` ([#&#8203;18840](https://github.com/astral-sh/ruff/pull/18840)) - \[`pyupgrade`] Add fix safety section to `UP010` ([#&#8203;18838](https://github.com/astral-sh/ruff/pull/18838)) </details> --- ### 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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMS4xIiwidXBkYXRlZEluVmVyIjoiNDEuMzAuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
hads added 1 commit 2025-06-27 12:06:40 +12:00
chore(deps): update dependency ruff to v0.12.1
All checks were successful
Build and Publish Docker Image / build (pull_request) Successful in 1m13s
c62d735c13
hads force-pushed renovate/ruff-0.x-lockfile from c62d735c13 to b145d8253a 2025-07-04 06:05:58 +12:00 Compare
hads changed title from chore(deps): update dependency ruff to v0.12.1 to chore(deps): update dependency ruff to v0.12.2 2025-07-04 06:06:05 +12:00
hads force-pushed renovate/ruff-0.x-lockfile from b145d8253a to 2db10d6962 2025-07-12 06:06:31 +12:00 Compare
hads changed title from chore(deps): update dependency ruff to v0.12.2 to chore(deps): update dependency ruff to v0.12.3 2025-07-12 06:06:38 +12:00
hads merged commit c756900ae8 into main 2025-07-16 09:15:42 +12:00
hads deleted branch renovate/ruff-0.x-lockfile 2025-07-16 09:15:43 +12:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hads/hinpdof#66
No description provided.