klaasnicolaas / python-autarco

☀️ Asynchronous Python client for the inverters of Autarco
https://www.autarco.com
MIT License
5 stars 1 forks source link

⬆️ Update dependency ruff to v0.4.6 #409

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ruff (source, changelog) 0.4.5 -> 0.4.6 age adoption passing confidence

Release Notes

astral-sh/ruff (ruff) ### [`v0.4.6`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#046) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.4.5...v0.4.6) ##### Breaking changes - Use project-relative paths when calculating GitLab fingerprints ([#​11532](https://togithub.com/astral-sh/ruff/pull/11532)) ##### Preview features - \[`flake8-async`] Sleep with >24 hour interval should usually sleep forever (`ASYNC116`) ([#​11498](https://togithub.com/astral-sh/ruff/pull/11498)) ##### Rule changes - \[`numpy`] Add missing functions to NumPy 2.0 migration rule ([#​11528](https://togithub.com/astral-sh/ruff/pull/11528)) - \[`mccabe`] Consider irrefutable pattern similar to `if .. else` for `C901` ([#​11565](https://togithub.com/astral-sh/ruff/pull/11565)) - Consider `match`-`case` statements for `C901`, `PLR0912`, and `PLR0915` ([#​11521](https://togithub.com/astral-sh/ruff/pull/11521)) - Remove empty strings when converting to f-string (`UP032`) ([#​11524](https://togithub.com/astral-sh/ruff/pull/11524)) - \[`flake8-bandit`] `request-without-timeout` should warn for `requests.request` ([#​11548](https://togithub.com/astral-sh/ruff/pull/11548)) - \[`flake8-self`] Ignore sunder accesses in `flake8-self` rules ([#​11546](https://togithub.com/astral-sh/ruff/pull/11546)) - \[`pyupgrade`] Lint for `TypeAliasType` usages (`UP040`) ([#​11530](https://togithub.com/astral-sh/ruff/pull/11530)) ##### Server - Respect excludes in `ruff server` configuration discovery ([#​11551](https://togithub.com/astral-sh/ruff/pull/11551)) - Use default settings if initialization options is empty or not provided ([#​11566](https://togithub.com/astral-sh/ruff/pull/11566)) - `ruff server` correctly treats `.pyi` files as stub files ([#​11535](https://togithub.com/astral-sh/ruff/pull/11535)) - `ruff server` searches for configuration in parent directories ([#​11537](https://togithub.com/astral-sh/ruff/pull/11537)) - `ruff server`: An empty code action filter no longer returns notebook source actions ([#​11526](https://togithub.com/astral-sh/ruff/pull/11526)) ##### Bug fixes - \[`flake8-logging-format`] Fix autofix title in `logging-warn` (`G010`) ([#​11514](https://togithub.com/astral-sh/ruff/pull/11514)) - \[`refurb`] Avoid recommending `operator.itemgetter` with dependence on lambda arguments ([#​11574](https://togithub.com/astral-sh/ruff/pull/11574)) - \[`flake8-simplify`] Avoid recommending context manager in `__enter__` implementations ([#​11575](https://togithub.com/astral-sh/ruff/pull/11575)) - Create intermediary directories for `--output-file` ([#​11550](https://togithub.com/astral-sh/ruff/pull/11550)) - Propagate reads on global variables ([#​11584](https://togithub.com/astral-sh/ruff/pull/11584)) - Treat all `singledispatch` arguments as runtime-required ([#​11523](https://togithub.com/astral-sh/ruff/pull/11523))

Configuration

📅 Schedule: Branch creation - "before 6am every weekday" in timezone Europe/Amsterdam, 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 has been generated by Mend Renovate. View repository job log here.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (3f77f4c) to head (26c4aee).

:exclamation: Current head 26c4aee differs from pull request most recent head 8115c37

Please upload reports for the commit 8115c37 to get more accurate results.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #409 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 4 4 Lines 132 132 Branches 14 14 ========================================= Hits 132 132 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.