MTES-MCT / qualicharge

Améliorer la qualité globale du service de recharge pour véhicules électriques en analysant les données de supervision.
https://beta.gouv.fr/startups/qualicharge.html
MIT License
2 stars 1 forks source link

⬆️(project) upgrade ruff to v0.4.3 #42

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 2 months ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

astral-sh/ruff (ruff) ### [`v0.4.3`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#043) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.4.2...v0.4.3) ##### Enhancements - Add support for PEP 696 syntax ([#​11120](https://togithub.com/astral-sh/ruff/pull/11120)) ##### Preview features - \[`refurb`] Use function range for `reimplemented-operator` diagnostics ([#​11271](https://togithub.com/astral-sh/ruff/pull/11271)) - \[`refurb`] Ignore methods in `reimplemented-operator` (`FURB118`) ([#​11270](https://togithub.com/astral-sh/ruff/pull/11270)) - \[`refurb`] Implement `fstring-number-format` (`FURB116`) ([#​10921](https://togithub.com/astral-sh/ruff/pull/10921)) - \[`ruff`] Implement `redirected-noqa` (`RUF101`) ([#​11052](https://togithub.com/astral-sh/ruff/pull/11052)) - \[`pyflakes`] Distinguish between first-party and third-party imports for fix suggestions ([#​11168](https://togithub.com/astral-sh/ruff/pull/11168)) ##### Rule changes - \[`flake8-bugbear`] Ignore non-abstract class attributes when enforcing `B024` ([#​11210](https://togithub.com/astral-sh/ruff/pull/11210)) - \[`flake8-logging`] Include inline instantiations when detecting loggers ([#​11154](https://togithub.com/astral-sh/ruff/pull/11154)) - \[`pylint`] Also emit `PLR0206` for properties with variadic parameters ([#​11200](https://togithub.com/astral-sh/ruff/pull/11200)) - \[`ruff`] Detect duplicate codes as part of `unused-noqa` (`RUF100`) ([#​10850](https://togithub.com/astral-sh/ruff/pull/10850)) ##### Formatter - Avoid multiline expression if format specifier is present ([#​11123](https://togithub.com/astral-sh/ruff/pull/11123)) ##### LSP - Write `ruff server` setup guide for Helix ([#​11183](https://togithub.com/astral-sh/ruff/pull/11183)) - `ruff server` no longer hangs after shutdown ([#​11222](https://togithub.com/astral-sh/ruff/pull/11222)) - `ruff server` reads from a configuration TOML file in the user configuration directory if no local configuration exists ([#​11225](https://togithub.com/astral-sh/ruff/pull/11225)) - `ruff server` respects `per-file-ignores` configuration ([#​11224](https://togithub.com/astral-sh/ruff/pull/11224)) - `ruff server`: Support a custom TOML configuration file ([#​11140](https://togithub.com/astral-sh/ruff/pull/11140)) - `ruff server`: Support setting to prioritize project configuration over editor configuration ([#​11086](https://togithub.com/astral-sh/ruff/pull/11086)) ##### Bug fixes - Avoid debug assertion around NFKC renames ([#​11249](https://togithub.com/astral-sh/ruff/pull/11249)) - \[`pyflakes`] Prioritize `redefined-while-unused` over `unused-import` ([#​11173](https://togithub.com/astral-sh/ruff/pull/11173)) - \[`ruff`] Respect `async` expressions in comprehension bodies ([#​11219](https://togithub.com/astral-sh/ruff/pull/11219)) - \[`pygrep_hooks`] Fix `blanket-noqa` panic when last line has noqa with no newline (`PGH004`) ([#​11108](https://togithub.com/astral-sh/ruff/pull/11108)) - \[`perflint`] Ignore list-copy recommendations for async `for` loops ([#​11250](https://togithub.com/astral-sh/ruff/pull/11250)) - \[`pyflakes`] Improve `invalid-print-syntax` documentation ([#​11171](https://togithub.com/astral-sh/ruff/pull/11171)) ##### Performance - Avoid allocations for isort module names ([#​11251](https://togithub.com/astral-sh/ruff/pull/11251)) - Build a separate ARM wheel for macOS ([#​11149](https://togithub.com/astral-sh/ruff/pull/11149)) ### [`v0.4.2`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#042) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.4.1...v0.4.2) ##### Rule changes - \[`flake8-pyi`] Allow for overloaded `__exit__` and `__aexit__` definitions (`PYI036`) ([#​11057](https://togithub.com/astral-sh/ruff/pull/11057)) - \[`pyupgrade`] Catch usages of `"%s" % var` and provide an unsafe fix (`UP031`) ([#​11019](https://togithub.com/astral-sh/ruff/pull/11019)) - \[`refurb`] Implement new rule that suggests min/max over `sorted()` (`FURB192`) ([#​10868](https://togithub.com/astral-sh/ruff/pull/10868)) ##### Server - Fix an issue with missing diagnostics for Neovim and Helix ([#​11092](https://togithub.com/astral-sh/ruff/pull/11092)) - Implement hover documentation for `noqa` codes ([#​11096](https://togithub.com/astral-sh/ruff/pull/11096)) - Introduce common Ruff configuration options with new server settings ([#​11062](https://togithub.com/astral-sh/ruff/pull/11062)) ##### Bug fixes - Use `macos-12` for building release wheels to enable macOS 11 compatibility ([#​11146](https://togithub.com/astral-sh/ruff/pull/11146)) - \[`flake8-blind-expect`] Allow raise from in `BLE001` ([#​11131](https://togithub.com/astral-sh/ruff/pull/11131)) - \[`flake8-pyi`] Allow simple assignments to `None` in enum class scopes (`PYI026`) ([#​11128](https://togithub.com/astral-sh/ruff/pull/11128)) - \[`flake8-simplify`] Avoid raising `SIM911` for non-`zip` attribute calls ([#​11126](https://togithub.com/astral-sh/ruff/pull/11126)) - \[`refurb`] Avoid `operator.itemgetter` suggestion for single-item tuple ([#​11095](https://togithub.com/astral-sh/ruff/pull/11095)) - \[`ruff`] Respect per-file-ignores for `RUF100` with no other diagnostics ([#​11058](https://togithub.com/astral-sh/ruff/pull/11058)) - \[`ruff`] Fix async comprehension false positive (`RUF029`) ([#​11070](https://togithub.com/astral-sh/ruff/pull/11070)) ##### Documentation - \[`flake8-bugbear`] Document explicitly disabling strict zip (`B905`) ([#​11040](https://togithub.com/astral-sh/ruff/pull/11040)) - \[`flake8-type-checking`] Mention `lint.typing-modules` in `TCH001`, `TCH002`, and `TCH003` ([#​11144](https://togithub.com/astral-sh/ruff/pull/11144)) - \[`isort`] Improve documentation around custom `isort` sections ([#​11050](https://togithub.com/astral-sh/ruff/pull/11050)) - \[`pylint`] Fix documentation oversight for `invalid-X-returns` ([#​11094](https://togithub.com/astral-sh/ruff/pull/11094)) ##### Performance - Use `matchit` to resolve per-file settings ([#​11111](https://togithub.com/astral-sh/ruff/pull/11111))

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 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.