Skip to content

Commit

Permalink
chore(deps): update dependency ruff to v0.1.11 (#490)
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/flux-local).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jan 4, 2024
1 parent 98fe753 commit 6ec7207
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 @@ -13,7 +13,7 @@ pytest-asyncio==0.23.3
pytest-cov==4.1.0
python-slugify==8.0.1
PyYAML==6.0.1
ruff==0.1.9
ruff==0.1.11
types-aiofiles==23.2.0.0
types-PyYAML==6.0.12.12
typing-extensions==4.9.0
Expand Down

0 comments on commit 6ec7207

Please sign in to comment.