Skip to content

Commit

Permalink
Update dependency ruff to v0.2.1 (#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://docs.astral.sh/ruff)
([source](https://togithub.com/astral-sh/ruff),
[changelog](https://togithub.com/astral-sh/ruff/blob/main/CHANGELOG.md))
| `0.2.0` -> `0.2.1` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/ruff/0.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/ruff/0.2.0/0.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.2.0/0.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v0.2.1`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#021)

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

This release includes support for range formatting (i.e., the ability to
format specific lines
within a source file).

##### Preview features

- \[`refurn`] Implement `missing-f-string-syntax` (`RUF027`)
([#&#8203;9728](https://togithub.com/astral-sh/ruff/pull/9728))
- Format module-level docstrings
([#&#8203;9725](https://togithub.com/astral-sh/ruff/pull/9725))

##### Formatter

- Add `--range` option to `ruff format`
([#&#8203;9733](https://togithub.com/astral-sh/ruff/pull/9733))
- Don't trim last empty line in docstrings
([#&#8203;9813](https://togithub.com/astral-sh/ruff/pull/9813))

##### Bug fixes

- Skip empty lines when determining base indentation
([#&#8203;9795](https://togithub.com/astral-sh/ruff/pull/9795))
- Drop `__get__` and `__set__` from `unnecessary-dunder-call`
([#&#8203;9791](https://togithub.com/astral-sh/ruff/pull/9791))
- Respect generic `Protocol` in ellipsis removal
([#&#8203;9841](https://togithub.com/astral-sh/ruff/pull/9841))
- Revert "Use publicly available Apple Silicon runners
([#&#8203;9726](https://togithub.com/astral-sh/ruff/issues/9726))"
([#&#8203;9834](https://togithub.com/astral-sh/ruff/pull/9834))

##### Performance

- Skip LibCST parsing for standard dedent adjustments
([#&#8203;9769](https://togithub.com/astral-sh/ruff/pull/9769))
- Remove CST-based fixer for `C408`
([#&#8203;9822](https://togithub.com/astral-sh/ruff/pull/9822))
- Add our own ignored-names abstractions
([#&#8203;9802](https://togithub.com/astral-sh/ruff/pull/9802))
- Remove CST-based fixers for `C400`, `C401`, `C410`, and `C418`
([#&#8203;9819](https://togithub.com/astral-sh/ruff/pull/9819))
- Use `AhoCorasick` to speed up quote match
([#&#8203;9773](https://togithub.com/astral-sh/ruff/pull/9773))
- Remove CST-based fixers for `C405` and `C409`
([#&#8203;9821](https://togithub.com/astral-sh/ruff/pull/9821))
- Add fast-path for comment detection
([#&#8203;9808](https://togithub.com/astral-sh/ruff/pull/9808))
- Invert order of checks in `zero-sleep-call`
([#&#8203;9766](https://togithub.com/astral-sh/ruff/pull/9766))
- Short-circuit typing matches based on imports
([#&#8203;9800](https://togithub.com/astral-sh/ruff/pull/9800))
- Run dunder method rule on methods directly
([#&#8203;9815](https://togithub.com/astral-sh/ruff/pull/9815))
- Track top-level module imports in the semantic model
([#&#8203;9775](https://togithub.com/astral-sh/ruff/pull/9775))
- Slight speed-up for lowercase and uppercase identifier checks
([#&#8203;9798](https://togithub.com/astral-sh/ruff/pull/9798))
- Remove LibCST-based fixer for `C403`
([#&#8203;9818](https://togithub.com/astral-sh/ruff/pull/9818))

##### Documentation

- Update `max-pos-args` example to `max-positional-args`
([#&#8203;9797](https://togithub.com/astral-sh/ruff/pull/9797))
- Fixed example code in `weak_cryptographic_key.rs`
([#&#8203;9774](https://togithub.com/astral-sh/ruff/pull/9774))
- Fix references to deprecated `ANN` rules in changelog
([#&#8203;9771](https://togithub.com/astral-sh/ruff/pull/9771))
- Fix default for `max-positional-args`
([#&#8203;9838](https://togithub.com/astral-sh/ruff/pull/9838))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, 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/fulcrum-so/ziggy-pydust-template).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Feb 6, 2024
1 parent ad8dc96 commit 728b739
Showing 1 changed file with 18 additions and 18 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.

0 comments on commit 728b739

Please sign in to comment.