Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⬆️ Update dependency ruff to ^0.0.237 (#46)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [ruff](https://togithub.com/charliermarsh/ruff) | `^0.0.236` -> `^0.0.237` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>charliermarsh/ruff</summary> ### [`v0.0.237`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.237) [Compare Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.236...v0.0.237) #### What's Changed ##### Breaking Changes `--explain`, `--clean`, and `--generate-shell-completion` are now implemented as subcommands ([#​2190](https://togithub.com/charliermarsh/ruff/pull/2190)): ruff . # Still works! And will always work. ruff check . # New! Also works. ruff --explain E402 # Still works. ruff rule E402 # New! Also works. (And preferred.) ### Oops! The command has to come first. ruff --format json --explain E402 # No longer works. ruff --explain E402 --format json # Still works! ruff rule E402 --format json # Works! (And preferred.) This change is largely backwards compatible -- most users should experience no change in behavior. For exceptions, see [`BREAKING_CHANGES.md`](https://togithub.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md#--explain---clean-and---generate-shell-completion-are-now-subcommands-2190). ##### Rules - feat: pylint `PLE0604` and `PLE0605` by [@​sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2241](https://togithub.com/charliermarsh/ruff/pull/2241) - feat: include os.getcwdb (bytes) into flake8-use-pathlib by [@​sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2276](https://togithub.com/charliermarsh/ruff/pull/2276) - \[`flake8-bandit`] Add Rule S110 (try/except/pass) by [@​sciyoshi](https://togithub.com/sciyoshi) in [https://github.com/charliermarsh/ruff/pull/2197](https://togithub.com/charliermarsh/ruff/pull/2197) ##### Settings - Omit typing module from flake8-type-checking by default by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2277](https://togithub.com/charliermarsh/ruff/pull/2277) ##### Bug Fixes - Fix SIM300 to take Python constants into account by [@​frenck](https://togithub.com/frenck) in [https://github.com/charliermarsh/ruff/pull/2255](https://togithub.com/charliermarsh/ruff/pull/2255) - Treat constant tuples as constants for yoda-conditions by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2265](https://togithub.com/charliermarsh/ruff/pull/2265) - Treat attribute constants as constant for yoda-conditions by [@​frenck](https://togithub.com/frenck) in [https://github.com/charliermarsh/ruff/pull/2266](https://togithub.com/charliermarsh/ruff/pull/2266) - flake8-annotations: Move has_any_typed_arg into correct nested `if` by [@​akx](https://togithub.com/akx) in [https://github.com/charliermarsh/ruff/pull/2269](https://togithub.com/charliermarsh/ruff/pull/2269) - Expand heuristic for detecting logging calls by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2279](https://togithub.com/charliermarsh/ruff/pull/2279) - Preserve global binding kind during reassignments by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2297](https://togithub.com/charliermarsh/ruff/pull/2297) - Fix typo in typing_extensions by [@​Jonxslays](https://togithub.com/Jonxslays) in [https://github.com/charliermarsh/ruff/pull/2298](https://togithub.com/charliermarsh/ruff/pull/2298) #### New Contributors - [@​frenck](https://togithub.com/frenck) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2255](https://togithub.com/charliermarsh/ruff/pull/2255) - [@​sladyn98](https://togithub.com/sladyn98) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2141](https://togithub.com/charliermarsh/ruff/pull/2141) - [@​the-matt-morris](https://togithub.com/the-matt-morris) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2291](https://togithub.com/charliermarsh/ruff/pull/2291) - [@​Jonxslays](https://togithub.com/Jonxslays) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2298](https://togithub.com/charliermarsh/ruff/pull/2298) **Full Changelog**: astral-sh/ruff@v0.0.236...v0.0.237 </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/ixm-one/pytest-cmake-presets). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTYuMSIsInVwZGF0ZWRJblZlciI6IjM0LjExNi4xIn0=--> Signed-off-by: Renovate Bot <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information