Skip to content

Conversation

DimitriPapadopoulos
Copy link
Contributor

  • I have added a news fragment under changelog.d/ (if the patch affects the end users)

Summary of changes

New in ruff 0.5.0?

E721 Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance checks

Test plan

CI tests.

huxuan
huxuan previously approved these changes Jul 2, 2024
@huxuan
Copy link
Member

huxuan commented Jul 2, 2024

This will fix #1467.

But to avoid conflicts, would you mind reverting the changes of the version in pre commit config?

E721 Use `is` and `is not` for type comparisons,
     or `isinstance()` for isinstance checks
@chrysle chrysle merged commit a3a2a7e into pypa:main Jul 2, 2024
@DimitriPapadopoulos DimitriPapadopoulos deleted the E721 branch July 2, 2024 13:13
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.

3 participants