strip-hints
strip-hints copied to clipboard
Strip Protocol classes
When encountering typing.Protocol
classes, strip-hints doesn't strip the class definition, resulting in invalid syntax:
class Style(Protocol):
#color: str
#effect: str
which raises IndentationError: expected an indented block