chore(deps): update dependency ruff to v0.5.1 #217

Merged
Xefir merged 1 commits from renovate/ruff-0.x-lockfile into master 2024-07-07 13:06:41 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
ruff (source, changelog) dev-dependencies patch 0.5.0 -> 0.5.1

Release Notes

astral-sh/ruff (ruff)

v0.5.1

Compare Source

Preview features
  • `flake8-bugbear`] Implement mutable-contextvar-default (B039) ([#​12113](https://github.com/astral-sh/ruff/pull/12113))
    
  • `pycodestyle`] Whitespace after decorator (`E204`) ([#​12140](https://github.com/astral-sh/ruff/pull/12140))
    
  • `pytest`] Reverse `PT001` and `PT0023` defaults ([#​12106](https://github.com/astral-sh/ruff/pull/12106))
    
    
Rule changes
  • Enable token-based rules on source with syntax errors (#​11950)
  • `flake8-bandit`] Detect `httpx` for `S113` ([#​12174](https://github.com/astral-sh/ruff/pull/12174))
    
  • `numpy`] Update `NPY201` to include exception deprecations ([#​12065](https://github.com/astral-sh/ruff/pull/12065))
    
  • `pylint`] Generate autofix for `duplicate-bases` (`PLE0241`) ([#​12105](https://github.com/astral-sh/ruff/pull/12105))
    
    
Server
  • Avoid syntax error notification for source code actions (#​12148)
  • Consider the content of the new cells during notebook sync (#​12203)
  • Fix replacement edit range computation (#​12171)
Bug fixes
  • Disable auto-fix when source has syntax errors (#​12134)
  • Fix cache key collisions for paths with separators (#​12159)
  • Make requires-python inference robust to == (#​12091)
  • Use char-wise width instead of str-width (#​12135)
  • `pycodestyle`] Avoid `E275` if keyword followed by comma ([#​12136](https://github.com/astral-sh/ruff/pull/12136))
    
  • `pycodestyle`] Avoid `E275` if keyword is followed by a semicolon ([#​12095](https://github.com/astral-sh/ruff/pull/12095))
    
  • `pylint`] Skip [dummy variables](https://docs.astral.sh/ruff/settings/#lint_dummy-variable-rgx) for `PLR1704` ([#​12190](https://github.com/astral-sh/ruff/pull/12190))
    
    
Performance
  • Remove allocation in parse_identifier (#​12103)
  • Use CompactString for Identifier AST node (#​12101)

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.5.0` -> `0.5.1` | --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.5.1`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#051) [Compare Source](https://github.com/astral-sh/ruff/compare/0.5.0...0.5.1) ##### Preview features - \[`flake8-bugbear`] Implement mutable-contextvar-default (B039) ([#&#8203;12113](https://github.com/astral-sh/ruff/pull/12113)) - \[`pycodestyle`] Whitespace after decorator (`E204`) ([#&#8203;12140](https://github.com/astral-sh/ruff/pull/12140)) - \[`pytest`] Reverse `PT001` and `PT0023` defaults ([#&#8203;12106](https://github.com/astral-sh/ruff/pull/12106)) ##### Rule changes - Enable token-based rules on source with syntax errors ([#&#8203;11950](https://github.com/astral-sh/ruff/pull/11950)) - \[`flake8-bandit`] Detect `httpx` for `S113` ([#&#8203;12174](https://github.com/astral-sh/ruff/pull/12174)) - \[`numpy`] Update `NPY201` to include exception deprecations ([#&#8203;12065](https://github.com/astral-sh/ruff/pull/12065)) - \[`pylint`] Generate autofix for `duplicate-bases` (`PLE0241`) ([#&#8203;12105](https://github.com/astral-sh/ruff/pull/12105)) ##### Server - Avoid syntax error notification for source code actions ([#&#8203;12148](https://github.com/astral-sh/ruff/pull/12148)) - Consider the content of the new cells during notebook sync ([#&#8203;12203](https://github.com/astral-sh/ruff/pull/12203)) - Fix replacement edit range computation ([#&#8203;12171](https://github.com/astral-sh/ruff/pull/12171)) ##### Bug fixes - Disable auto-fix when source has syntax errors ([#&#8203;12134](https://github.com/astral-sh/ruff/pull/12134)) - Fix cache key collisions for paths with separators ([#&#8203;12159](https://github.com/astral-sh/ruff/pull/12159)) - Make `requires-python` inference robust to `==` ([#&#8203;12091](https://github.com/astral-sh/ruff/pull/12091)) - Use char-wise width instead of `str`-width ([#&#8203;12135](https://github.com/astral-sh/ruff/pull/12135)) - \[`pycodestyle`] Avoid `E275` if keyword followed by comma ([#&#8203;12136](https://github.com/astral-sh/ruff/pull/12136)) - \[`pycodestyle`] Avoid `E275` if keyword is followed by a semicolon ([#&#8203;12095](https://github.com/astral-sh/ruff/pull/12095)) - \[`pylint`] Skip [dummy variables](https://docs.astral.sh/ruff/settings/#lint_dummy-variable-rgx) for `PLR1704` ([#&#8203;12190](https://github.com/astral-sh/ruff/pull/12190)) ##### Performance - Remove allocation in `parse_identifier` ([#&#8203;12103](https://github.com/astral-sh/ruff/pull/12103)) - Use `CompactString` for `Identifier` AST node ([#&#8203;12101](https://github.com/astral-sh/ruff/pull/12101)) </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-07-06 06:39:33 +00:00
chore(deps): update dependency ruff to v0.5.1
All checks were successful
divent / lint (push) Successful in 3m9s
divent / docker (push) Successful in 2m58s
divent / pypi (push) Has been skipped
1cd3172b33
Xefir merged commit ffd096945d into master 2024-07-07 13:06:41 +00:00
Xefir deleted branch renovate/ruff-0.x-lockfile 2024-07-07 13:06:42 +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#217
No description provided.