We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15accee commit 3db2a08Copy full SHA for 3db2a08
mypy/util.py
@@ -639,7 +639,8 @@ def colorize(self, error: str) -> str:
639
self.highlight_quote_groups(msg) + self.style(code, 'yellow'))
640
elif ': note:' in error:
641
loc, msg = error.split('note:', maxsplit=1)
642
- return loc + self.style('note:', 'blue') + self.underline_link(msg)
+ formatted = self.highlight_quote_groups(self.underline_link(msg))
643
+ return loc + self.style('note:', 'blue') + formatted
644
elif error.startswith(' ' * DEFAULT_SOURCE_OFFSET):
645
# TODO: detecting source code highlights through an indent can be surprising.
646
if '^' not in error:
0 commit comments