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

Don't trigger E721 when comparing with None #1356

Merged

Conversation

squiddy
Copy link
Contributor

@squiddy squiddy commented Dec 24, 2022

Closes #1056

@charliermarsh charliermarsh merged commit 32ebc1d into astral-sh:main Dec 24, 2022
@squiddy squiddy deleted the special-case-type-comparison-with-none branch December 27, 2022 05:42
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.

[feature-request] Special case E721 (use isinstance instead of type comparison) for type(None)
2 participants