Describe the bug
A parameter with type hint of Any and a default value of None results in linter error BCS023. (This is related to the new functionality from #17.) However, None is a valid value for a type hint of Any and therefore this should be allowed.
To reproduce
Define a function parameter with a type hint of Any and a default value of None, e.g. previous_value here:
Describe the bug A parameter with type hint of
Any
and a default value ofNone
results in linter error BCS023. (This is related to the new functionality from #17.) However,None
is a valid value for a type hint ofAny
and therefore this should be allowed.To reproduce Define a function parameter with a type hint of
Any
and a default value ofNone
, e.g.previous_value
here:results in this error:
Expected behavior No error.
Screenshots or logs If applicable, add screenshots or logs to help explain your problem.
System information A description of your system. Please provide:
Additional context Add any other context about the problem here.