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 v0.0.247 (#55)
[![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://github.com/charliermarsh/ruff) | `==0.0.246` -> `==0.0.247` | [![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.247/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.247/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.247/compatibility-slim/0.0.246)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.247/confidence-slim/0.0.246)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>charliermarsh/ruff</summary> ### [`v0.0.247`](https://github.com/charliermarsh/ruff/releases/tag/v0.0.247) [Compare Source](https://github.com/charliermarsh/ruff/compare/v0.0.246...v0.0.247) <!-- Release notes generated using configuration in .github/release.yml at main --> #### What's Changed ##### Rules - \[`NPY001`] deprecated type aliases by [@​sbrugman](https://github.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2810](https://github.com/charliermarsh/ruff/pull/2810) - \[`RUF006`] Implement `asyncio-dangling-task` to track `asyncio.create_task` calls by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2935](https://github.com/charliermarsh/ruff/pull/2935) ##### CLI - Implement shell autocompletion for rule codes by [@​not-my-profile](https://github.com/not-my-profile) in [https://github.com/charliermarsh/ruff/pull/2906](https://github.com/charliermarsh/ruff/pull/2906) ##### Bug Fixes - Handle multiple receiver decorators in receiver-decorator by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2858](https://github.com/charliermarsh/ruff/pull/2858) - Avoid false-positives with multi-byte characters in B005 by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2862](https://github.com/charliermarsh/ruff/pull/2862) - Avoid false-positives for runtime-types in type checking blocks by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2863](https://github.com/charliermarsh/ruff/pull/2863) - Avoid noqa removal upon unhandled syntax errors by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2864](https://github.com/charliermarsh/ruff/pull/2864) - Ignore non-imperative-mood in Google docstring convention by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2900](https://github.com/charliermarsh/ruff/pull/2900) - \[`flake8-tidy-imports`] autofix relative imports by [@​sbrugman](https://github.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2891](https://github.com/charliermarsh/ruff/pull/2891) - Respect self as positional-only argument in annotation rules by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2927](https://github.com/charliermarsh/ruff/pull/2927) - Apply nullable-model-string-field to all classes by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2928](https://github.com/charliermarsh/ruff/pull/2928) - Deduplicate files provided on the command-line by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2931](https://github.com/charliermarsh/ruff/pull/2931) - Re-show --target-version on CLI interface by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2859](https://github.com/charliermarsh/ruff/pull/2859) - Remove autofix for prefer-type-error by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2880](https://github.com/charliermarsh/ruff/pull/2880) - Avoid unnecessary-else violations in `elif` branches by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2881](https://github.com/charliermarsh/ruff/pull/2881) - Extend B904 to else branches by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2886](https://github.com/charliermarsh/ruff/pull/2886) - Allow private accesses on current class by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2929](https://github.com/charliermarsh/ruff/pull/2929) #### New Contributors - [@​Jeremiah-England](https://github.com/Jeremiah-England) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2884](https://github.com/charliermarsh/ruff/pull/2884) - [@​Chris-May](https://github.com/Chris-May) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2896](https://github.com/charliermarsh/ruff/pull/2896) - [@​simon04](https://github.com/simon04) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2904](https://github.com/charliermarsh/ruff/pull/2904) **Full Changelog**: astral-sh/ruff@v0.0.246...v0.0.247 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, 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/allenporter/flux-local). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNDMuMSIsInVwZGF0ZWRJblZlciI6IjM0LjE0My4xIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information