Skip to content

Commit

Permalink
⬆️ Update dependency ruff to ^0.0.281 (#132)
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.279`
-> `^0.0.281` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.0.281?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/ruff/0.0.281?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/ruff/0.0.279/0.0.281?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.0.279/0.0.281?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

##### Rule changes

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

##### Settings

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

##### Bug Fixes

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

#### New Contributors

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

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

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

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

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

#### What's Changed

##### Bug Fixes

- Avoid collapsing `elif` and `else` branches during import sorting by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#5964

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

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, 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/ixm-one/pytest-cmake-presets).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMjQuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Jul 31, 2023
1 parent cff5909 commit bf7e22c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ optional = true
pyright = "^1.1.285"
black = "^23.0.0"
isort = "^5.10.1"
ruff = "^0.0.279"
ruff = "^0.0.281"
pytest-xdist = "^3.1.0"
pytest-cov = "^4.0.0"
ninja = "^1.11.1"

0 comments on commit bf7e22c

Please sign in to comment.