Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 2, 2024
1 parent 1e0c5de commit eb015b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypy/dmypy_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ def _seen_and_ancestors(self, seen: set[str]) -> set[str]:
"""
seen_paths = seen.copy()
for module_path in seen:
while module_path := module_path.rpartition('.')[0]:
while module_path := module_path.rpartition(".")[0]:
if module_path in seen_paths:
break
else:
Expand Down

0 comments on commit eb015b7

Please sign in to comment.