chore(deps): update dependency ruff to v0.4.8 #210

Merged
Xefir merged 1 commits from renovate/ruff-0.x-lockfile into master 2024-06-06 11:34:42 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
ruff (source, changelog) dev-dependencies patch 0.4.7 -> 0.4.8

Release Notes

astral-sh/ruff (ruff)

v0.4.8

Compare Source

Performance
  • Linter performance has been improved by around 10% on some microbenchmarks by refactoring the lexer and parser to maintain synchronicity between them (#​11457)
Preview features
  • `flake8-bugbear`] Implement `return-in-generator` (`B901`) ([#​11644](https://github.com/astral-sh/ruff/pull/11644))
    
  • `flake8-pyi`] Implement `PYI063` ([#​11699](https://github.com/astral-sh/ruff/pull/11699))
    
  • `pygrep_hooks`] Check blanket ignores via file-level pragmas (`PGH004`) ([#​11540](https://github.com/astral-sh/ruff/pull/11540))
    
    
Rule changes
  • `pyupgrade`] Update `UP035` for Python 3.13 and the latest version of `typing_extensions` ([#​11693](https://github.com/astral-sh/ruff/pull/11693))
    
  • `numpy`] Update `NPY001` rule for NumPy 2.0 ([#​11735](https://github.com/astral-sh/ruff/pull/11735))
    
    
Server
  • Formatting a document with syntax problems no longer spams a visible error popup (#​11745)
CLI
  • Add RDJson support for --output-format flag (#​11682)
Bug fixes
  • `pyupgrade`] Write empty string in lieu of panic when fixing `UP032` ([#​11696](https://github.com/astral-sh/ruff/pull/11696))
    
  • `flake8-simplify`] Simplify double negatives in `SIM103` ([#​11684](https://github.com/astral-sh/ruff/pull/11684))
    
  • Ensure the expression generator adds a newline before type statements (#​11720)
  • Respect per-file ignores for blanket and redirected noqa rules (#​11728)

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.4.7` -> `0.4.8` | --- ### Release Notes <details> <summary>astral-sh/ruff (ruff)</summary> ### [`v0.4.8`](https://github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#048) [Compare Source](https://github.com/astral-sh/ruff/compare/v0.4.7...v0.4.8) ##### Performance - Linter performance has been improved by around 10% on some microbenchmarks by refactoring the lexer and parser to maintain synchronicity between them ([#&#8203;11457](https://github.com/astral-sh/ruff/pull/11457)) ##### Preview features - \[`flake8-bugbear`] Implement `return-in-generator` (`B901`) ([#&#8203;11644](https://github.com/astral-sh/ruff/pull/11644)) - \[`flake8-pyi`] Implement `PYI063` ([#&#8203;11699](https://github.com/astral-sh/ruff/pull/11699)) - \[`pygrep_hooks`] Check blanket ignores via file-level pragmas (`PGH004`) ([#&#8203;11540](https://github.com/astral-sh/ruff/pull/11540)) ##### Rule changes - \[`pyupgrade`] Update `UP035` for Python 3.13 and the latest version of `typing_extensions` ([#&#8203;11693](https://github.com/astral-sh/ruff/pull/11693)) - \[`numpy`] Update `NPY001` rule for NumPy 2.0 ([#&#8203;11735](https://github.com/astral-sh/ruff/pull/11735)) ##### Server - Formatting a document with syntax problems no longer spams a visible error popup ([#&#8203;11745](https://github.com/astral-sh/ruff/pull/11745)) ##### CLI - Add RDJson support for `--output-format` flag ([#&#8203;11682](https://github.com/astral-sh/ruff/pull/11682)) ##### Bug fixes - \[`pyupgrade`] Write empty string in lieu of panic when fixing `UP032` ([#&#8203;11696](https://github.com/astral-sh/ruff/pull/11696)) - \[`flake8-simplify`] Simplify double negatives in `SIM103` ([#&#8203;11684](https://github.com/astral-sh/ruff/pull/11684)) - Ensure the expression generator adds a newline before `type` statements ([#&#8203;11720](https://github.com/astral-sh/ruff/pull/11720)) - Respect per-file ignores for blanket and redirected noqa rules ([#&#8203;11728](https://github.com/astral-sh/ruff/pull/11728)) </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-06-06 06:40:46 +00:00
chore(deps): update dependency ruff to v0.4.8
All checks were successful
divent / lint (push) Successful in 2m6s
divent / docker (push) Successful in 2m4s
divent / pypi (push) Has been skipped
2936ee7f82
Xefir merged commit 1c5a1db991 into master 2024-06-06 11:34:42 +00:00
Xefir deleted branch renovate/ruff-0.x-lockfile 2024-06-06 11:34: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#210
No description provided.