Skip to content

Commit

Permalink
pylint-dev#8603 pylint/pyreverse/utils.py, fixed `Unused "type: ign…
Browse files Browse the repository at this point in the history
…ore" comment` pre-commit hook error
  • Loading branch information
ViRuSTriNiTy committed Apr 23, 2023
1 parent 11e38b1 commit dba6685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylint/pyreverse/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def get_annotation_label(ann: nodes.Name | nodes.NodeNG) -> str:
if isinstance(ann, nodes.NodeNG):
label = ann.as_string()

return escape_vertical_bar(label) # type: ignore[no-any-return]
return escape_vertical_bar(label)
return ""


Expand Down

0 comments on commit dba6685

Please sign in to comment.