Skip to content

Conversation

karlding
Copy link
Collaborator

This works towards PEP 561 compatibility.

This works towards PEP 561 compatibility.
@karlding karlding requested a review from hardbyte April 23, 2020 07:08
@codecov
Copy link

codecov bot commented Apr 23, 2020

Codecov Report

Merging #818 into develop will increase coverage by 0.01%.
The diff coverage is 90.00%.

@@             Coverage Diff             @@
##           develop     #818      +/-   ##
===========================================
+ Coverage    69.74%   69.75%   +0.01%     
===========================================
  Files           70       70              
  Lines         6590     6599       +9     
===========================================
+ Hits          4596     4603       +7     
- Misses        1994     1996       +2     


def stop(self):
def stop(self) -> None:
# This is guaranteed to not be None since we raise ValueError in __init__
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then maybe it should be private?

Copy link
Collaborator

@felixdivo felixdivo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but will conflict with #820.

@karlding karlding merged commit 5cada6d into hardbyte:develop May 2, 2020
@karlding karlding deleted the add_typing_for_can_io_asc branch May 2, 2020 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants