astral-sh/ruff (ruff)
### [`v0.5.5`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#055)
[Compare Source](https://togithub.com/astral-sh/ruff/compare/0.5.4...0.5.5)
##### Preview features
- \[`fastapi`] Implement `fastapi-redundant-response-model` (`FAST001`) and `fastapi-non-annotated-dependency`(`FAST002`) ([#11579](https://togithub.com/astral-sh/ruff/pull/11579))
- \[`pydoclint`] Implement `docstring-missing-exception` (`DOC501`) and `docstring-extraneous-exception` (`DOC502`) ([#11471](https://togithub.com/astral-sh/ruff/pull/11471))
##### Rule changes
- \[`numpy`] Fix NumPy 2.0 rule for `np.alltrue` and `np.sometrue` ([#12473](https://togithub.com/astral-sh/ruff/pull/12473))
- \[`numpy`] Ignore `NPY201` inside `except` blocks for compatibility with older numpy versions ([#12490](https://togithub.com/astral-sh/ruff/pull/12490))
- \[`pep8-naming`] Avoid applying `ignore-names` to `self` and `cls` function names (`N804`, `N805`) ([#12497](https://togithub.com/astral-sh/ruff/pull/12497))
##### Formatter
- Fix incorrect placement of leading function comment with type params ([#12447](https://togithub.com/astral-sh/ruff/pull/12447))
##### Server
- Do not bail code action resolution when a quick fix is requested ([#12462](https://togithub.com/astral-sh/ruff/pull/12462))
##### Bug fixes
- Fix `Ord` implementation of `cmp_fix` ([#12471](https://togithub.com/astral-sh/ruff/pull/12471))
- Raise syntax error for unparenthesized generator expression in multi-argument call ([#12445](https://togithub.com/astral-sh/ruff/pull/12445))
- \[`pydoclint`] Fix panic in `DOC501` reported in [#12428](https://togithub.com/astral-sh/ruff/pull/12428) ([#12435](https://togithub.com/astral-sh/ruff/pull/12435))
- \[`flake8-bugbear`] Allow singleton tuples with starred expressions in `B013` ([#12484](https://togithub.com/astral-sh/ruff/pull/12484))
##### Documentation
- Add Eglot setup guide for Emacs editor ([#12426](https://togithub.com/astral-sh/ruff/pull/12426))
- Add note about the breaking change in `nvim-lspconfig` ([#12507](https://togithub.com/astral-sh/ruff/pull/12507))
- Add note to include notebook files for native server ([#12449](https://togithub.com/astral-sh/ruff/pull/12449))
- Add setup docs for Zed editor ([#12501](https://togithub.com/astral-sh/ruff/pull/12501))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 11am and before 11pm every weekend" in timezone Asia/Tokyo.
🚦 Automerge: Enabled.
♻ 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 contains the following updates:
==0.5.4
->==0.5.5
Release Notes
astral-sh/ruff (ruff)
### [`v0.5.5`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#055) [Compare Source](https://togithub.com/astral-sh/ruff/compare/0.5.4...0.5.5) ##### Preview features - \[`fastapi`] Implement `fastapi-redundant-response-model` (`FAST001`) and `fastapi-non-annotated-dependency`(`FAST002`) ([#11579](https://togithub.com/astral-sh/ruff/pull/11579)) - \[`pydoclint`] Implement `docstring-missing-exception` (`DOC501`) and `docstring-extraneous-exception` (`DOC502`) ([#11471](https://togithub.com/astral-sh/ruff/pull/11471)) ##### Rule changes - \[`numpy`] Fix NumPy 2.0 rule for `np.alltrue` and `np.sometrue` ([#12473](https://togithub.com/astral-sh/ruff/pull/12473)) - \[`numpy`] Ignore `NPY201` inside `except` blocks for compatibility with older numpy versions ([#12490](https://togithub.com/astral-sh/ruff/pull/12490)) - \[`pep8-naming`] Avoid applying `ignore-names` to `self` and `cls` function names (`N804`, `N805`) ([#12497](https://togithub.com/astral-sh/ruff/pull/12497)) ##### Formatter - Fix incorrect placement of leading function comment with type params ([#12447](https://togithub.com/astral-sh/ruff/pull/12447)) ##### Server - Do not bail code action resolution when a quick fix is requested ([#12462](https://togithub.com/astral-sh/ruff/pull/12462)) ##### Bug fixes - Fix `Ord` implementation of `cmp_fix` ([#12471](https://togithub.com/astral-sh/ruff/pull/12471)) - Raise syntax error for unparenthesized generator expression in multi-argument call ([#12445](https://togithub.com/astral-sh/ruff/pull/12445)) - \[`pydoclint`] Fix panic in `DOC501` reported in [#12428](https://togithub.com/astral-sh/ruff/pull/12428) ([#12435](https://togithub.com/astral-sh/ruff/pull/12435)) - \[`flake8-bugbear`] Allow singleton tuples with starred expressions in `B013` ([#12484](https://togithub.com/astral-sh/ruff/pull/12484)) ##### Documentation - Add Eglot setup guide for Emacs editor ([#12426](https://togithub.com/astral-sh/ruff/pull/12426)) - Add note about the breaking change in `nvim-lspconfig` ([#12507](https://togithub.com/astral-sh/ruff/pull/12507)) - Add note to include notebook files for native server ([#12449](https://togithub.com/astral-sh/ruff/pull/12449)) - Add setup docs for Zed editor ([#12501](https://togithub.com/astral-sh/ruff/pull/12501))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 11am and before 11pm every weekend" in timezone Asia/Tokyo.
🚦 Automerge: Enabled.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.