Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency ruff to v0.4.3 #416

Merged
merged 1 commit into from
May 5, 2024
Merged

Update dependency ruff to v0.4.3 #416

merged 1 commit into from
May 5, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 5, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ruff (source, changelog) ==0.4.2 -> ==0.4.3 age adoption passing confidence

Release Notes

astral-sh/ruff (ruff)

v0.4.3

Compare Source

Enhancements
Preview features
  • [refurb] Use function range for reimplemented-operator diagnostics (#​11271)
  • [refurb] Ignore methods in reimplemented-operator (FURB118) (#​11270)
  • [refurb] Implement fstring-number-format (FURB116) (#​10921)
  • [ruff] Implement redirected-noqa (RUF101) (#​11052)
  • [pyflakes] Distinguish between first-party and third-party imports for fix suggestions (#​11168)
Rule changes
  • [flake8-bugbear] Ignore non-abstract class attributes when enforcing B024 (#​11210)
  • [flake8-logging] Include inline instantiations when detecting loggers (#​11154)
  • [pylint] Also emit PLR0206 for properties with variadic parameters (#​11200)
  • [ruff] Detect duplicate codes as part of unused-noqa (RUF100) (#​10850)
Formatter
  • Avoid multiline expression if format specifier is present (#​11123)
LSP
  • Write ruff server setup guide for Helix (#​11183)
  • ruff server no longer hangs after shutdown (#​11222)
  • ruff server reads from a configuration TOML file in the user configuration directory if no local configuration exists (#​11225)
  • ruff server respects per-file-ignores configuration (#​11224)
  • ruff server: Support a custom TOML configuration file (#​11140)
  • ruff server: Support setting to prioritize project configuration over editor configuration (#​11086)
Bug fixes
  • Avoid debug assertion around NFKC renames (#​11249)
  • [pyflakes] Prioritize redefined-while-unused over unused-import (#​11173)
  • [ruff] Respect async expressions in comprehension bodies (#​11219)
  • [pygrep_hooks] Fix blanket-noqa panic when last line has noqa with no newline (PGH004) (#​11108)
  • [perflint] Ignore list-copy recommendations for async for loops (#​11250)
  • [pyflakes] Improve invalid-print-syntax documentation (#​11171)
Performance
  • Avoid allocations for isort module names (#​11251)
  • Build a separate ARM wheel for macOS (#​11149)

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot merged commit 487dd37 into main May 5, 2024
3 checks passed
@renovate renovate bot deleted the renovate/ruff-0.x branch May 5, 2024 06:15
allenporter pushed a commit that referenced this pull request May 10, 2024
[![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.4.2` -> `==0.4.3` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/ruff/0.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/ruff/0.4.2/0.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.4.2/0.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

##### Enhancements

- Add support for PEP 696 syntax
([#&#8203;11120](https://togithub.com/astral-sh/ruff/pull/11120))

##### Preview features

- \[`refurb`] Use function range for `reimplemented-operator`
diagnostics
([#&#8203;11271](https://togithub.com/astral-sh/ruff/pull/11271))
- \[`refurb`] Ignore methods in `reimplemented-operator` (`FURB118`)
([#&#8203;11270](https://togithub.com/astral-sh/ruff/pull/11270))
- \[`refurb`] Implement `fstring-number-format` (`FURB116`)
([#&#8203;10921](https://togithub.com/astral-sh/ruff/pull/10921))
- \[`ruff`] Implement `redirected-noqa` (`RUF101`)
([#&#8203;11052](https://togithub.com/astral-sh/ruff/pull/11052))
- \[`pyflakes`] Distinguish between first-party and third-party imports
for fix suggestions
([#&#8203;11168](https://togithub.com/astral-sh/ruff/pull/11168))

##### Rule changes

- \[`flake8-bugbear`] Ignore non-abstract class attributes when
enforcing `B024`
([#&#8203;11210](https://togithub.com/astral-sh/ruff/pull/11210))
- \[`flake8-logging`] Include inline instantiations when detecting
loggers
([#&#8203;11154](https://togithub.com/astral-sh/ruff/pull/11154))
- \[`pylint`] Also emit `PLR0206` for properties with variadic
parameters
([#&#8203;11200](https://togithub.com/astral-sh/ruff/pull/11200))
- \[`ruff`] Detect duplicate codes as part of `unused-noqa` (`RUF100`)
([#&#8203;10850](https://togithub.com/astral-sh/ruff/pull/10850))

##### Formatter

- Avoid multiline expression if format specifier is present
([#&#8203;11123](https://togithub.com/astral-sh/ruff/pull/11123))

##### LSP

- Write `ruff server` setup guide for Helix
([#&#8203;11183](https://togithub.com/astral-sh/ruff/pull/11183))
- `ruff server` no longer hangs after shutdown
([#&#8203;11222](https://togithub.com/astral-sh/ruff/pull/11222))
- `ruff server` reads from a configuration TOML file in the user
configuration directory if no local configuration exists
([#&#8203;11225](https://togithub.com/astral-sh/ruff/pull/11225))
- `ruff server` respects `per-file-ignores` configuration
([#&#8203;11224](https://togithub.com/astral-sh/ruff/pull/11224))
- `ruff server`: Support a custom TOML configuration file
([#&#8203;11140](https://togithub.com/astral-sh/ruff/pull/11140))
- `ruff server`: Support setting to prioritize project configuration
over editor configuration
([#&#8203;11086](https://togithub.com/astral-sh/ruff/pull/11086))

##### Bug fixes

- Avoid debug assertion around NFKC renames
([#&#8203;11249](https://togithub.com/astral-sh/ruff/pull/11249))
- \[`pyflakes`] Prioritize `redefined-while-unused` over `unused-import`
([#&#8203;11173](https://togithub.com/astral-sh/ruff/pull/11173))
- \[`ruff`] Respect `async` expressions in comprehension bodies
([#&#8203;11219](https://togithub.com/astral-sh/ruff/pull/11219))
- \[`pygrep_hooks`] Fix `blanket-noqa` panic when last line has noqa
with no newline (`PGH004`)
([#&#8203;11108](https://togithub.com/astral-sh/ruff/pull/11108))
- \[`perflint`] Ignore list-copy recommendations for async `for` loops
([#&#8203;11250](https://togithub.com/astral-sh/ruff/pull/11250))
- \[`pyflakes`] Improve `invalid-print-syntax` documentation
([#&#8203;11171](https://togithub.com/astral-sh/ruff/pull/11171))

##### Performance

- Avoid allocations for isort module names
([#&#8203;11251](https://togithub.com/astral-sh/ruff/pull/11251))
- Build a separate ARM wheel for macOS
([#&#8203;11149](https://togithub.com/astral-sh/ruff/pull/11149))

</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/allenporter/pyrainbird).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMzEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants