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.240 (#50)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [ruff](https://togithub.com/charliermarsh/ruff) | `^0.0.239` -> `^0.0.240` | [![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.240/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.240/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.240/compatibility-slim/0.0.239)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.240/confidence-slim/0.0.239)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>charliermarsh/ruff</summary> ### [`v0.0.240`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.240) [Compare Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.239...v0.0.240) <!-- Release notes generated using configuration in .github/release.yml at main --> #### What's Changed ##### Rules - \[`pyupgrade`]: Remove outdated `sys.version_info` blocks by [@​colin99d](https://togithub.com/colin99d) in [astral-sh/ruff#2099 - \[`flake8-self`] Add Plugin and Rule `SLF001` by [@​saadmk11](https://togithub.com/saadmk11) in [astral-sh/ruff#2470 - \[`pylint`] Implement pylint's `too-many-statements` rule (`PLR0915`) by [@​chanman3388](https://togithub.com/chanman3388) in [astral-sh/ruff#2445 ##### Settings - \[`isort`] Support forced_separate by [@​akx](https://togithub.com/akx) in [astral-sh/ruff#2268 - \[`isort`] Add isort option lines-after-imports by [@​reidswan](https://togithub.com/reidswan) in [astral-sh/ruff#2440 - Allow non-ruff.toml-named files for --config by [@​charliermarsh](https://togithub.com/charliermarsh) in [astral-sh/ruff#2463 ##### Bug Fixes - Trigger, but don't fix, SIM rules if comments are present by [@​charliermarsh](https://togithub.com/charliermarsh) in [astral-sh/ruff#2450 - Only avoid PEP604 rewrites for pre-Python 3.10 code by [@​charliermarsh](https://togithub.com/charliermarsh) in [astral-sh/ruff#2449 - Use LibCST to reverse Yoda conditions by [@​charliermarsh](https://togithub.com/charliermarsh) in [astral-sh/ruff#2468 - fix: assertTrue()/assertFalse() fixer should not test for identity by [@​spaceone](https://togithub.com/spaceone) in [astral-sh/ruff#2476 - Treat `if 0:` and `if False:` as type-checking blocks by [@​charliermarsh](https://togithub.com/charliermarsh) in [astral-sh/ruff#2485 - Avoid iterating over body twice by [@​charliermarsh](https://togithub.com/charliermarsh) in [astral-sh/ruff#2439 - more builtin name checks when autofixing by [@​spaceone](https://togithub.com/spaceone) in [astral-sh/ruff#2430 - Respect parent noqa in --add-noqa by [@​charliermarsh](https://togithub.com/charliermarsh) in [astral-sh/ruff#2464 - Avoid removing un-selected codes when applying `--add-noqa` edits by [@​charliermarsh](https://togithub.com/charliermarsh) in [astral-sh/ruff#2465 - Carry-over `ignore` to next config layer if `select = []` by [@​not-my-profile](https://togithub.com/not-my-profile) in [astral-sh/ruff#2467 - Visit NamedExpr values before targets by [@​charliermarsh](https://togithub.com/charliermarsh) in [astral-sh/ruff#2484 #### New Contributors - [@​reidswan](https://togithub.com/reidswan) made their first contribution in [astral-sh/ruff#2440 - [@​chanman3388](https://togithub.com/chanman3388) made their first contribution in [astral-sh/ruff#2445 **Full Changelog**: astral-sh/ruff@v0.0.239...v0.0.240 </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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTkuNSIsInVwZGF0ZWRJblZlciI6IjM0LjExOS41In0=--> Signed-off-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information