strict flake8-type-checking (#6866)
recent flake8-type-checking encourages cast() using the name of the class rather than the actual class, presumably with the aim that you might find more things you don't need to import at runtime however here, consistent with other recent MRs, I've taken the view that it's better to assert that you have the expected type than to trust that it's so
Loading
Please register or sign in to comment