-
Notifications
You must be signed in to change notification settings - Fork 35
style(client): fix mypy errors in FusionDatasetClient._skip_upload_frame #590
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
Conversation
Pull Request Test Coverage Report for Build 860331268
💛 - Coveralls |
| @staticmethod | ||
| def _skip_upload_frame( | ||
| segment_filter: Iterator[Tuple[Frame, Optional[int], bool]], | ||
| segment_filter: Iterator[Tuple[Frame, Optional[float], bool]], |
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.
better to paste the mypy error detail in commit message body
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.
- Put the error detail into code block in commit message body
error->errorsin commit message
4f781bc to
4e1c8fb
Compare
| @staticmethod | ||
| def _skip_upload_frame( | ||
| segment_filter: Iterator[Tuple[Frame, Optional[int], bool]], | ||
| segment_filter: Iterator[Tuple[Frame, Optional[float], bool]], |
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.
- Put the error detail into code block in commit message body
error->errorsin commit message
ef90847 to
f5c97f0
Compare
f5c97f0 to
384ae56
Compare
Errors in mypy: ``` tensorbay/client/dataset.py|708 col 29 error Incompatible types in assignment(expression has type "float", variable has type "Optional[int]")[assignment] tensorbay/client/dataset.py|709 col 41 error Argument 1 to "get" of "Mapping" has incompatible type "Optional[int]"; expected "float"[arg-type] ``` PR Closed: Graviti-AI#590
384ae56 to
a2a99be
Compare
Errors in mypy: