-
Notifications
You must be signed in to change notification settings - Fork 2
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
Remove redundant channel definition #459
Conversation
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
Pull Request Test Coverage Report for Build 10939658523Details
💛 - Coveralls |
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.
Rather let's remove the other one -- then we have privates first then publics, which is not some rule but generally more consistent with how I've been writing the rest of the library, and we keep the one with the type hint
But isn't it more common to define the types only for the function args? |
Usually -- crux of the issue is that I'm mis-remembering something. In the following:
I thought my IDE would complain about the I can still see a space for hinting the attribute directly when the init hint differs from the reality of the attribute, e.g.:
|
Yeah I also don't really understand what type hinting inside the function is good for. I guess we can think about it once we figure out what we can do with it. |
I swear I've seen my IDE respond usefully to it -- probably to an attribute that wasn't in the init signature to start with? But I couldn't reproduce anything in the three minutes I had to play with it |
It's defined above