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

Treat None as its own type and instance #1626

Merged
merged 1 commit into from Oct 4, 2019

Conversation

@jakebailey
Copy link
Member

commented Oct 4, 2019

Fixes #1624.

None is its own type and instance. Added a test for the typing behavior (None being an acceptable type), as well as some tests for inheriting from None to verify that it still lints as wrong.

@jakebailey jakebailey merged commit 4376b50 into microsoft:master Oct 4, 2019
1 check passed
1 check passed
license/cla All CLA requirements met.
Details
@jakebailey jakebailey deleted the jakebailey:none-type branch Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.