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.
2 parents 9b3ae35 + 5212650 commit 2e65f49Copy full SHA for 2e65f49
mypy_baseline/_error.py
@@ -80,7 +80,7 @@ def category(self) -> str:
80
return self._match.group('category') or 'note'
81
82
def get_clean_line(self, config: Config) -> str:
83
- path = Path(*self.path.parts[:config.depth])
+ path = str(Path(*self.path.parts[:config.depth])).replace('\\', '/')
84
pos = self.line_number if config.preserve_position else 0
85
msg = REX_COLOR.sub('', self.message).strip()
86
msg = REX_COLOR_NBQA.sub('', msg).strip()
0 commit comments