MCPcopy
hub / github.com/python/mypy / check_blockers

Method check_blockers

mypy/build.py:3057–3061  ·  view source on GitHub ↗

Raise CompileError if a blocking error is detected.

(self)

Source from the content-addressed store, hash-verified

3055 self.manager.stale_modules.add(self.id)
3056
3057 def check_blockers(self) -> None:
3058 """Raise CompileError if a blocking error is detected."""
3059 if self.manager.errors.is_blockers():
3060 self.manager.log("Bailing due to blocking errors")
3061 self.manager.errors.raise_error()
3062
3063 @contextlib.contextmanager
3064 def wrap_context(self, check_blockers: bool = True) -> Iterator[None]:

Callers 5

wrap_contextMethod · 0.95
parse_fileMethod · 0.95
compute_dependenciesMethod · 0.95
parse_parallelMethod · 0.80
check_blockersFunction · 0.80

Calls 3

is_blockersMethod · 0.80
raise_errorMethod · 0.80
logMethod · 0.45

Tested by

no test coverage detected