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

Expose the proper plugin in the published mypy version #10306

Open
MaicoTimmerman opened this issue Apr 10, 2021 · 0 comments
Open

Expose the proper plugin in the published mypy version #10306

MaicoTimmerman opened this issue Apr 10, 2021 · 0 comments
Labels
feature topic-plugins The plugin API and ideas for new plugins

Comments

@MaicoTimmerman
Copy link

Feature
The misc/proper_plugin.py is currently not packaged with mypy. Can we expose it as part of mypy itself?

Pitch
I think it would be wise to have a single source of truth for the proper_plugin.py. As the mypy project already uses it to validate internal plugins like the dataclasses, it should stay up to date. Some projects copy the file to their project, but that can cause confusing from not being up to date (i.e. #8047 (comment)). I think externally developed plugins could benefit from the plugin. So perhaps exposing it as mypy.misc.proper_plugin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature topic-plugins The plugin API and ideas for new plugins
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants