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
Summary:
Lint error E721 occurs when the type() function is used for type comparison instead of the more flexible isinstance().
The isinstance() function can handle subclasses as well.
The codemod only replaces type() function with isinstance() function for type comparison and preserves
the existing code functionality while improving code extensibility for future changes.
Differential Revision: D83559508
0 commit comments