Skip to content

Commit 2308e6b

Browse files
committed
refactor get_additional_indirect_deps comment
1 parent eba2e25 commit 2308e6b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

mypy/plugin.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -590,11 +590,11 @@ def get_additional_deps(self, file: MypyFile) -> list[tuple[int, str, int]]:
590590
def get_additional_indirect_deps(self, file: MypyFile) -> set[str]:
591591
"""Customize indirect dependencies for a module.
592592
593-
Unlike get_additional_deps(), this hook is called after the module
594-
has been type checked, so analyzed information (such as class MROs)
595-
is available. The returned module names are recorded as indirect
596-
dependencies: a change to their interfaces will invalidate this
597-
module's cache, but they are not treated as imports.
593+
This hook is called after the module has been type checked, so
594+
analyzed information (such as class MROs) is available. The
595+
returned module names are recorded as indirect dependencies:
596+
a change to their interfaces will invalidate this module's
597+
cache, but they are not treated as imports.
598598
"""
599599
return set()
600600

0 commit comments

Comments
 (0)