Open-HEMS / pvcast

MIT License
2 stars 1 forks source link

⬆️ Update dependency ruff to v0.6.9 #347

Closed renovate[bot] closed 2 weeks ago

renovate[bot] commented 1 month ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ruff (source, changelog) ==0.6.4 -> ==0.6.9 age adoption passing confidence

Release Notes

astral-sh/ruff (ruff) ### [`v0.6.9`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#069) [Compare Source](https://redirect.github.com/astral-sh/ruff/compare/0.6.8...0.6.9) ##### Preview features - Fix codeblock dynamic line length calculation for indented docstring examples ([#​13523](https://redirect.github.com/astral-sh/ruff/pull/13523)) - \[`refurb`] Mark `FURB118` fix as unsafe ([#​13613](https://redirect.github.com/astral-sh/ruff/pull/13613)) ##### Rule changes - \[`pydocstyle`] Don't raise `D208` when last line is non-empty ([#​13372](https://redirect.github.com/astral-sh/ruff/pull/13372)) - \[`pylint`] Preserve trivia (i.e. comments) in `PLR5501` autofix ([#​13573](https://redirect.github.com/astral-sh/ruff/pull/13573)) ##### Configuration - \[`pyflakes`] Add `allow-unused-imports` setting for `unused-import` rule (`F401`) ([#​13601](https://redirect.github.com/astral-sh/ruff/pull/13601)) ##### Bug fixes - Support ruff discovery in pip build environments ([#​13591](https://redirect.github.com/astral-sh/ruff/pull/13591)) - \[`flake8-bugbear`] Avoid short circuiting `B017` for multiple context managers ([#​13609](https://redirect.github.com/astral-sh/ruff/pull/13609)) - \[`pylint`] Do not offer an invalid fix for `PLR1716` when the comparisons contain parenthesis ([#​13527](https://redirect.github.com/astral-sh/ruff/pull/13527)) - \[`pyupgrade`] Fix `UP043` to apply to `collections.abc.Generator` and `collections.abc.AsyncGenerator` ([#​13611](https://redirect.github.com/astral-sh/ruff/pull/13611)) - \[`refurb`] Fix handling of slices in tuples for `FURB118`, e.g., `x[:, 1]` ([#​13518](https://redirect.github.com/astral-sh/ruff/pull/13518)) ##### Documentation - Update GitHub Action link to `astral-sh/ruff-action` ([#​13551](https://redirect.github.com/astral-sh/ruff/pull/13551)) ### [`v0.6.8`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#068) [Compare Source](https://redirect.github.com/astral-sh/ruff/compare/0.6.7...0.6.8) ##### Preview features - Remove unnecessary parentheses around `match case` clauses ([#​13510](https://redirect.github.com/astral-sh/ruff/pull/13510)) - Parenthesize overlong `if` guards in `match..case` clauses ([#​13513](https://redirect.github.com/astral-sh/ruff/pull/13513)) - Detect basic wildcard imports in `ruff analyze graph` ([#​13486](https://redirect.github.com/astral-sh/ruff/pull/13486)) - \[`pylint`] Implement `boolean-chained-comparison` (`R1716`) ([#​13435](https://redirect.github.com/astral-sh/ruff/pull/13435)) ##### Rule changes - \[`lake8-simplify`] Detect `SIM910` when using variadic keyword arguments, i.e., `**kwargs` ([#​13503](https://redirect.github.com/astral-sh/ruff/pull/13503)) - \[`pyupgrade`] Avoid false negatives with non-reference shadowed bindings of loop variables (`UP028`) ([#​13504](https://redirect.github.com/astral-sh/ruff/pull/13504)) ##### Bug fixes - Detect tuples bound to variadic positional arguments i.e. `*args` ([#​13512](https://redirect.github.com/astral-sh/ruff/pull/13512)) - Exit gracefully on broken pipe errors ([#​13485](https://redirect.github.com/astral-sh/ruff/pull/13485)) - Avoid panic when analyze graph hits broken pipe ([#​13484](https://redirect.github.com/astral-sh/ruff/pull/13484)) ##### Performance - Reuse `BTreeSets` in module resolver ([#​13440](https://redirect.github.com/astral-sh/ruff/pull/13440)) - Skip traversal for non-compound statements ([#​13441](https://redirect.github.com/astral-sh/ruff/pull/13441)) ### [`v0.6.7`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#067) [Compare Source](https://redirect.github.com/astral-sh/ruff/compare/0.6.6...0.6.7) ##### Preview features - Add Python version support to ruff analyze CLI ([#​13426](https://redirect.github.com/astral-sh/ruff/pull/13426)) - Add `exclude` support to `ruff analyze` ([#​13425](https://redirect.github.com/astral-sh/ruff/pull/13425)) - Fix parentheses around return type annotations ([#​13381](https://redirect.github.com/astral-sh/ruff/pull/13381)) ##### Rule changes - \[`pycodestyle`] Fix: Don't autofix if the first line ends in a question mark? (D400) ([#​13399](https://redirect.github.com/astral-sh/ruff/pull/13399)) ##### Bug fixes - Respect `lint.exclude` in ruff check `--add-noqa` ([#​13427](https://redirect.github.com/astral-sh/ruff/pull/13427)) ##### Performance - Avoid tracking module resolver files in Salsa ([#​13437](https://redirect.github.com/astral-sh/ruff/pull/13437)) - Use `forget` for module resolver database ([#​13438](https://redirect.github.com/astral-sh/ruff/pull/13438)) ### [`v0.6.6`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#066) [Compare Source](https://redirect.github.com/astral-sh/ruff/compare/0.6.5...0.6.6) ##### Preview features - \[`refurb`] Skip `slice-to-remove-prefix-or-suffix` (`FURB188`) when non-trivial slice steps are present ([#​13405](https://redirect.github.com/astral-sh/ruff/pull/13405)) - Add a subcommand to generate dependency graphs ([#​13402](https://redirect.github.com/astral-sh/ruff/pull/13402)) ##### Formatter - Fix placement of inline parameter comments ([#​13379](https://redirect.github.com/astral-sh/ruff/pull/13379)) ##### Server - Fix off-by one error in the `LineIndex::offset` calculation ([#​13407](https://redirect.github.com/astral-sh/ruff/pull/13407)) ##### Bug fixes - \[`fastapi`] Respect FastAPI aliases in route definitions ([#​13394](https://redirect.github.com/astral-sh/ruff/pull/13394)) - \[`pydocstyle`] Respect word boundaries when detecting function signature in docs ([#​13388](https://redirect.github.com/astral-sh/ruff/pull/13388)) ##### Documentation - Add backlinks to rule overview linter ([#​13368](https://redirect.github.com/astral-sh/ruff/pull/13368)) - Fix documentation for editor vim plugin ALE ([#​13348](https://redirect.github.com/astral-sh/ruff/pull/13348)) - Fix rendering of `FURB188` docs ([#​13406](https://redirect.github.com/astral-sh/ruff/pull/13406)) ### [`v0.6.5`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#065) [Compare Source](https://redirect.github.com/astral-sh/ruff/compare/0.6.4...0.6.5) ##### Preview features - \[`pydoclint`] Ignore `DOC201` when function name is "**new**" ([#​13300](https://redirect.github.com/astral-sh/ruff/pull/13300)) - \[`refurb`] Implement `slice-to-remove-prefix-or-suffix` (`FURB188`) ([#​13256](https://redirect.github.com/astral-sh/ruff/pull/13256)) ##### Rule changes - \[`eradicate`] Ignore script-comments with multiple end-tags (`ERA001`) ([#​13283](https://redirect.github.com/astral-sh/ruff/pull/13283)) - \[`pyflakes`] Improve error message for `UndefinedName` when a builtin was added in a newer version than specified in Ruff config (`F821`) ([#​13293](https://redirect.github.com/astral-sh/ruff/pull/13293)) ##### Server - Add support for extensionless Python files for server ([#​13326](https://redirect.github.com/astral-sh/ruff/pull/13326)) - Fix configuration inheritance for configurations specified in the LSP settings ([#​13285](https://redirect.github.com/astral-sh/ruff/pull/13285)) ##### Bug fixes - \[`ruff`] Handle unary operators in `decimal-from-float-literal` (`RUF032`) ([#​13275](https://redirect.github.com/astral-sh/ruff/pull/13275)) ##### CLI - Only include rules with diagnostics in SARIF metadata ([#​13268](https://redirect.github.com/astral-sh/ruff/pull/13268)) ##### Playground - Add "Copy as pyproject.toml/ruff.toml" and "Paste from TOML" ([#​13328](https://redirect.github.com/astral-sh/ruff/pull/13328)) - Fix errors not shown for restored snippet on page load ([#​13262](https://redirect.github.com/astral-sh/ruff/pull/13262))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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.