-
-
Notifications
You must be signed in to change notification settings - Fork 300
Closed
Labels
pep 484typing related issuestyping related issues
Description
Describe the bug
Revision function's type annotation causes "Type is partially unknown" error. The root of the issue is that process_revision_directives's argument has been typed with Callable which is a partial type (as it lacks definition of the signature of the function).
Expected behavior
I expect the type of the process_revision_directives to be fully defined so type checkers like Pyright won't give me an error.
To Reproduce
Just write any code that imports revision and run pyright on it.
Metadata
Metadata
Assignees
Labels
pep 484typing related issuestyping related issues