Skip to content

Conversation

DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented Nov 24, 2024

Removal of six deprecated rules

Six rules have been removed in this release. We realized that the changes they were asking users to make to their code were either unnecessary or outright undesirable:

Rule stabilizations

The following 13 rules have been stabilized and are no longer in preview:
[...]

Other behavior changes

This release also improves the behavior of several other rules.
[...]

  • printf-string-formatting (UP031) now reports all printf-like usages in your code. Previously, violations were only reported if an autofix was available.

RUF021 Parenthesize `a and b` expressions when chaining `and` and `or` together,
to make the precedence clear
RUF022 `__all__` is not sorted
UP031 Use format specifiers instead of percent format
@DimitriPapadopoulos DimitriPapadopoulos marked this pull request as ready for review November 24, 2024 18:14
@DimitriPapadopoulos DimitriPapadopoulos changed the title Get rid of deprecated rules removed from ruff 0.8.0 Upgrade ruff to 0.8.0 Nov 24, 2024
@max-sixty max-sixty merged commit a765ae0 into pydata:main Nov 25, 2024
29 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the ruff_0.8.0 branch November 25, 2024 19:59
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.

2 participants