-
-
Notifications
You must be signed in to change notification settings - Fork 255
Closed
Description
Describe the bug
The type hints on:
exclude_pathsinclude_paths
Both imply that the argument is not optional but they are then given the default of =None, meaning that they are optional.
For our project previous versions of pyright were not picking this up but the latest (1.1.395) does pick it up.
To Reproduce
Run a pyright version 1.1.395 on the following:
DeepDiff({}, {})and see that there is a type error.
Expected behavior
Above causes no type error
ajslater
Metadata
Metadata
Assignees
Labels
No labels