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.1 #5487

Merged
merged 2 commits into from
Oct 24, 2024
Merged

Update ruff to 0.7.1 #5487

merged 2 commits into from
Oct 24, 2024

Conversation

pyup-bot
Copy link
Collaborator

This PR updates ruff from 0.7.0 to 0.7.1.

Changelog

0.7.1

Preview features

- Fix `E221` and `E222` to flag missing or extra whitespace around `==` operator ([13890](https://github.com/astral-sh/ruff/pull/13890))
- Formatter: Alternate quotes for strings inside f-strings in preview  ([13860](https://github.com/astral-sh/ruff/pull/13860))
- Formatter: Join implicit concatenated strings when they fit on a line ([13663](https://github.com/astral-sh/ruff/pull/13663))
- \[`pylint`\] Restrict `iteration-over-set` to only work on sets of literals (`PLC0208`) ([13731](https://github.com/astral-sh/ruff/pull/13731))

Rule changes

- \[`flake8-type-checking`\] Support auto-quoting when annotations contain quotes ([11811](https://github.com/astral-sh/ruff/pull/11811))

Server

- Avoid indexing the workspace for single-file mode ([13770](https://github.com/astral-sh/ruff/pull/13770))

Bug fixes

- Make `ARG002` compatible with `EM101` when raising `NotImplementedError` ([13714](https://github.com/astral-sh/ruff/pull/13714))

Other changes

- Introduce more Docker tags for Ruff (similar to uv) ([13274](https://github.com/astral-sh/ruff/pull/13274))
Links

* Auto-update pre-commit hooks

* Update .pre-commit-config.yaml

---------

Co-authored-by: browniebroke <[email protected]>
Co-authored-by: Bruno Alla <[email protected]>
@browniebroke browniebroke merged commit 109238f into master Oct 24, 2024
14 checks passed
@browniebroke browniebroke deleted the pyup-update-ruff-0.7.0-to-0.7.1 branch October 24, 2024 18:48
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