We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
https://github.com/samuelcolvin/dirty-equals/blob/c690abbb32e5893d3bb2634e1345ab30a2f46791/dirty_equals/_dict.py#L39-L45
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):
docs requirements:
black==21.12b0 mkdocs==1.2.3 mkdocs-material==8.2.1 mkdocstrings[python]==0.18
The text was updated successfully, but these errors were encountered:
fix: Don't escape signatures return annotations
ac54bfc
Issue #6: #6
Thanks for the report! Fixed in 0.6.5 🙂
Sorry, something went wrong.
No branches or pull requests
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
https://github.com/samuelcolvin/dirty-equals/blob/c690abbb32e5893d3bb2634e1345ab30a2f46791/dirty_equals/_dict.py#L39-L45
Where the return type is a string.
On build you'll get an error like:
System (please complete the following information):
docs requirements:
The text was updated successfully, but these errors were encountered: