Skip to content

Commit

Permalink
Update dependency ruff to v0.0.247 (#55)
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.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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;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
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2929](https://github.com/charliermarsh/ruff/pull/2929)

#### New Contributors

- [@&#8203;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)
- [@&#8203;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)
- [@&#8203;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
renovate[bot] authored Feb 18, 2023
1 parent ffeb4fd commit 353c6b8
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.246
ruff==0.0.247
types-aiofiles==22.1.0.7
types-PyYAML==6.0.12.6
typing-extensions==4.5.0
Expand Down

0 comments on commit 353c6b8

Please sign in to comment.