-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Warn about --follow-untyped-imports #18249
Conversation
a60eec7
to
ea07ddb
Compare
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Thanks for opening this @hauntsaninja! Does it make sense to add the warning to the mypy/docs/source/running_mypy.rst Lines 324 to 328 in 71ec4a6
|
Sure, added it there as well |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some last suggestions
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
# mypy.ini | ||
[mypy-untyped_package.*] | ||
follow_untyped_imports = True | ||
|
||
# pyproject.toml | ||
[[tool.mypy.overrides]] | ||
module = ["untyped_package.*"] | ||
follow_untyped_imports = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could use sphinx_inline_tabs
for that. Opened #18262 for it.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
No description provided.