-
Notifications
You must be signed in to change notification settings - Fork 12
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
Added several systems-swamp + __file__
dunders
#24
Conversation
girlies – I am struggling with this one
__file__
dunders__file__
dunders
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.
Improve the typehint inconsistencies across files (there are few which have typehints in some places and don't in other). From the submission guidelines:
- Be consistent about typehints: either do them properly or don't include them at all
Co-authored-by: trag1c <[email protected]>
Co-authored-by: trag1c <[email protected]>
@James-Ansley
|
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.
For exceptions.py
please annotate void functions with -> None
src/systems-swamp/excepthook.py
Outdated
|
||
|
||
def sarcastic_excepthook( | ||
type: Type[BaseException], |
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.
typing.Type
is deprecated since 3.9, just use type
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.
This PR alone is one video lol
Added dunders listed in #23 – with the exception of
__traceback__
, which I might come up with an example for later.