Skip to content

Commit

Permalink
Update dependency ruff to v0.0.246 (#49)
Browse files Browse the repository at this point in the history
[![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
[@&#8203;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 [@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2837](https://github.com/charliermarsh/ruff/pull/2837)

#### New Contributors

- [@&#8203;trag1c](https://github.com/trag1c) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/2757](https://github.com/charliermarsh/ruff/pull/2757)
- [@&#8203;PushUpek](https://github.com/PushUpek) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/2762](https://github.com/charliermarsh/ruff/pull/2762)
- [@&#8203;konysko](https://github.com/konysko) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/2586](https://github.com/charliermarsh/ruff/pull/2586)
- [@&#8203;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
renovate[bot] authored Feb 14, 2023
1 parent f4e92f1 commit dd5da9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd5da9c

Please sign in to comment.