charmed-kubernetes / kubernetes-dashboard-operator

Kubernetes dashboard operator. Report bugs at https://bugs.launchpad.net/kubernetes-dashboard-operator
Apache License 2.0
0 stars 2 forks source link

chore(deps): update dependency ruff to v0.0.238 #45

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ruff 0.0.237 -> 0.0.238 age adoption passing confidence

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the logs for more information.


Release Notes

charliermarsh/ruff ### [`v0.0.238`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.238) [Compare Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.237...v0.0.238) #### What's Changed ##### ⚠️ Breaking Changes ⚠️ ##### `select`, `extend-select`, `ignore`, and `extend-ignore` have new semantics ([#​2312](https://togithub.com/charliermarsh/ruff/pull/2312)) Previously, the interplay between `select` and its related options could lead to unexpected behavior. For example, `ruff --select E501 --ignore ALL` and `ruff --select E501 --extend-ignore ALL` behaved differently. (See [#​2312](https://togithub.com/charliermarsh/ruff/pull/2312) for more examples.) The new semantics are such that Ruff uses the "highest-priority" `select` as the basis for the rule set, and then applies any `extend-select`, `ignore`, and `extend-ignore` adjustments. CLI options are given higher priority than `pyproject.toml` options, and the current `pyproject.toml` file is given higher priority than any inherited `pyproject.toml` files. As an example: `ruff --select F401` will select rule `F401`, and ignore any of the modifiers from the `pyproject.toml`, as the "highest-priorty" select kicks off the resolution chain. This change is largely backwards compatible -- most users should experience no change in behavior. For more, see [BREAKING_CHANGES.md](https://togithub.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md#select-extend-select-ignore-and-extend-ignore-have-new-semantics-2312). ##### `remove-six-compat` (`UP016`) has been removed ([#​2332](https://togithub.com/charliermarsh/ruff/pull/2332)) The `remove-six-compat` rule has been removed. This rule was only useful for one-time Python 2-to-3 upgrades. ##### Rules - Implement Pylint's `too-many-arguments` rule (`PLR0913`) by [@​akhildevelops](https://togithub.com/akhildevelops) in [https://github.com/charliermarsh/ruff/pull/2308](https://togithub.com/charliermarsh/ruff/pull/2308) - Extend conventional imports defaults to include TensorFlow et al by [@​sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2353](https://togithub.com/charliermarsh/ruff/pull/2353) ##### Settings - feat: add ruff --statistics by [@​spaceone](https://togithub.com/spaceone) in [https://github.com/charliermarsh/ruff/pull/2284](https://togithub.com/charliermarsh/ruff/pull/2284) - Ignore magic comparisons to bytes by default by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2365](https://togithub.com/charliermarsh/ruff/pull/2365) - Implement `ruff linter` subcommand by [@​not-my-profile](https://togithub.com/not-my-profile) in [https://github.com/charliermarsh/ruff/pull/2294](https://togithub.com/charliermarsh/ruff/pull/2294) - Improve rule config resolution by [@​not-my-profile](https://togithub.com/not-my-profile) in [https://github.com/charliermarsh/ruff/pull/2312](https://togithub.com/charliermarsh/ruff/pull/2312) ##### Bug Fixes - Refine criteria for `exc_info` logger rules by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2364](https://togithub.com/charliermarsh/ruff/pull/2364) - Respect per-file-ignores when checking noqa by [@​sciyoshi](https://togithub.com/sciyoshi) in [https://github.com/charliermarsh/ruff/pull/2309](https://togithub.com/charliermarsh/ruff/pull/2309) - Place star before other member imports by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2320](https://togithub.com/charliermarsh/ruff/pull/2320) - Allow list comprehensions for **all** assignment by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2326](https://togithub.com/charliermarsh/ruff/pull/2326) - \[`TRY201`] don't check raise statements in nested exception handlers by [@​sciyoshi](https://togithub.com/sciyoshi) in [https://github.com/charliermarsh/ruff/pull/2337](https://togithub.com/charliermarsh/ruff/pull/2337) - include tomllib in standard lib by [@​sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2345](https://togithub.com/charliermarsh/ruff/pull/2345) - Avoid removing trailing comments when autofixing by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2352](https://togithub.com/charliermarsh/ruff/pull/2352) - \[`I001`] fix isort for files with tab-based indentation by [@​sciyoshi](https://togithub.com/sciyoshi) in [https://github.com/charliermarsh/ruff/pull/2361](https://togithub.com/charliermarsh/ruff/pull/2361) - Disable incompatible rules rather than merely warning by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2369](https://togithub.com/charliermarsh/ruff/pull/2369) #### New Contributors - [@​chirag127](https://togithub.com/chirag127) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2307](https://togithub.com/charliermarsh/ruff/pull/2307) - [@​akhildevelops](https://togithub.com/akhildevelops) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2308](https://togithub.com/charliermarsh/ruff/pull/2308) **Full Changelog**: https://github.com/charliermarsh/ruff/compare/v0.0.237...v0.0.238

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 has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 1 year ago

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.