MCPcopy Index your code
hub / github.com/python/mypy / find_steps

Method find_steps

mypy/test/data.py:414–423  ·  view source on GitHub ↗

Return a list of descriptions of file operations for each incremental step. The first list item corresponds to the first incremental step, the second for the second step, etc. Each operation can either be a file modification/creation (UpdateFile) or deletion (DeleteFile).

(self)

Source from the content-addressed store, hash-verified

412 return f"data: {self.file}:{self.line}:\n{excrepr}"
413
414 def find_steps(self) -> list[list[FileOperation]]:
415 """Return a list of descriptions of file operations for each incremental step.
416
417 The first list item corresponds to the first incremental step, the second for the
418 second step, etc. Each operation can either be a file modification/creation (UpdateFile)
419 or deletion (DeleteFile).
420
421 Defaults to having two steps if there aern't any operations.
422 """
423 return self.steps
424
425
426def module_from_path(path: str) -> str:

Callers 4

run_caseMethod · 0.80
run_caseMethod · 0.80
test_pep561Function · 0.80
run_case_innerMethod · 0.80

Calls

no outgoing calls

Tested by 4

run_caseMethod · 0.64
run_caseMethod · 0.64
test_pep561Function · 0.64
run_case_innerMethod · 0.64