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
The following type hints cause unwanted horizontal lines, because of un-escaped pipe-symbols.
class FailingClass: def __init__( self, with_default: str | None = None, ) -> None: self._bar = with_default def the_failing_method( self, the_arg: str | None = None, ) -> None: pass
No response
pyreverse --filter ALL --output-directory output --output dot ./main.py
digraph "classes" { rankdir=BT charset="utf-8" "main.FailingClass" [color="black", fontcolor="black", label=<{FailingClass|_bar : Optional[str \| None]<br ALIGN="LEFT"/>|__init__(with_default: str | None): None<br ALIGN="LEFT"/><I>the_failing_method</I>(the_arg: str | None): None<br ALIGN="LEFT"/>}>, shape="record", style="solid"]; }
i would expect proper handling of those type hints.
pylint==2.17.4
The text was updated successfully, but these errors were encountered:
I don't understand this issue. What do you mean with horizontal lines?
Sorry, something went wrong.
@DanielNoord i am referring to the additional lines following init in provided svg
Successfully merging a pull request may close this issue.
Bug description
The following type hints cause unwanted horizontal lines, because of un-escaped pipe-symbols.
Configuration
No response
Command used
Pylint output
Expected behavior
i would expect proper handling of those type hints.
Pylint version
OS / Environment
No response
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: