-
-
Notifications
You must be signed in to change notification settings - Fork 703
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Enable Mypy
disallow_untyped_defs
rule + fixes (#1060)
- Loading branch information
Showing
22 changed files
with
645 additions
and
432 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
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
Oops, something went wrong.
A late drive-by question: Under which circumstances will this be bytes instead of string? If the watched path was specified as bytes?
It may be nice to make this clearer to the user and to type checkers, for example by using generic types. Otherwise, users will always need to be prepared to handle both bytes and str return types.