-
-
Notifications
You must be signed in to change notification settings - Fork 656
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
✨ Add support for mypy --strict #147
Conversation
Codecov Report
@@ Coverage Diff @@
## master #147 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 242 242
Lines 4504 4508 +4
=========================================
+ Hits 4504 4508 +4
Continue to review full report at Codecov.
|
Thanks @victorphoenix3 ! 🎉 I went ahead and added a bunch of extra types to enable |
@@ -1,40 +1,37 @@ | |||
"""Typer, build great CLIs. Easy to code. Based on Python type hints.""" | |||
|
|||
__version__ = "0.3.1" | |||
from click.exceptions import Abort as Abort |
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.
Why from foo import bar as bar
structure is preferred.
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.
That "re-exports" bar
and let's tooling know that (instead of being overly t imported to be used internally).
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.
Hmm ok, thank you.
Fixes/related to #142