chore(deps): update dependency ruff to v0.6.2 #229

Merged
Xefir merged 1 commits from renovate/ruff-0.x-lockfile into master 2024-08-23 15:26:32 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
ruff (source, changelog) dev-dependencies patch 0.6.1 -> 0.6.2

Release Notes

astral-sh/ruff (ruff)

v0.6.2

Compare Source

Preview features
  • `flake8-simplify`] Extend `open-file-with-context-handler` to work with other standard-library IO modules (`SIM115`) ([#​12959](https://github.com/astral-sh/ruff/pull/12959))
    
  • `ruff`] Avoid `unused-async` for functions with FastAPI route decorator (`RUF029`) ([#​12938](https://github.com/astral-sh/ruff/pull/12938))
    
  • `ruff`] Ignore `fstring-missing-syntax` (`RUF027`) for `fastAPI` paths ([#​12939](https://github.com/astral-sh/ruff/pull/12939))
    
  • `ruff`] Implement check for Decimal called with a float literal (RUF032) ([#​12909](https://github.com/astral-sh/ruff/pull/12909))
    
    
Rule changes
  • `flake8-bugbear`] Update diagnostic message when expression is at the end of function (`B015`) ([#​12944](https://github.com/astral-sh/ruff/pull/12944))
    
  • `flake8-pyi`] Skip type annotations in `string-or-bytes-too-long` (`PYI053`) ([#​13002](https://github.com/astral-sh/ruff/pull/13002))
    
  • `flake8-type-checking`] Always recognise relative imports as first-party ([#​12994](https://github.com/astral-sh/ruff/pull/12994))
    
  • `flake8-unused-arguments`] Ignore unused arguments on stub functions (`ARG001`) ([#​12966](https://github.com/astral-sh/ruff/pull/12966))
    
  • `pylint`] Ignore augmented assignment for `self-cls-assignment` (`PLW0642`) ([#​12957](https://github.com/astral-sh/ruff/pull/12957))
    
    
Server
  • Show full context in error log messages (#​13029)
Bug fixes
  • `pep8-naming`] Don't flag `from` imports following conventional import names (`N817`) ([#​12946](https://github.com/astral-sh/ruff/pull/12946))
    
  • `pylint`] - Allow `__new__` methods to have `cls` as their first argument even if decorated with `@staticmethod` for `bad-staticmethod-argument` (`PLW0211`) ([#​12958](https://github.com/astral-sh/ruff/pull/12958))
    
    
Documentation
  • Add hyperfine installation instructions; update hyperfine code samples (#​13034)
  • Expand note to use Ruff with other language server in Kate (#​12806)
  • Update example for PT001 as per the new default behavior (#​13019)
  • `perflint`] Improve docs for `try-except-in-loop` (`PERF203`) ([#​12947](https://github.com/astral-sh/ruff/pull/12947))
    
  • `pydocstyle`] Add reference to `lint.pydocstyle.ignore-decorators` setting to rule docs ([#​12996](https://github.com/astral-sh/ruff/pull/12996))
    
    

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.6.1` -> `0.6.2` | --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.6.2`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#062) [Compare Source](https://github.com/astral-sh/ruff/compare/0.6.1...0.6.2) ##### Preview features - \[`flake8-simplify`] Extend `open-file-with-context-handler` to work with other standard-library IO modules (`SIM115`) ([#&#8203;12959](https://github.com/astral-sh/ruff/pull/12959)) - \[`ruff`] Avoid `unused-async` for functions with FastAPI route decorator (`RUF029`) ([#&#8203;12938](https://github.com/astral-sh/ruff/pull/12938)) - \[`ruff`] Ignore `fstring-missing-syntax` (`RUF027`) for `fastAPI` paths ([#&#8203;12939](https://github.com/astral-sh/ruff/pull/12939)) - \[`ruff`] Implement check for Decimal called with a float literal (RUF032) ([#&#8203;12909](https://github.com/astral-sh/ruff/pull/12909)) ##### Rule changes - \[`flake8-bugbear`] Update diagnostic message when expression is at the end of function (`B015`) ([#&#8203;12944](https://github.com/astral-sh/ruff/pull/12944)) - \[`flake8-pyi`] Skip type annotations in `string-or-bytes-too-long` (`PYI053`) ([#&#8203;13002](https://github.com/astral-sh/ruff/pull/13002)) - \[`flake8-type-checking`] Always recognise relative imports as first-party ([#&#8203;12994](https://github.com/astral-sh/ruff/pull/12994)) - \[`flake8-unused-arguments`] Ignore unused arguments on stub functions (`ARG001`) ([#&#8203;12966](https://github.com/astral-sh/ruff/pull/12966)) - \[`pylint`] Ignore augmented assignment for `self-cls-assignment` (`PLW0642`) ([#&#8203;12957](https://github.com/astral-sh/ruff/pull/12957)) ##### Server - Show full context in error log messages ([#&#8203;13029](https://github.com/astral-sh/ruff/pull/13029)) ##### Bug fixes - \[`pep8-naming`] Don't flag `from` imports following conventional import names (`N817`) ([#&#8203;12946](https://github.com/astral-sh/ruff/pull/12946)) - \[`pylint`] - Allow `__new__` methods to have `cls` as their first argument even if decorated with `@staticmethod` for `bad-staticmethod-argument` (`PLW0211`) ([#&#8203;12958](https://github.com/astral-sh/ruff/pull/12958)) ##### Documentation - Add `hyperfine` installation instructions; update `hyperfine` code samples ([#&#8203;13034](https://github.com/astral-sh/ruff/pull/13034)) - Expand note to use Ruff with other language server in Kate ([#&#8203;12806](https://github.com/astral-sh/ruff/pull/12806)) - Update example for `PT001` as per the new default behavior ([#&#8203;13019](https://github.com/astral-sh/ruff/pull/13019)) - \[`perflint`] Improve docs for `try-except-in-loop` (`PERF203`) ([#&#8203;12947](https://github.com/astral-sh/ruff/pull/12947)) - \[`pydocstyle`] Add reference to `lint.pydocstyle.ignore-decorators` setting to rule docs ([#&#8203;12996](https://github.com/astral-sh/ruff/pull/12996)) </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-08-23 06:40:23 +00:00
chore(deps): update dependency ruff to v0.6.2
All checks were successful
divent / lint (push) Successful in 2m42s
divent / docker (push) Successful in 2m8s
divent / pypi (push) Has been skipped
ef8d86f145
Xefir merged commit 505df4b39c into master 2024-08-23 15:26:32 +00:00
Xefir deleted branch renovate/ruff-0.x-lockfile 2024-08-23 15:26:33 +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#229
No description provided.