Skip to content

Commit

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

---

### Release Notes

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

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

[Compare
Source](https://github.com/charliermarsh/ruff/compare/v0.0.243...v0.0.244)

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

#### What's Changed

##### Rules

- \[`pylint`]: bidirectional-unicode by
[@&#8203;colin99d](https://github.com/colin99d) in
[https://github.com/charliermarsh/ruff/pull/2589](https://github.com/charliermarsh/ruff/pull/2589)
- Implement whitespace-around-keywords (E271, E272, E273, E274) by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2653](https://github.com/charliermarsh/ruff/pull/2653)
- Implement whitespace-before-comment (E261, E262, E265, E266) by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2654](https://github.com/charliermarsh/ruff/pull/2654)

##### Settings

- flake8-annotations: add ignore-fully-untyped by
[@&#8203;akx](https://github.com/akx) in
[https://github.com/charliermarsh/ruff/pull/2128](https://github.com/charliermarsh/ruff/pull/2128)
- Add `--exit-non-zero-on-fix` by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2668](https://github.com/charliermarsh/ruff/pull/2668)

##### Documentation

- Derive `explanation` method on Rule struct via rustdoc by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2642](https://github.com/charliermarsh/ruff/pull/2642)
- Create per-rule pages and link from README by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2644](https://github.com/charliermarsh/ruff/pull/2644)
- Add documentation for flake8-quotes rules by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2650](https://github.com/charliermarsh/ruff/pull/2650)
- Disable autofix for flake8-print rules by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2651](https://github.com/charliermarsh/ruff/pull/2651)
- Add documentation for eradicate, flake8-import-conventions, and
flake8-no-pep420 by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2652](https://github.com/charliermarsh/ruff/pull/2652)
- doc: add documentation for TRY002 by
[@&#8203;nm-remarkable](https://github.com/nm-remarkable) in
[https://github.com/charliermarsh/ruff/pull/2655](https://github.com/charliermarsh/ruff/pull/2655)

##### Bug Fixes

- Accommodate pos-only arguments when checking self name by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2626](https://github.com/charliermarsh/ruff/pull/2626)
- Avoid non-recursion in nested typing function calls by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2627](https://github.com/charliermarsh/ruff/pull/2627)
- Avoid no-unnecessary-dict-kwargs errors with reserved keywords by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2628](https://github.com/charliermarsh/ruff/pull/2628)
- Treat [@&#8203;staticmethod](https://github.com/staticmethod) as
higher-precedence than ABC by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2635](https://github.com/charliermarsh/ruff/pull/2635)
- Avoid boolean-trap errors in `__setitem__` by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2636](https://github.com/charliermarsh/ruff/pull/2636)
- Skip ternary fixes for yields and awaits by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2637](https://github.com/charliermarsh/ruff/pull/2637)
- Ignore all non-`.py` wrt. implicit namespace package by
[@&#8203;scop](https://github.com/scop) in
[https://github.com/charliermarsh/ruff/pull/2640](https://github.com/charliermarsh/ruff/pull/2640)
- Avoid false-positive in chained type calls by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2663](https://github.com/charliermarsh/ruff/pull/2663)
- Treat annotated assignments in class and module scopes as runtime by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2667](https://github.com/charliermarsh/ruff/pull/2667)
- Accommodate multiple `@pytest.mark.parametrize` decorators by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2662](https://github.com/charliermarsh/ruff/pull/2662)
- Use separate exit codes for fatal errors vs. lint errors by
[@&#8203;charliermarsh](https://github.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2670](https://github.com/charliermarsh/ruff/pull/2670)

#### New Contributors

- [@&#8203;nm-remarkable](https://github.com/nm-remarkable) made their
first contribution in
[https://github.com/charliermarsh/ruff/pull/2655](https://github.com/charliermarsh/ruff/pull/2655)

**Full Changelog**:
astral-sh/ruff@v0.0.243...v0.0.244

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

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 9, 2023
1 parent 0fc2498 commit 5c01dc3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
36 changes: 18 additions & 18 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.243"
ruff = "^0.0.244"
pytest-xdist = "^3.1.0"
pytest-cov = "^4.0.0"
ninja = "^1.11.1"

0 comments on commit 5c01dc3

Please sign in to comment.