Skip to content

Commit

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

---

### Release Notes

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

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

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

#### What's Changed

##### Breaking Changes

`--explain`, `--clean`, and `--generate-shell-completion` are now
implemented as subcommands
([#&#8203;2190](https://togithub.com/charliermarsh/ruff/pull/2190)):

    ruff .         # Still works! And will always work.
    ruff check .   # New! Also works.

    ruff --explain E402   # Still works.
    ruff rule E402        # New! Also works. (And preferred.)

### Oops! The command has to come first.

    ruff --format json --explain E402   # No longer works.
    ruff --explain E402 --format json   # Still works!
    ruff rule E402   --format json      # Works! (And preferred.)

This change is largely backwards compatible -- most users should
experience no change in behavior. For exceptions, see
[`BREAKING_CHANGES.md`](https://togithub.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md#--explain---clean-and---generate-shell-completion-are-now-subcommands-2190).

##### Rules

- feat: pylint `PLE0604` and `PLE0605` by
[@&#8203;sbrugman](https://togithub.com/sbrugman) in
[https://github.com/charliermarsh/ruff/pull/2241](https://togithub.com/charliermarsh/ruff/pull/2241)
- feat: include os.getcwdb (bytes) into flake8-use-pathlib by
[@&#8203;sbrugman](https://togithub.com/sbrugman) in
[https://github.com/charliermarsh/ruff/pull/2276](https://togithub.com/charliermarsh/ruff/pull/2276)
- \[`flake8-bandit`] Add Rule S110 (try/except/pass) by
[@&#8203;sciyoshi](https://togithub.com/sciyoshi) in
[https://github.com/charliermarsh/ruff/pull/2197](https://togithub.com/charliermarsh/ruff/pull/2197)

##### Settings

- Omit typing module from flake8-type-checking by default by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2277](https://togithub.com/charliermarsh/ruff/pull/2277)

##### Bug Fixes

- Fix SIM300 to take Python constants into account by
[@&#8203;frenck](https://togithub.com/frenck) in
[https://github.com/charliermarsh/ruff/pull/2255](https://togithub.com/charliermarsh/ruff/pull/2255)
- Treat constant tuples as constants for yoda-conditions by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2265](https://togithub.com/charliermarsh/ruff/pull/2265)
- Treat attribute constants as constant for yoda-conditions by
[@&#8203;frenck](https://togithub.com/frenck) in
[https://github.com/charliermarsh/ruff/pull/2266](https://togithub.com/charliermarsh/ruff/pull/2266)
- flake8-annotations: Move has_any_typed_arg into correct nested `if` by
[@&#8203;akx](https://togithub.com/akx) in
[https://github.com/charliermarsh/ruff/pull/2269](https://togithub.com/charliermarsh/ruff/pull/2269)
- Expand heuristic for detecting logging calls by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2279](https://togithub.com/charliermarsh/ruff/pull/2279)
- Preserve global binding kind during reassignments by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2297](https://togithub.com/charliermarsh/ruff/pull/2297)
- Fix typo in typing_extensions by
[@&#8203;Jonxslays](https://togithub.com/Jonxslays) in
[https://github.com/charliermarsh/ruff/pull/2298](https://togithub.com/charliermarsh/ruff/pull/2298)

#### New Contributors

- [@&#8203;frenck](https://togithub.com/frenck) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/2255](https://togithub.com/charliermarsh/ruff/pull/2255)
- [@&#8203;sladyn98](https://togithub.com/sladyn98) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/2141](https://togithub.com/charliermarsh/ruff/pull/2141)
- [@&#8203;the-matt-morris](https://togithub.com/the-matt-morris) made
their first contribution in
[https://github.com/charliermarsh/ruff/pull/2291](https://togithub.com/charliermarsh/ruff/pull/2291)
- [@&#8203;Jonxslays](https://togithub.com/Jonxslays) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/2298](https://togithub.com/charliermarsh/ruff/pull/2298)

**Full Changelog**:
astral-sh/ruff@v0.0.236...v0.0.237

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

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 Jan 28, 2023
1 parent 264e29a commit 861955d
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 = "^22.10.0"
isort = "^5.10.1"
ruff = "^0.0.236"
ruff = "^0.0.237"
pytest-xdist = "^3.1.0"
pytest-cov = "^4.0.0"
ninja = "^1.11.1"

0 comments on commit 861955d

Please sign in to comment.