Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitac0c28f

Browse files
committed
minor style modification
1 parent021d8fb commitac0c28f

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
ifself.options.prettyandself.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
ifmapped_path:
933929
source_lines=self.read_source(mapped_path)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp