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.246 (#49)
[![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.245` -> `==0.0.246` | [![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.246/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.246/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.246/compatibility-slim/0.0.245)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.246/confidence-slim/0.0.245)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>charliermarsh/ruff</summary> ### [`v0.0.246`](https://github.com/charliermarsh/ruff/releases/tag/v0.0.246) [Compare Source](https://github.com/charliermarsh/ruff/compare/v0.0.245...v0.0.246) <!-- Release notes generated using configuration in .github/release.yml at main --> #### What's Changed ##### Breaking Changes - Remove multiple-statements-on-one-line-def (E704) by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2773](https://github.com/charliermarsh/ruff/pull/2773) ##### Rules - \[`flake8-pyi`]: add rules for unrecognized platform check (PYI007, PYI008) by [@​SigureMo](https://github.com/SigureMo) in [https://github.com/charliermarsh/ruff/pull/2805](https://github.com/charliermarsh/ruff/pull/2805) - \[`flake8-simplify`]: combine-if-conditions by [@​colin99d](https://github.com/colin99d) in [https://github.com/charliermarsh/ruff/pull/2823](https://github.com/charliermarsh/ruff/pull/2823) - \[`flake8-django`] Implemented flake8-django plugin rules by [@​konysko](https://github.com/konysko) in [https://github.com/charliermarsh/ruff/pull/2586](https://github.com/charliermarsh/ruff/pull/2586) ##### CLI - Implement `config` subcommand by [@​not-my-profile](https://github.com/not-my-profile) in [https://github.com/charliermarsh/ruff/pull/2775](https://github.com/charliermarsh/ruff/pull/2775) - Add rendering of rule markdown for terminal output by [@​ngnpope](https://github.com/ngnpope) in [https://github.com/charliermarsh/ruff/pull/2747](https://github.com/charliermarsh/ruff/pull/2747) - Add `--show-fixes` flag to show applied fixes by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2707](https://github.com/charliermarsh/ruff/pull/2707) ##### Settings - implemented option lines-between-types for isort by [@​PushUpek](https://github.com/PushUpek) in [https://github.com/charliermarsh/ruff/pull/2762](https://github.com/charliermarsh/ruff/pull/2762) ##### Autofix - \[`pyflakes`] Support unused variable removal in multi-assignment statements by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2786](https://github.com/charliermarsh/ruff/pull/2786) - \[`flake8-comprehensions`] autofix C414 and C417 + bugfix by [@​sbrugman](https://github.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2693](https://github.com/charliermarsh/ruff/pull/2693) - \[`flake8-comprehensions`] bugfix for C413 autofix by [@​sbrugman](https://github.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2804](https://github.com/charliermarsh/ruff/pull/2804) - \[`flake8-simplify`] Use smarter inversion for comparison checks by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2831](https://github.com/charliermarsh/ruff/pull/2831) - \[`flake8-comprehensions`] improve autofix for C401, C402 and C417 by [@​sbrugman](https://github.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2806](https://github.com/charliermarsh/ruff/pull/2806) ##### Bug Fixes - Ignore colon-after-lambda in compound statement rules by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2771](https://github.com/charliermarsh/ruff/pull/2771) - Don't treat all future import accesses as non-runtime by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2774](https://github.com/charliermarsh/ruff/pull/2774) - Avoid treating deferred string annotations as required-at-runtime by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2779](https://github.com/charliermarsh/ruff/pull/2779) - Respect continuations in `noqa` enforcement by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2783](https://github.com/charliermarsh/ruff/pull/2783) - Improve unused-variable autofixes for with statements by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2785](https://github.com/charliermarsh/ruff/pull/2785) - Refactor generator to use Astor-derived precedence levels by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2798](https://github.com/charliermarsh/ruff/pull/2798) - Allow private accesses on super calls by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2815](https://github.com/charliermarsh/ruff/pull/2815) - Allow non-verbose raise when cause is present by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2816](https://github.com/charliermarsh/ruff/pull/2816) - Avoid duplicates in if-with-same-arms by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2827](https://github.com/charliermarsh/ruff/pull/2827) - Include package inference during --add-noqa command by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2832](https://github.com/charliermarsh/ruff/pull/2832) - Allow compound statements of single ellipsis by [@​charliermarsh](https://github.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2837](https://github.com/charliermarsh/ruff/pull/2837) #### New Contributors - [@​trag1c](https://github.com/trag1c) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2757](https://github.com/charliermarsh/ruff/pull/2757) - [@​PushUpek](https://github.com/PushUpek) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2762](https://github.com/charliermarsh/ruff/pull/2762) - [@​konysko](https://github.com/konysko) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2586](https://github.com/charliermarsh/ruff/pull/2586) - [@​SigureMo](https://github.com/SigureMo) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2805](https://github.com/charliermarsh/ruff/pull/2805) **Full Changelog**: astral-sh/ruff@v0.0.245...v0.0.246 </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:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMzMuMCIsInVwZGF0ZWRJblZlciI6IjM0LjEzMy4wIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information