Skip to content

Commit

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

---

### Release Notes

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

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

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

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

#### What's Changed

##### Breaking Changes

- Remove public Rust API by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2709](https://togithub.com/charliermarsh/ruff/pull/2709)

##### Rules

- \[`flake8-pyi`]Add flake8-pyi with one rule by
[@&#8203;sbdchd](https://togithub.com/sbdchd) in
[https://github.com/charliermarsh/ruff/pull/2682](https://togithub.com/charliermarsh/ruff/pull/2682)
- \[`pylint`]: bad-string-format-type by
[@&#8203;colin99d](https://togithub.com/colin99d) in
[https://github.com/charliermarsh/ruff/pull/2572](https://togithub.com/charliermarsh/ruff/pull/2572)
- \[`pylint`]: yield-in-init by
[@&#8203;tomecki](https://togithub.com/tomecki) in
[https://github.com/charliermarsh/ruff/pull/2716](https://togithub.com/charliermarsh/ruff/pull/2716)
- \[`flake8-tidy-imports`] Implement autofix for relative imports
(TID252) by [@&#8203;sbrugman](https://togithub.com/sbrugman) in
[https://github.com/charliermarsh/ruff/pull/2739](https://togithub.com/charliermarsh/ruff/pull/2739)
- \[`flake8-bandit`]: try-except-continue by
[@&#8203;colin99d](https://togithub.com/colin99d) in
[https://github.com/charliermarsh/ruff/pull/2674](https://togithub.com/charliermarsh/ruff/pull/2674)
- \[`flake8-bandit`] Implement bandit's 'hardcoded-sql-expressions' S608
by [@&#8203;mattoberle](https://togithub.com/mattoberle) in
[https://github.com/charliermarsh/ruff/pull/2698](https://togithub.com/charliermarsh/ruff/pull/2698)
- \[`pycodestyle`] Implement compound-statements (E701, E702, E703,
E704) by [@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2680](https://togithub.com/charliermarsh/ruff/pull/2680)

##### Settings

- feat(isort): Implement known-local-folder by
[@&#8203;spaceone](https://togithub.com/spaceone) in
[https://github.com/charliermarsh/ruff/pull/2657](https://togithub.com/charliermarsh/ruff/pull/2657)
- Suppress parse errors with explicit `# noqa: E999` directives by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2697](https://togithub.com/charliermarsh/ruff/pull/2697)

##### Bug Fixes

- Support callable decorators in classmethod_decorators et al by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2675](https://togithub.com/charliermarsh/ruff/pull/2675)
- Avoid flagging typed exceptions in tuples by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2728](https://togithub.com/charliermarsh/ruff/pull/2728)
- Mark flake8-simplify rules as unfixable in non-fixable cases by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2676](https://togithub.com/charliermarsh/ruff/pull/2676)
- Treat re-exported annotations as used-at-runtime by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2689](https://togithub.com/charliermarsh/ruff/pull/2689)
- Gate `Path.readlink()` behind Python 3.9+ guard by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2708](https://togithub.com/charliermarsh/ruff/pull/2708)
- Handle functions that never return in RET503
([#&#8203;2602](https://togithub.com/charliermarsh/ruff/issues/2602)) by
[@&#8203;ppentchev](https://togithub.com/ppentchev) in
[https://github.com/charliermarsh/ruff/pull/2701](https://togithub.com/charliermarsh/ruff/pull/2701)
- Handle more functions that never return in RET503 by
[@&#8203;ngnpope](https://togithub.com/ngnpope) in
[https://github.com/charliermarsh/ruff/pull/2719](https://togithub.com/charliermarsh/ruff/pull/2719)
- Expand S110 and S112 ranges to include entire exception handler by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2729](https://togithub.com/charliermarsh/ruff/pull/2729)
- Relax conditions in bad-string-format-type by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2731](https://togithub.com/charliermarsh/ruff/pull/2731)
- Mark `__all__` members as used at end-of-scope by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2733](https://togithub.com/charliermarsh/ruff/pull/2733)
- Only validate `__all__` bindings for global scope by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2738](https://togithub.com/charliermarsh/ruff/pull/2738)
- Only trigger compound statements after select keywords by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2737](https://togithub.com/charliermarsh/ruff/pull/2737)
- Use `function_type::classify` for `yield-in-init` by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2742](https://togithub.com/charliermarsh/ruff/pull/2742)
- Allow named unicodes in bidirectional escape check by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2710](https://togithub.com/charliermarsh/ruff/pull/2710)
- Respect NO_COLOR flags in --show-source by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2750](https://togithub.com/charliermarsh/ruff/pull/2750)
- Flag private member accesses on calls et al by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[https://github.com/charliermarsh/ruff/pull/2753](https://togithub.com/charliermarsh/ruff/pull/2753)

#### New Contributors

- [@&#8203;ngnpope](https://togithub.com/ngnpope) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/2692](https://togithub.com/charliermarsh/ruff/pull/2692)
- [@&#8203;ppentchev](https://togithub.com/ppentchev) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/2701](https://togithub.com/charliermarsh/ruff/pull/2701)
- [@&#8203;tomecki](https://togithub.com/tomecki) made their first
contribution in
[https://github.com/charliermarsh/ruff/pull/2716](https://togithub.com/charliermarsh/ruff/pull/2716)

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

</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 11, 2023
1 parent 5c01dc3 commit aa7687d
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.244"
ruff = "^0.0.245"
pytest-xdist = "^3.1.0"
pytest-cov = "^4.0.0"
ninja = "^1.11.1"

0 comments on commit aa7687d

Please sign in to comment.