-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 additional type hints #3278
Conversation
Can I request that you combine these into a single PR? Commit for each file is fine but PR per file is a bit much :). |
Of course. Just let me know how it work best for you. Most projects prefer smaller PRs because they are easier and faster to merge. |
8a7d2e3
to
3eeae5f
Compare
3eeae5f
to
d062a07
Compare
Types make it easier to understand the code and improve autocompletion in IDEs.
d062a07
to
e9f684f
Compare
Types make it easier to understand the code and improve autocompletion in IDEs.
e9f684f
to
e480731
Compare
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.
Perfect, thank you. For the patience 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.
Many thanks to @bjoernricks for the enhancement and to @avaris for reviewing.
Pull Request Checklist
Adding the types spotted issues with the
Contents.source_path
attribute if it'sNone
. For examplerelative_dir
property will crash in that case.