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 ruff to 0.7.2 #5510

Merged
merged 3 commits into from
Nov 2, 2024
Merged

Update ruff to 0.7.2 #5510

merged 3 commits into from
Nov 2, 2024

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Nov 1, 2024

This PR updates ruff from 0.7.1 to 0.7.2.

Changelog

0.7.2

Preview features

- Fix formatting of single with-item with trailing comment ([14005](https://github.com/astral-sh/ruff/pull/14005))
- \[`pyupgrade`\] Add PEP 646 `Unpack` conversion to `*` with fix (`UP044`) ([13988](https://github.com/astral-sh/ruff/pull/13988))

Rule changes

- Regenerate `known_stdlibs.rs` with stdlibs 2024.10.25 ([13963](https://github.com/astral-sh/ruff/pull/13963))
- \[`flake8-no-pep420`\] Skip namespace package enforcement for PEP 723 scripts (`INP001`) ([13974](https://github.com/astral-sh/ruff/pull/13974))

Server

- Fix server panic when undoing an edit ([14010](https://github.com/astral-sh/ruff/pull/14010))

Bug fixes

- Fix issues in discovering ruff in pip build environments ([13881](https://github.com/astral-sh/ruff/pull/13881))
- \[`flake8-type-checking`\] Fix false positive for `singledispatchmethod` (`TCH003`) ([13941](https://github.com/astral-sh/ruff/pull/13941))
- \[`flake8-type-checking`\] Treat return type of `singledispatch` as runtime-required (`TCH003`) ([13957](https://github.com/astral-sh/ruff/pull/13957))

Documentation

- \[`flake8-simplify`\] Include caveats of enabling `if-else-block-instead-of-if-exp` (`SIM108`) ([14019](https://github.com/astral-sh/ruff/pull/14019))
Links

@pyup-bot pyup-bot added the update label Nov 1, 2024
@browniebroke browniebroke merged commit 5136d3d into master Nov 2, 2024
14 checks passed
@browniebroke browniebroke deleted the pyup-update-ruff-0.7.1-to-0.7.2 branch November 2, 2024 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants