Closed
Description
Describe the bug
Strings seem to have html escaped before being passed to black.
To Reproduce
Steps to reproduce the behavior:
Add some code like
Where the return type is a string.
On build you'll get an error like:
File "/Users/samuel/code/dirty-equals/env/lib/python3.10/site-packages/black/parsing.py", line 132, in lib2to3_parse
raise exc from None
black.parsing.InvalidInput: Cannot parse: 1:162: def settings(self, *, strict: Optional[bool] = None, partial: Optional[bool] = None, ignore_values: Union[None, Container[Any], Callable[[Any], bool]] = None) -> 'IsDict': pass
System (please complete the following information):
- Python version: 3.10
- OS: Linux/macos
docs requirements:
black==21.12b0
mkdocs==1.2.3
mkdocs-material==8.2.1
mkdocstrings[python]==0.18
Metadata
Assignees
Labels
No labels