-
-
Notifications
You must be signed in to change notification settings - Fork 747
Closed
Description
Implicit optional is not PEP484 compliant.
This is no longer the recommended behavior. Type checkers should move towards requiring the optional type to be made explicit.
Also Mypy will error on it in the future: python/mypy#9091
Expected Result
Use explicit Optional when default = None
Actual Result
Some implicit optionals are used.
Reproduction Steps
$ mypy --no-implicit-optional jwtmypy fails.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels