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

Support FIXME names for unknown types in dmypy suggest #7679

Merged
merged 2 commits into from Oct 10, 2019

Conversation

ilevkivskyi
Copy link
Member

This PR adds an option to dmypy suggest to replace Any in suggested signatures with a dummy name like FIXME or UNKNOWN. The main question here is whether we should replace only the top-level Anys , or also nested one. I am leaning towards the former, but this is not a strong opinion.

Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

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

Nice, this may prevent extra Any types being introduced by making explicit things that couldn't be inferred.

Self check is failing.

@ilevkivskyi ilevkivskyi merged commit 263ba7f into python:master Oct 10, 2019
@ilevkivskyi ilevkivskyi deleted the suggest-fixme branch October 10, 2019 12: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.

None yet

2 participants