Support for union type hints using "bitwise or"
hakonhagland opened this issue · comments
Håkon Hægland commented
Does flake8 support union type hints using "bitwise or", see https://docs.python.org/3/library/stdtypes.html#types-union
For this signature:
def __init__(self, path: Path, template_name: str|None) -> None:
I get error like:
E227 missing whitespace around bitwise or shift operator
Ian Stapleton Cordasco commented
Flake8 does not implement any error codes and you haven't provided any information about the version of flake8. Please read the issue template