Skip to content

Commit

Permalink
⬆️ Update dependency ruff to ^0.0.248 (#58)
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://togithub.com/charliermarsh/ruff) | `^0.0.247` ->
`^0.0.248` |
[![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.248/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.248/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.248/compatibility-slim/0.0.247)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.248/confidence-slim/0.0.247)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>charliermarsh/ruff</summary>

###
[`v0.0.248`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.248)

[Compare
Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.247...v0.0.248)

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

#### What's Changed

##### Rules

- \[`numpy`] numpy-legacy-random by
[@&#8203;sbrugman](https://togithub.com/sbrugman) in
[https://github.com/charliermarsh/ruff/pull/2960](https://togithub.com/charliermarsh/ruff/pull/2960)
- \[`pycodestyle`] autofix useless semicolons by
[@&#8203;sbrugman](https://togithub.com/sbrugman) in
[https://github.com/charliermarsh/ruff/pull/3001](https://togithub.com/charliermarsh/ruff/pull/3001)
- \[`pep8-naming`] Implement `flake8-module-naming` by
[@&#8203;sbrugman](https://togithub.com/sbrugman) in
[https://github.com/charliermarsh/ruff/pull/2855](https://togithub.com/charliermarsh/ruff/pull/2855)
- \[`flake8-self`] Ignore namedtuple methods in flake8-self by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2998](https://togithub.com/charliermarsh/ruff/pull/2998)
- \[`flake8-simplify`] Merge convert-loop-to-any & convert-loop-to-all
to reimplemented-builtin by
[@&#8203;not-my-profile](https://togithub.com/not-my-profile) in
[https://github.com/charliermarsh/ruff/pull/2903](https://togithub.com/charliermarsh/ruff/pull/2903)
- \[`ruff`] Add support for `ensure_future` for RUF006 by
[@&#8203;Lunarmagpie](https://togithub.com/Lunarmagpie) in
[https://github.com/charliermarsh/ruff/pull/2943](https://togithub.com/charliermarsh/ruff/pull/2943)
- \[`pylint`] error when `__init__` returns a value by
[@&#8203;r3m0t](https://togithub.com/r3m0t) in
[https://github.com/charliermarsh/ruff/pull/3007](https://togithub.com/charliermarsh/ruff/pull/3007)
- \[`flake8-pytest-style`] autofix for composite-assertion (PT018) by
[@&#8203;sbrugman](https://togithub.com/sbrugman) in
[https://github.com/charliermarsh/ruff/pull/2732](https://togithub.com/charliermarsh/ruff/pull/2732)
- \[`flake8-tidy-imports`] extend autofix of relative imports by
[@&#8203;sbrugman](https://togithub.com/sbrugman) in
[https://github.com/charliermarsh/ruff/pull/2990](https://togithub.com/charliermarsh/ruff/pull/2990)

##### Settings

- Add support for file-scoped `noqa` directives by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2978](https://togithub.com/charliermarsh/ruff/pull/2978)
- Add configuration option for C408 to allow dict calls with keyword
arguments. by [@&#8203;manueljacob](https://togithub.com/manueljacob) in
[https://github.com/charliermarsh/ruff/pull/2977](https://togithub.com/charliermarsh/ruff/pull/2977)
- feat(isort): Implement isort.force_to_top by
[@&#8203;spaceone](https://togithub.com/spaceone) in
[https://github.com/charliermarsh/ruff/pull/2877](https://togithub.com/charliermarsh/ruff/pull/2877)

##### Bug Fixes

- Fix add-required-import with multi-line offsets by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2946](https://togithub.com/charliermarsh/ruff/pull/2946)
- Support positional messages in assertion rewrites by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3002](https://togithub.com/charliermarsh/ruff/pull/3002)
- Avoid false-positives for break in with by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/3032](https://togithub.com/charliermarsh/ruff/pull/3032)
- Avoid trying to fix implicit returns with control flow by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2962](https://togithub.com/charliermarsh/ruff/pull/2962)
- Handle non-from **future** imports by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2974](https://togithub.com/charliermarsh/ruff/pull/2974)
- Enforce D403 on methods by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2992](https://togithub.com/charliermarsh/ruff/pull/2992)
- Avoid zero-indexed column for IOError by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2995](https://togithub.com/charliermarsh/ruff/pull/2995)
- Fix for F541 unescape f-string by
[@&#8203;sbrugman](https://togithub.com/sbrugman) in
[https://github.com/charliermarsh/ruff/pull/2971](https://togithub.com/charliermarsh/ruff/pull/2971)
- Avoid raising `B027` violations in `.pyi` files by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[https://github.com/charliermarsh/ruff/pull/3016](https://togithub.com/charliermarsh/ruff/pull/3016)

#### New Contributors

- [@&#8203;Lunarmagpie](https://togithub.com/Lunarmagpie) made their
first contribution in
[https://github.com/charliermarsh/ruff/pull/2943](https://togithub.com/charliermarsh/ruff/pull/2943)
- [@&#8203;manueljacob](https://togithub.com/manueljacob) made their
first contribution in
[https://github.com/charliermarsh/ruff/pull/2966](https://togithub.com/charliermarsh/ruff/pull/2966)
- [@&#8203;mwtoews](https://togithub.com/mwtoews) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/2973](https://togithub.com/charliermarsh/ruff/pull/2973)
- [@&#8203;ortem](https://togithub.com/ortem) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/2976](https://togithub.com/charliermarsh/ruff/pull/2976)
- [@&#8203;thatlittleboy](https://togithub.com/thatlittleboy) made their
first contribution in
[https://github.com/charliermarsh/ruff/pull/3027](https://togithub.com/charliermarsh/ruff/pull/3027)
- [@&#8203;r3m0t](https://togithub.com/r3m0t) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/3007](https://togithub.com/charliermarsh/ruff/pull/3007)

**Full Changelog**:
astral-sh/ruff@v0.0.247...v0.0.248

</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://app.renovatebot.com/dashboard#github/ixm-one/pytest-cmake-presets).

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

Signed-off-by: Renovate Bot <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Feb 20, 2023
1 parent 99c32a7 commit 36c9565
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.247"
ruff = "^0.0.248"
pytest-xdist = "^3.1.0"
pytest-cov = "^4.0.0"
ninja = "^1.11.1"

0 comments on commit 36c9565

Please sign in to comment.