Skip to content

Commit 165bf38

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 78bf798 commit 165bf38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def on_file(
172172
) -> None:
173173
# Count physical lines. This assumes the file's encoding is a
174174
# superset of ASCII (or at least uses \n in its line endings).
175-
if not os.path.isdir(tree.path): # can happen with namespace packages
175+
if not os.path.isdir(tree.path): # can happen with namespace packages
176176
with open(tree.path, "rb") as f:
177177
physical_lines = len(f.readlines())
178178
else:

0 commit comments

Comments
 (0)