Skip to content

Commit

Permalink
Update dependency ruff to v0.1.11 (#333)
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://docs.astral.sh/ruff)
([source](https://togithub.com/astral-sh/ruff),
[changelog](https://togithub.com/astral-sh/ruff/blob/main/CHANGELOG.md))
| `==0.1.9` -> `==0.1.11` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.1.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/ruff/0.1.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/ruff/0.1.9/0.1.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.1.9/0.1.11?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>astral-sh/ruff (ruff)</summary>

###
[`v0.1.11`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0111)

[Compare
Source](https://togithub.com/astral-sh/ruff/compare/v0.1.10...v0.1.11)

##### Preview features

- \[`pylint`] Implement `super-without-brackets` (`W0245`)
([#&#8203;9257](https://togithub.com/astral-sh/ruff/pull/9257))

##### Bug fixes

- Check path string properly in `python -m ruff` invocations
([#&#8203;9367](https://togithub.com/astral-sh/ruff/pull/9367))

##### Documentation

- Tweak `relative-imports` message
([#&#8203;9365](https://togithub.com/astral-sh/ruff/pull/9365))
- Add fix safety note for `yield-in-for-loop`
([#&#8203;9364](https://togithub.com/astral-sh/ruff/pull/9364))

###
[`v0.1.10`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#0110)

[Compare
Source](https://togithub.com/astral-sh/ruff/compare/v0.1.9...v0.1.10)

##### Preview features

- Improve `dummy_implementations` preview style formatting
([#&#8203;9240](https://togithub.com/astral-sh/ruff/pull/9240))
- Normalise Hex and unicode escape sequences in strings
([#&#8203;9280](https://togithub.com/astral-sh/ruff/pull/9280))
- Parenthesize long type annotations in annotated assignments
([#&#8203;9210](https://togithub.com/astral-sh/ruff/pull/9210))
- Parenthesize multi-context managers in `with` statements
([#&#8203;9222](https://togithub.com/astral-sh/ruff/pull/9222))
- \[`flake8-pyi`] Implement `generator-return-from-iter-method`
(`PYI058`)
([#&#8203;9313](https://togithub.com/astral-sh/ruff/pull/9313))
- \[`pylint`] Implement `empty-comment` (`PLR2044`)
([#&#8203;9174](https://togithub.com/astral-sh/ruff/pull/9174))
- \[`refurb`] Implement `bit-count` (`FURB161`)
([#&#8203;9265](https://togithub.com/astral-sh/ruff/pull/9265))
- \[`ruff`] Add `never-union` rule to detect redundant `typing.NoReturn`
and `typing.Never`
([#&#8203;9217](https://togithub.com/astral-sh/ruff/pull/9217))

##### CLI

- Add paths to TOML parse errors
([#&#8203;9358](https://togithub.com/astral-sh/ruff/pull/9358))
- Add row and column numbers to formatter parse errors
([#&#8203;9321](https://togithub.com/astral-sh/ruff/pull/9321))
- Improve responsiveness when invoked via Python
([#&#8203;9315](https://togithub.com/astral-sh/ruff/pull/9315))
- Short rule messages should not end with a period
([#&#8203;9345](https://togithub.com/astral-sh/ruff/pull/9345))

##### Configuration

- Respect runtime-required decorators on functions
([#&#8203;9317](https://togithub.com/astral-sh/ruff/pull/9317))

##### Bug fixes

- Avoid `asyncio-dangling-task` for nonlocal and global bindings
([#&#8203;9263](https://togithub.com/astral-sh/ruff/pull/9263))
- Escape trailing placeholders in rule documentation
([#&#8203;9301](https://togithub.com/astral-sh/ruff/pull/9301))
- Fix continuation detection following multi-line strings
([#&#8203;9332](https://togithub.com/astral-sh/ruff/pull/9332))
- Fix scoping for generators in named expressions in classes
([#&#8203;9248](https://togithub.com/astral-sh/ruff/pull/9248))
- Port from obsolete wsl crate to is-wsl
([#&#8203;9356](https://togithub.com/astral-sh/ruff/pull/9356))
- Remove special pre-visit for module docstrings
([#&#8203;9261](https://togithub.com/astral-sh/ruff/pull/9261))
- Respect `__str__` definitions from super classes
([#&#8203;9338](https://togithub.com/astral-sh/ruff/pull/9338))
- Respect `unused-noqa` via `per-file-ignores`
([#&#8203;9300](https://togithub.com/astral-sh/ruff/pull/9300))
- Respect attribute chains when resolving builtin call paths
([#&#8203;9309](https://togithub.com/astral-sh/ruff/pull/9309))
- Treat all `typing_extensions` members as typing aliases
([#&#8203;9335](https://togithub.com/astral-sh/ruff/pull/9335))
- Use `Display` for formatter parse errors
([#&#8203;9316](https://togithub.com/astral-sh/ruff/pull/9316))
- Wrap subscripted dicts in parens for f-string conversion
([#&#8203;9238](https://togithub.com/astral-sh/ruff/pull/9238))
- \[`flake8-annotations`] Avoid adding return types to stub methods
([#&#8203;9277](https://togithub.com/astral-sh/ruff/pull/9277))
- \[`flake8-annotations`] Respect mixed `return` and `raise` cases in
return-type analysis
([#&#8203;9310](https://togithub.com/astral-sh/ruff/pull/9310))
- \[`flake8-bandit`] Don't report violations when `SafeLoader` is
imported from `yaml.loader` (`S506`)
([#&#8203;9299](https://togithub.com/astral-sh/ruff/pull/9299))
- \[`pylint`] Avoid panic when comment is preceded by Unicode
([#&#8203;9331](https://togithub.com/astral-sh/ruff/pull/9331))
- \[`pylint`] Change `PLR0917` error message to match other `PLR09XX`
messages ([#&#8203;9308](https://togithub.com/astral-sh/ruff/pull/9308))
- \[`refurb`] Avoid false positives for `math-constant` (`FURB152`)
([#&#8203;9290](https://togithub.com/astral-sh/ruff/pull/9290))

##### Documentation

- Expand target name for better rule documentation
([#&#8203;9302](https://togithub.com/astral-sh/ruff/pull/9302))
- Fix typos found by codespell
([#&#8203;9346](https://togithub.com/astral-sh/ruff/pull/9346))
- \[`perflint`] Document `PERF102` fix un-safety
([#&#8203;9351](https://togithub.com/astral-sh/ruff/pull/9351))
- \[`pyupgrade`] Document `UP007` fix un-safety
([#&#8203;9306](https://togithub.com/astral-sh/ruff/pull/9306))

</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://developer.mend.io/github/allenporter/pyrainbird).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Jan 5, 2024
1 parent 08ddfbe commit 2e02ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ requests-mock==1.11.0
responses==0.24.1
types-PyYAML==6.0.12.12
types-requests==2.31.0.20231231
ruff==0.1.9
ruff==0.1.11

0 comments on commit 2e02ac2

Please sign in to comment.