Skip to content

Commit ac0c28f

Browse files
committed
minor style modification
1 parent 021d8fb commit ac0c28f

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

mypy/errors.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -922,12 +922,8 @@ def file_messages(self, path: str, formatter: ErrorFormatter | None = None) -> l
922922
self.flushed_files.add(path)
923923
source_lines = None
924924
if self.options.pretty and self.read_source:
925-
"""
926-
Find shadow file mapping and read source lines if a
927-
shadow file exists for the given path.
928-
929-
If shadow file mapping is not found, read source lines
930-
"""
925+
# Find shadow file mapping and read source lines if a shadow file exists for the given path.
926+
# If shadow file mapping is not found, read source lines
931927
mapped_path = self.find_shadow_file_mapping(path)
932928
if mapped_path:
933929
source_lines = self.read_source(mapped_path)

0 commit comments

Comments
 (0)