chore(deps): update dependency ruff to ^0.8.5 #117

Merged
Xefir merged 1 commits from renovate/ruff-0.x into master 2025-01-03 10:58:05 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
ruff (source, changelog) dev patch ^0.8.4 -> ^0.8.5

Release Notes

astral-sh/ruff (ruff)

v0.8.5

Compare Source

Preview features
  • `airflow`] Extend names moved from core to provider (`AIR303`) ([#​15145](https://github.com/astral-sh/ruff/pull/15145), [#​15159](https://github.com/astral-sh/ruff/pull/15159), [#​15196](https://github.com/astral-sh/ruff/pull/15196), [#​15216](https://github.com/astral-sh/ruff/pull/15216))
    
  • `airflow`] Extend rule to check class attributes, methods, arguments (`AIR302`) ([#​15054](https://github.com/astral-sh/ruff/pull/15054), [#​15083](https://github.com/astral-sh/ruff/pull/15083))
    
  • `fastapi`] Update `FAST002` to check keyword-only arguments ([#​15119](https://github.com/astral-sh/ruff/pull/15119))
    
  • `flake8-type-checking`] Disable `TC006` and `TC007` in stub files ([#​15179](https://github.com/astral-sh/ruff/pull/15179))
    
  • `pylint`] Detect nested methods correctly (`PLW1641`) ([#​15032](https://github.com/astral-sh/ruff/pull/15032))
    
  • `ruff`] Detect more strict-integer expressions (`RUF046`) ([#​14833](https://github.com/astral-sh/ruff/pull/14833))
    
  • `ruff`] Implement `falsy-dict-get-fallback` (`RUF056`) ([#​15160](https://github.com/astral-sh/ruff/pull/15160))
    
  • `ruff`] Implement `unnecessary-round` (`RUF057`) ([#​14828](https://github.com/astral-sh/ruff/pull/14828))
    
    
Rule changes
  • Visit PEP 764 inline TypedDict keys as non-type-expressions (#​15073)
  • `flake8-comprehensions`] Skip `C416` if comprehension contains unpacking ([#​14909](https://github.com/astral-sh/ruff/pull/14909))
    
  • `flake8-pie`] Allow `cast(SomeType, ...)` (`PIE796`) ([#​15141](https://github.com/astral-sh/ruff/pull/15141))
    
  • `flake8-simplify`] More precise inference for dictionaries (`SIM300`) ([#​15164](https://github.com/astral-sh/ruff/pull/15164))
    
  • `flake8-use-pathlib`] Catch redundant joins in `PTH201` and avoid syntax errors ([#​15177](https://github.com/astral-sh/ruff/pull/15177))
    
  • `pycodestyle`] Preserve original value format (`E731`) ([#​15097](https://github.com/astral-sh/ruff/pull/15097))
    
  • `pydocstyle`] Split on first whitespace character (`D403`) ([#​15082](https://github.com/astral-sh/ruff/pull/15082))
    
  • `pyupgrade`] Add all PEP-585 names to `UP006` rule ([#​5454](https://github.com/astral-sh/ruff/pull/5454))
    
    
Configuration
  • `flake8-type-checking`] Improve flexibility of `runtime-evaluated-decorators` ([#​15204](https://github.com/astral-sh/ruff/pull/15204))
    
  • `pydocstyle`] Add setting to ignore missing documentation for `*args` and `**kwargs` parameters (`D417`) ([#​15210](https://github.com/astral-sh/ruff/pull/15210))
    
  • `ruff`] Add an allowlist for `unsafe-markup-use` (`RUF035`) ([#​15076](https://github.com/astral-sh/ruff/pull/15076))
    
    
Bug fixes
  • Fix type subscript on older python versions (#​15090)
  • Use TypeChecker for detecting fastapi routes (#​15093)
  • `pycodestyle`] Avoid false positives and negatives related to type parameter default syntax (`E225`, `E251`) ([#​15214](https://github.com/astral-sh/ruff/pull/15214))
    
    
Documentation
  • Fix incorrect doc in shebang-not-executable (EXE001) and add git+windows solution to executable bit (#​15208)
  • Rename rules currently not conforming to naming convention (#​15102)

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 | patch | `^0.8.4` -> `^0.8.5` | --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.8.5`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#085) [Compare Source](https://github.com/astral-sh/ruff/compare/0.8.4...0.8.5) ##### Preview features - \[`airflow`] Extend names moved from core to provider (`AIR303`) ([#&#8203;15145](https://github.com/astral-sh/ruff/pull/15145), [#&#8203;15159](https://github.com/astral-sh/ruff/pull/15159), [#&#8203;15196](https://github.com/astral-sh/ruff/pull/15196), [#&#8203;15216](https://github.com/astral-sh/ruff/pull/15216)) - \[`airflow`] Extend rule to check class attributes, methods, arguments (`AIR302`) ([#&#8203;15054](https://github.com/astral-sh/ruff/pull/15054), [#&#8203;15083](https://github.com/astral-sh/ruff/pull/15083)) - \[`fastapi`] Update `FAST002` to check keyword-only arguments ([#&#8203;15119](https://github.com/astral-sh/ruff/pull/15119)) - \[`flake8-type-checking`] Disable `TC006` and `TC007` in stub files ([#&#8203;15179](https://github.com/astral-sh/ruff/pull/15179)) - \[`pylint`] Detect nested methods correctly (`PLW1641`) ([#&#8203;15032](https://github.com/astral-sh/ruff/pull/15032)) - \[`ruff`] Detect more strict-integer expressions (`RUF046`) ([#&#8203;14833](https://github.com/astral-sh/ruff/pull/14833)) - \[`ruff`] Implement `falsy-dict-get-fallback` (`RUF056`) ([#&#8203;15160](https://github.com/astral-sh/ruff/pull/15160)) - \[`ruff`] Implement `unnecessary-round` (`RUF057`) ([#&#8203;14828](https://github.com/astral-sh/ruff/pull/14828)) ##### Rule changes - Visit PEP 764 inline `TypedDict` keys as non-type-expressions ([#&#8203;15073](https://github.com/astral-sh/ruff/pull/15073)) - \[`flake8-comprehensions`] Skip `C416` if comprehension contains unpacking ([#&#8203;14909](https://github.com/astral-sh/ruff/pull/14909)) - \[`flake8-pie`] Allow `cast(SomeType, ...)` (`PIE796`) ([#&#8203;15141](https://github.com/astral-sh/ruff/pull/15141)) - \[`flake8-simplify`] More precise inference for dictionaries (`SIM300`) ([#&#8203;15164](https://github.com/astral-sh/ruff/pull/15164)) - \[`flake8-use-pathlib`] Catch redundant joins in `PTH201` and avoid syntax errors ([#&#8203;15177](https://github.com/astral-sh/ruff/pull/15177)) - \[`pycodestyle`] Preserve original value format (`E731`) ([#&#8203;15097](https://github.com/astral-sh/ruff/pull/15097)) - \[`pydocstyle`] Split on first whitespace character (`D403`) ([#&#8203;15082](https://github.com/astral-sh/ruff/pull/15082)) - \[`pyupgrade`] Add all PEP-585 names to `UP006` rule ([#&#8203;5454](https://github.com/astral-sh/ruff/pull/5454)) ##### Configuration - \[`flake8-type-checking`] Improve flexibility of `runtime-evaluated-decorators` ([#&#8203;15204](https://github.com/astral-sh/ruff/pull/15204)) - \[`pydocstyle`] Add setting to ignore missing documentation for `*args` and `**kwargs` parameters (`D417`) ([#&#8203;15210](https://github.com/astral-sh/ruff/pull/15210)) - \[`ruff`] Add an allowlist for `unsafe-markup-use` (`RUF035`) ([#&#8203;15076](https://github.com/astral-sh/ruff/pull/15076)) ##### Bug fixes - Fix type subscript on older python versions ([#&#8203;15090](https://github.com/astral-sh/ruff/pull/15090)) - Use `TypeChecker` for detecting `fastapi` routes ([#&#8203;15093](https://github.com/astral-sh/ruff/pull/15093)) - \[`pycodestyle`] Avoid false positives and negatives related to type parameter default syntax (`E225`, `E251`) ([#&#8203;15214](https://github.com/astral-sh/ruff/pull/15214)) ##### Documentation - Fix incorrect doc in `shebang-not-executable` (`EXE001`) and add git+windows solution to executable bit ([#&#8203;15208](https://github.com/astral-sh/ruff/pull/15208)) - Rename rules currently not conforming to naming convention ([#&#8203;15102](https://github.com/astral-sh/ruff/pull/15102)) </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=-->
Renovate added 1 commit 2025-01-03 00:05:27 +00:00
chore(deps): update dependency ruff to ^0.8.5
All checks were successful
dl / lint (push) Successful in 1m5s
dl / docker (push) Successful in 40s
77bc293542
Xefir merged commit 3e8c0637ba into master 2025-01-03 10:58:05 +00:00
Xefir deleted branch renovate/ruff-0.x 2025-01-03 10:58:05 +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/dl#117
No description provided.