Skip to content

Enable strict optional for pythoneval tests - #15474

Merged
hauntsaninja merged 3 commits into
python:masterfrom
cdce8p:test-pythoneval-enable-strict-optional
Jun 20, 2023
Merged

hauntsaninja merged 3 commits into
python:masterfrom
cdce8p:test-pythoneval-enable-strict-optional

Conversation

@cdce8p

@cdce8p cdce8p commented Jun 19, 2023

Copy link
Copy Markdown
Collaborator

No description provided.

@hauntsaninja hauntsaninja left a comment

Copy link
Copy Markdown
Collaborator

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

@hauntsaninja hauntsaninja left a comment

Copy link
Copy Markdown
Collaborator

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