-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix some type checker errors in network module (#534)
* Annotate PeriodicMessageTask in NmtMaster and NmtSlave. * Type annotate Network.notifier. * Remove duplicate initialization of PeriodicMessageTask._task. The attribute is set within the method directly following. So there is no need to initialize it to None before, only to confuse type checkers.
- Loading branch information
Showing
2 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters