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 report_config_data mypy plugin hook #1568

Closed
sobolevn opened this issue Jun 23, 2023 · 1 comment · Fixed by #1578
Closed

Support report_config_data mypy plugin hook #1568

sobolevn opened this issue Jun 23, 2023 · 1 comment · Fixed by #1578
Assignees
Labels
bug Something isn't working

Comments

@sobolevn
Copy link
Member

When the configuration of our plugin changes, mypy cache is not reset. So, settings are not changed.
There might be other side-effects of this.

I will send a PR shortly.

Docs: https://mypy.readthedocs.io/en/stable/extending_mypy.html?highlight=report_config_data#current-list-of-plugin-hooks

@christianbundy
Copy link
Contributor

Interesting, good call. I wonder whether this will help with dmypy runs where changing models [currently] requires restarting dmypy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants