chore(deps): update dependency ruff to v0.7.3 #251

Merged
Xefir merged 1 commits from renovate/ruff-0.x-lockfile into master 2024-11-09 11:20:33 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
ruff (source, changelog) dev-dependencies patch 0.7.2 -> 0.7.3

Release Notes

astral-sh/ruff (ruff)

v0.7.3

Compare Source

Preview features
  • Formatter: Disallow single-line implicit concatenated strings (#​13928)
  • `flake8-pyi`] Include all Python file types for `PYI006` and `PYI066` ([#​14059](https://github.com/astral-sh/ruff/pull/14059))
    
  • `flake8-simplify`] Implement `split-of-static-string` (`SIM905`) ([#​14008](https://github.com/astral-sh/ruff/pull/14008))
    
  • `refurb`] Implement `subclass-builtin` (`FURB189`) ([#​14105](https://github.com/astral-sh/ruff/pull/14105))
    
  • `ruff`] Improve diagnostic messages and docs (`RUF031`, `RUF032`, `RUF034`) ([#​14068](https://github.com/astral-sh/ruff/pull/14068))
    
    
Rule changes
  • Detect items that hash to same value in duplicate sets (B033, PLC0208) (#​14064)
  • `eradicate`] Better detection of IntelliJ language injection comments (`ERA001`) ([#​14094](https://github.com/astral-sh/ruff/pull/14094))
    
  • `flake8-pyi`] Add autofix for `docstring-in-stub` (`PYI021`) ([#​14150](https://github.com/astral-sh/ruff/pull/14150))
    
  • `flake8-pyi`] Update `duplicate-literal-member` (`PYI062`) to alawys provide an autofix ([#​14188](https://github.com/astral-sh/ruff/pull/14188))
    
  • `pyflakes`] Detect items that hash to same value in duplicate dictionaries (`F601`) ([#​14065](https://github.com/astral-sh/ruff/pull/14065))
    
  • `ruff`] Fix false positive for decorators (`RUF028`) ([#​14061](https://github.com/astral-sh/ruff/pull/14061))
    
    
Bug fixes
  • Avoid parsing joint rule codes as distinct codes in # noqa (#​12809)
  • `eradicate`] ignore `# language=` in commented-out-code rule (ERA001) ([#​14069](https://github.com/astral-sh/ruff/pull/14069))
    
  • `flake8-bugbear`] - do not run `mutable-argument-default` on stubs (`B006`) ([#​14058](https://github.com/astral-sh/ruff/pull/14058))
    
  • `flake8-builtins`] Skip lambda expressions in `builtin-argument-shadowing (A002)` ([#​14144](https://github.com/astral-sh/ruff/pull/14144))
    
  • `flake8-comprehension`] Also remove trailing comma while fixing `C409` and `C419` ([#​14097](https://github.com/astral-sh/ruff/pull/14097))
    
  • `flake8-simplify`] Allow `open` without context manager in `return` statement (`SIM115`) ([#​14066](https://github.com/astral-sh/ruff/pull/14066))
    
  • `pylint`] Respect hash-equivalent literals in `iteration-over-set` (`PLC0208`) ([#​14063](https://github.com/astral-sh/ruff/pull/14063))
    
  • `pylint`] Update known dunder methods for Python 3.13 (`PLW3201`) ([#​14146](https://github.com/astral-sh/ruff/pull/14146))
    
  • `pyupgrade`] - ignore kwarg unpacking for `UP044` ([#​14053](https://github.com/astral-sh/ruff/pull/14053))
    
  • `refurb`] Parse more exotic decimal strings in `verbose-decimal-constructor` (`FURB157`) ([#​14098](https://github.com/astral-sh/ruff/pull/14098))
    
    
Documentation
  • Add links to missing related options within rule documentations (#​13971)
  • Add rule short code to mkdocs tags to allow searching via rule codes (#​14040)

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 | Type | Update | Change | |---|---|---|---| | [ruff](https://docs.astral.sh/ruff) ([source](https://github.com/astral-sh/ruff), [changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)) | dev-dependencies | patch | `0.7.2` -> `0.7.3` | --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.7.3`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#073) [Compare Source](https://github.com/astral-sh/ruff/compare/0.7.2...0.7.3) ##### Preview features - Formatter: Disallow single-line implicit concatenated strings ([#&#8203;13928](https://github.com/astral-sh/ruff/pull/13928)) - \[`flake8-pyi`] Include all Python file types for `PYI006` and `PYI066` ([#&#8203;14059](https://github.com/astral-sh/ruff/pull/14059)) - \[`flake8-simplify`] Implement `split-of-static-string` (`SIM905`) ([#&#8203;14008](https://github.com/astral-sh/ruff/pull/14008)) - \[`refurb`] Implement `subclass-builtin` (`FURB189`) ([#&#8203;14105](https://github.com/astral-sh/ruff/pull/14105)) - \[`ruff`] Improve diagnostic messages and docs (`RUF031`, `RUF032`, `RUF034`) ([#&#8203;14068](https://github.com/astral-sh/ruff/pull/14068)) ##### Rule changes - Detect items that hash to same value in duplicate sets (`B033`, `PLC0208`) ([#&#8203;14064](https://github.com/astral-sh/ruff/pull/14064)) - \[`eradicate`] Better detection of IntelliJ language injection comments (`ERA001`) ([#&#8203;14094](https://github.com/astral-sh/ruff/pull/14094)) - \[`flake8-pyi`] Add autofix for `docstring-in-stub` (`PYI021`) ([#&#8203;14150](https://github.com/astral-sh/ruff/pull/14150)) - \[`flake8-pyi`] Update `duplicate-literal-member` (`PYI062`) to alawys provide an autofix ([#&#8203;14188](https://github.com/astral-sh/ruff/pull/14188)) - \[`pyflakes`] Detect items that hash to same value in duplicate dictionaries (`F601`) ([#&#8203;14065](https://github.com/astral-sh/ruff/pull/14065)) - \[`ruff`] Fix false positive for decorators (`RUF028`) ([#&#8203;14061](https://github.com/astral-sh/ruff/pull/14061)) ##### Bug fixes - Avoid parsing joint rule codes as distinct codes in `# noqa` ([#&#8203;12809](https://github.com/astral-sh/ruff/pull/12809)) - \[`eradicate`] ignore `# language=` in commented-out-code rule (ERA001) ([#&#8203;14069](https://github.com/astral-sh/ruff/pull/14069)) - \[`flake8-bugbear`] - do not run `mutable-argument-default` on stubs (`B006`) ([#&#8203;14058](https://github.com/astral-sh/ruff/pull/14058)) - \[`flake8-builtins`] Skip lambda expressions in `builtin-argument-shadowing (A002)` ([#&#8203;14144](https://github.com/astral-sh/ruff/pull/14144)) - \[`flake8-comprehension`] Also remove trailing comma while fixing `C409` and `C419` ([#&#8203;14097](https://github.com/astral-sh/ruff/pull/14097)) - \[`flake8-simplify`] Allow `open` without context manager in `return` statement (`SIM115`) ([#&#8203;14066](https://github.com/astral-sh/ruff/pull/14066)) - \[`pylint`] Respect hash-equivalent literals in `iteration-over-set` (`PLC0208`) ([#&#8203;14063](https://github.com/astral-sh/ruff/pull/14063)) - \[`pylint`] Update known dunder methods for Python 3.13 (`PLW3201`) ([#&#8203;14146](https://github.com/astral-sh/ruff/pull/14146)) - \[`pyupgrade`] - ignore kwarg unpacking for `UP044` ([#&#8203;14053](https://github.com/astral-sh/ruff/pull/14053)) - \[`refurb`] Parse more exotic decimal strings in `verbose-decimal-constructor` (`FURB157`) ([#&#8203;14098](https://github.com/astral-sh/ruff/pull/14098)) ##### Documentation - Add links to missing related options within rule documentations ([#&#8203;13971](https://github.com/astral-sh/ruff/pull/13971)) - Add rule short code to mkdocs tags to allow searching via rule codes ([#&#8203;14040](https://github.com/astral-sh/ruff/pull/14040)) </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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xODEuNiIsInVwZGF0ZWRJblZlciI6IjM3LjE4MS42IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
Xefir added 1 commit 2024-11-09 06:51:43 +00:00
chore(deps): update dependency ruff to v0.7.3
All checks were successful
divent / lint (push) Successful in 2m3s
divent / docker (push) Successful in 1m23s
divent / pypi (push) Has been skipped
537bb3eef9
Xefir merged commit 481ccb6a4b into master 2024-11-09 11:20:33 +00:00
Xefir deleted branch renovate/ruff-0.x-lockfile 2024-11-09 11:20:34 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Xefir/Divent#251
No description provided.