KEMBAR78
Enable strict optional for pythoneval tests by cdce8p · Pull Request #15474 · python/mypy · GitHub
Skip to content

Conversation

@cdce8p
Copy link
Collaborator

@cdce8p cdce8p commented Jun 19, 2023

No description provided.

Copy link
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks for doing this!

I think several of the x = None # type: int can be replaced by x: int, especially when they're immediately reassigned

Copy link
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@hauntsaninja hauntsaninja merged commit 15f210b into python:master Jun 20, 2023
@cdce8p cdce8p deleted the test-pythoneval-enable-strict-optional branch June 20, 2023 08:28
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