You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an edge case I foresee which will always raise a false positive.
This is when the developer inhertis from a TypedDict that is defined in another file as we won't be able to derrive the inheritence tree. I think this is a fair edge case to not handle.
The implementation I drafted does not resolve inheritence at the moment.
There is a seperate issue that comes to mind: it should validate that the TypedDict you inherit from does in fact come from the typing module.
When using with a TypeDict like:
This will incorrectly flag:
A003 class attribute "next" is shadowing a Python builtin
These checks should be disabled when a class inherits from
TypedDict
The text was updated successfully, but these errors were encountered: