Skip to content

Commit

Permalink
Update dependency ruff to v0.0.282 (#296)
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://beta.ruff.rs/docs)
([source](https://togithub.com/astral-sh/ruff),
[changelog](https://togithub.com/astral-sh/ruff/releases)) | `==0.0.280`
-> `==0.0.282` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.0.282?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/ruff/0.0.282?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/ruff/0.0.280/0.0.282?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.0.280/0.0.282?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v0.0.282`](https://togithub.com/astral-sh/ruff/releases/tag/v0.0.282)

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

<!-- Release notes generated using configuration in .github/release.yml
at v0.0.282 -->

##### What's Changed

##### Bug Fixes

- Reset model state when exiting deferred visitors by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/astral-sh/ruff/pull/6208](https://togithub.com/astral-sh/ruff/pull/6208)
- Skip trivia when searching for named exception by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/astral-sh/ruff/pull/6218](https://togithub.com/astral-sh/ruff/pull/6218)
- Avoid PERF401 false positive on list access in loop by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/astral-sh/ruff/pull/6220](https://togithub.com/astral-sh/ruff/pull/6220)
- Avoid detecting continuations at non-start-of-line by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/astral-sh/ruff/pull/6219](https://togithub.com/astral-sh/ruff/pull/6219)
- Revert "Expand scope of `quoted-annotation` rule
([#&#8203;5766](https://togithub.com/astral-sh/ruff/issues/5766))" by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/astral-sh/ruff/pull/6237](https://togithub.com/astral-sh/ruff/pull/6237)

##### New Contributors

- [@&#8203;klistwan](https://togithub.com/klistwan) made their first
contribution in
[https://github.com/astral-sh/ruff/pull/6146](https://togithub.com/astral-sh/ruff/pull/6146)

**Full Changelog**:
astral-sh/ruff@v0.0.281...v0.0.282

###
[`v0.0.281`](https://togithub.com/astral-sh/ruff/releases/tag/v0.0.281)

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

<!-- Release notes generated using configuration in .github/release.yml
at v0.0.281 -->

##### What's Changed

See the [release blog post](https://astral.sh/blog/ruff-v0.0.281) for
more, including detailed descriptions of any newly added rules.

##### New rules

- \[`flake8-pyi`] Implement `PYI018` by
[@&#8203;LaBatata101](https://togithub.com/LaBatata101) in
[https://github.com/astral-sh/ruff/pull/6018](https://togithub.com/astral-sh/ruff/pull/6018)
- \[`flake8-pyi`] Implement `PYI047` by
[@&#8203;LaBatata101](https://togithub.com/LaBatata101) in
[https://github.com/astral-sh/ruff/pull/6134](https://togithub.com/astral-sh/ruff/pull/6134)
- \[`flake8-pyi`] Implement `PYI049` by
[@&#8203;LaBatata101](https://togithub.com/LaBatata101) in
[https://github.com/astral-sh/ruff/pull/6136](https://togithub.com/astral-sh/ruff/pull/6136)
- \[`flake8-pyi`] Implement `PYI056` by
[@&#8203;LaBatata101](https://togithub.com/LaBatata101) in
[https://github.com/astral-sh/ruff/pull/5959](https://togithub.com/astral-sh/ruff/pull/5959)
- \[`flake8-pyi`] Implement `PYI046` by
[@&#8203;LaBatata101](https://togithub.com/LaBatata101) in
[https://github.com/astral-sh/ruff/pull/6098](https://togithub.com/astral-sh/ruff/pull/6098)
- \[`flake8-use-pathlib`] Implement `glob` (`PTH207`) by
[@&#8203;sbrugman](https://togithub.com/sbrugman) in
[https://github.com/astral-sh/ruff/pull/5939](https://togithub.com/astral-sh/ruff/pull/5939)
- \[`flake8-use-pathlib`] Implement `os-sep-split` (`PTH206`) by
[@&#8203;sbrugman](https://togithub.com/sbrugman) in
[https://github.com/astral-sh/ruff/pull/5936](https://togithub.com/astral-sh/ruff/pull/5936)
- \[`pycodestyle`] Implement `E241` and `E242` (tab/multiple ws after
commas) by [@&#8203;akx](https://togithub.com/akx) in
[https://github.com/astral-sh/ruff/pull/6094](https://togithub.com/astral-sh/ruff/pull/6094)
- \[`pylint`] Implement `self-assigning-variable` (`W0127`) by
[@&#8203;tjkuson](https://togithub.com/tjkuson) in
[https://github.com/astral-sh/ruff/pull/6015](https://togithub.com/astral-sh/ruff/pull/6015)
- \[`pylint`] Implement `eq-without-hash` rule (PLW1641) by
[@&#8203;jelly](https://togithub.com/jelly) in
[https://github.com/astral-sh/ruff/pull/5955](https://togithub.com/astral-sh/ruff/pull/5955)
- \[`pylint`] Implement `subprocess-popen-preexec-fn` (`W1509`) by
[@&#8203;tjkuson](https://togithub.com/tjkuson) in
[https://github.com/astral-sh/ruff/pull/5978](https://togithub.com/astral-sh/ruff/pull/5978)

##### Rule changes

- \[`flake8-bugbear`] Extends `B002` to detect unary prefix decrement
operators by [@&#8203;tjkuson](https://togithub.com/tjkuson) in
[https://github.com/astral-sh/ruff/pull/5998](https://togithub.com/astral-sh/ruff/pull/5998)
- \[`flake8-pytest-style`] Avoid raising PT012 for simple `with`
statements by [@&#8203;harupy](https://togithub.com/harupy) in
[https://github.com/astral-sh/ruff/pull/6081](https://togithub.com/astral-sh/ruff/pull/6081)
- \[`flake8-pytest-style`] Allow pytest.raises body to contain a single
func or class definition by
[@&#8203;harupy](https://togithub.com/harupy) in
[https://github.com/astral-sh/ruff/pull/6083](https://togithub.com/astral-sh/ruff/pull/6083)
- \[`flake8-simplify`] Extend SIM118 with `not in` by
[@&#8203;sbrugman](https://togithub.com/sbrugman) in
[https://github.com/astral-sh/ruff/pull/5995](https://togithub.com/astral-sh/ruff/pull/5995)
- \[`perflint`] Skip `PERF203` violations for multi-statement loops by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/astral-sh/ruff/pull/6145](https://togithub.com/astral-sh/ruff/pull/6145)
- \[`pyupgrade`] Add support for `int`, `float`, `bool` in `UP018` by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[https://github.com/astral-sh/ruff/pull/6013](https://togithub.com/astral-sh/ruff/pull/6013)
- \[`tryceratops`] Add suggested fix for `TRY201` by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[https://github.com/astral-sh/ruff/pull/6008](https://togithub.com/astral-sh/ruff/pull/6008)

##### Settings

- Allow specification of `logging.Logger` re-exports via
`logger-objects` by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/astral-sh/ruff/pull/5750](https://togithub.com/astral-sh/ruff/pull/5750)
- Set default `max-complexity` to 10 for empty McCabe settings by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/astral-sh/ruff/pull/6073](https://togithub.com/astral-sh/ruff/pull/6073)
- \[`pep8-naming`]: New config option `extend-ignore-names` by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[https://github.com/astral-sh/ruff/pull/6169](https://togithub.com/astral-sh/ruff/pull/6169)

##### Bug Fixes

- Avoid raising `UP032` if `format` call arguments contain multiline
expressions by [@&#8203;harupy](https://togithub.com/harupy) in
[https://github.com/astral-sh/ruff/pull/5971](https://togithub.com/astral-sh/ruff/pull/5971)
- Fix `F507` false positive by
[@&#8203;harupy](https://togithub.com/harupy) in
[https://github.com/astral-sh/ruff/pull/5986](https://togithub.com/astral-sh/ruff/pull/5986)
- Fix logging rules with whitespace around dot by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/astral-sh/ruff/pull/6022](https://togithub.com/astral-sh/ruff/pull/6022)
- Ignore end-of-line comments when dirtying if-with-same-arms branches
by [@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/astral-sh/ruff/pull/6031](https://togithub.com/astral-sh/ruff/pull/6031)
- Avoid treating `Literal` members as expressions with `__future__` by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/astral-sh/ruff/pull/6032](https://togithub.com/astral-sh/ruff/pull/6032)
- Avoid refactoring `x[:1]`-like slices in RUF015 by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/astral-sh/ruff/pull/6150](https://togithub.com/astral-sh/ruff/pull/6150)
- Avoid key-in-dict violations for `self` accesses by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/astral-sh/ruff/pull/6165](https://togithub.com/astral-sh/ruff/pull/6165)
- Avoid falsely marking non-submodules as submodule aliases by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/astral-sh/ruff/pull/6182](https://togithub.com/astral-sh/ruff/pull/6182)
- Flag `[` as an invalid noqa suffix by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/astral-sh/ruff/pull/5982](https://togithub.com/astral-sh/ruff/pull/5982)
- Ignore some common builtin overrides on standard library subclasses by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/astral-sh/ruff/pull/6074](https://togithub.com/astral-sh/ruff/pull/6074)
- Avoid A003 violations for explicitly overridden methods by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/astral-sh/ruff/pull/6076](https://togithub.com/astral-sh/ruff/pull/6076)
- Include file permissions in key for cached files by
[@&#8203;zanieb](https://togithub.com/zanieb) in
[https://github.com/astral-sh/ruff/pull/5901](https://togithub.com/astral-sh/ruff/pull/5901)
- Ignore `explicit-string-concatenation` on single line by
[@&#8203;tjkuson](https://togithub.com/tjkuson) in
[https://github.com/astral-sh/ruff/pull/6028](https://togithub.com/astral-sh/ruff/pull/6028)
- Fix `SIM102` to handle indented `elif` by
[@&#8203;harupy](https://togithub.com/harupy) in
[https://github.com/astral-sh/ruff/pull/6072](https://togithub.com/astral-sh/ruff/pull/6072)
- Raise `PTH201` for `Path("")` by
[@&#8203;harupy](https://togithub.com/harupy) in
[https://github.com/astral-sh/ruff/pull/6095](https://togithub.com/astral-sh/ruff/pull/6095)
- Update `SIM115` to cover `pathlib.Path.open` by
[@&#8203;harupy](https://togithub.com/harupy) in
[https://github.com/astral-sh/ruff/pull/611](https://togithub.com/astral-sh/ruff/pull/611)
- Ignore end-of-line file exemption comments by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/astral-sh/ruff/pull/6160](https://togithub.com/astral-sh/ruff/pull/6160)
- Implement `--diff` for Jupyter Notebooks by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[https://github.com/astral-sh/ruff/pull/6149](https://togithub.com/astral-sh/ruff/pull/6149)
- Skip BOM when determining Locator's line starts by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/astral-sh/ruff/pull/6159](https://togithub.com/astral-sh/ruff/pull/6159)
- Avoid parenthesizing comprehension element by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[https://github.com/astral-sh/ruff/pull/6198](https://togithub.com/astral-sh/ruff/pull/6198)
- Do not raise `SIM105` for non-exceptions by
[@&#8203;sbrugman](https://togithub.com/sbrugman) in
[https://github.com/astral-sh/ruff/pull/5985](https://togithub.com/astral-sh/ruff/pull/5985)

##### New Contributors

- [@&#8203;AlexWaygood](https://togithub.com/AlexWaygood) made their
first contribution in
[https://github.com/astral-sh/ruff/pull/5973](https://togithub.com/astral-sh/ruff/pull/5973)
- [@&#8203;RMPR](https://togithub.com/RMPR) made their first
contribution in
[https://github.com/astral-sh/ruff/pull/6048](https://togithub.com/astral-sh/ruff/pull/6048)
- [@&#8203;arembridge](https://togithub.com/arembridge) made their first
contribution in
[https://github.com/astral-sh/ruff/pull/6079](https://togithub.com/astral-sh/ruff/pull/6079)
- [@&#8203;Eutropios](https://togithub.com/Eutropios) made their first
contribution in
[https://github.com/astral-sh/ruff/pull/6082](https://togithub.com/astral-sh/ruff/pull/6082)
- [@&#8203;jelly](https://togithub.com/jelly) made their first
contribution in
[https://github.com/astral-sh/ruff/pull/5955](https://togithub.com/astral-sh/ruff/pull/5955)

**Full Changelog**:
astral-sh/ruff@v0.0.280...v0.0.281

</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:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Aug 2, 2023
1 parent 6b8e0a8 commit 886b5a0
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 @@ -15,7 +15,7 @@ pytest-cov==4.1.0
pytest-golden==0.2.2
python-slugify==8.0.1
PyYAML==6.0.1
ruff==0.0.280
ruff==0.0.282
types-aiofiles==23.1.0.5
types-PyYAML==6.0.12.11
typing-extensions==4.7.1
Expand Down

0 comments on commit 886b5a0

Please sign in to comment.