From dd5da9c5b26804fe5343d368eda1d82ef2ea6d5c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 14 Feb 2023 12:34:58 +0000 Subject: [PATCH] Update dependency ruff to v0.0.246 (#49) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![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.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
charliermarsh/ruff ### [`v0.0.246`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.246) [Compare Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.245...v0.0.246) #### What's Changed ##### Breaking Changes - Remove multiple-statements-on-one-line-def (E704) by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2773](https://togithub.com/charliermarsh/ruff/pull/2773) ##### Rules - \[`flake8-pyi`]: add rules for unrecognized platform check (PYI007, PYI008) by [@​SigureMo](https://togithub.com/SigureMo) in [https://github.com/charliermarsh/ruff/pull/2805](https://togithub.com/charliermarsh/ruff/pull/2805) - \[`flake8-simplify`]: combine-if-conditions by [@​colin99d](https://togithub.com/colin99d) in [https://github.com/charliermarsh/ruff/pull/2823](https://togithub.com/charliermarsh/ruff/pull/2823) - \[`flake8-django`] Implemented flake8-django plugin rules by [@​konysko](https://togithub.com/konysko) in [https://github.com/charliermarsh/ruff/pull/2586](https://togithub.com/charliermarsh/ruff/pull/2586) ##### CLI - Implement `config` subcommand by [@​not-my-profile](https://togithub.com/not-my-profile) in [https://github.com/charliermarsh/ruff/pull/2775](https://togithub.com/charliermarsh/ruff/pull/2775) - Add rendering of rule markdown for terminal output by [@​ngnpope](https://togithub.com/ngnpope) in [https://github.com/charliermarsh/ruff/pull/2747](https://togithub.com/charliermarsh/ruff/pull/2747) - Add `--show-fixes` flag to show applied fixes by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2707](https://togithub.com/charliermarsh/ruff/pull/2707) ##### Settings - implemented option lines-between-types for isort by [@​PushUpek](https://togithub.com/PushUpek) in [https://github.com/charliermarsh/ruff/pull/2762](https://togithub.com/charliermarsh/ruff/pull/2762) ##### Autofix - \[`pyflakes`] Support unused variable removal in multi-assignment statements by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2786](https://togithub.com/charliermarsh/ruff/pull/2786) - \[`flake8-comprehensions`] autofix C414 and C417 + bugfix by [@​sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2693](https://togithub.com/charliermarsh/ruff/pull/2693) - \[`flake8-comprehensions`] bugfix for C413 autofix by [@​sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2804](https://togithub.com/charliermarsh/ruff/pull/2804) - \[`flake8-simplify`] Use smarter inversion for comparison checks by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2831](https://togithub.com/charliermarsh/ruff/pull/2831) - \[`flake8-comprehensions`] improve autofix for C401, C402 and C417 by [@​sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2806](https://togithub.com/charliermarsh/ruff/pull/2806) ##### Bug Fixes - Ignore colon-after-lambda in compound statement rules by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2771](https://togithub.com/charliermarsh/ruff/pull/2771) - Don't treat all future import accesses as non-runtime by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2774](https://togithub.com/charliermarsh/ruff/pull/2774) - Avoid treating deferred string annotations as required-at-runtime by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2779](https://togithub.com/charliermarsh/ruff/pull/2779) - Respect continuations in `noqa` enforcement by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2783](https://togithub.com/charliermarsh/ruff/pull/2783) - Improve unused-variable autofixes for with statements by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2785](https://togithub.com/charliermarsh/ruff/pull/2785) - Refactor generator to use Astor-derived precedence levels by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2798](https://togithub.com/charliermarsh/ruff/pull/2798) - Allow private accesses on super calls by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2815](https://togithub.com/charliermarsh/ruff/pull/2815) - Allow non-verbose raise when cause is present by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2816](https://togithub.com/charliermarsh/ruff/pull/2816) - Avoid duplicates in if-with-same-arms by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2827](https://togithub.com/charliermarsh/ruff/pull/2827) - Include package inference during --add-noqa command by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2832](https://togithub.com/charliermarsh/ruff/pull/2832) - Allow compound statements of single ellipsis by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2837](https://togithub.com/charliermarsh/ruff/pull/2837) #### New Contributors - [@​trag1c](https://togithub.com/trag1c) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2757](https://togithub.com/charliermarsh/ruff/pull/2757) - [@​PushUpek](https://togithub.com/PushUpek) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2762](https://togithub.com/charliermarsh/ruff/pull/2762) - [@​konysko](https://togithub.com/konysko) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2586](https://togithub.com/charliermarsh/ruff/pull/2586) - [@​SigureMo](https://togithub.com/SigureMo) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2805](https://togithub.com/charliermarsh/ruff/pull/2805) **Full Changelog**: https://github.com/charliermarsh/ruff/compare/v0.0.245...v0.0.246
--- ### 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. --- - [ ] 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). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9a1239f3..072c0c20 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,7 @@ pytest-asyncio==0.20.3 pytest-cov==4.0.0 python-slugify==8.0.0 PyYAML==6.0 -ruff==0.0.245 +ruff==0.0.246 types-aiofiles==22.1.0.7 types-PyYAML==6.0.12.4 typing-extensions==4.4.0