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

Method log

mypy/build.py:1337–1343  ·  view source on GitHub ↗
(self, *message: str)

Source from the content-addressed store, hash-verified

1335 return self.options.verbosity
1336
1337 def log(self, *message: str) -> None:
1338 if self.verbosity() >= 1:
1339 if message:
1340 print("LOG: ", *message, file=self.stderr)
1341 else:
1342 print(file=self.stderr)
1343 self.stderr.flush()
1344
1345 def log_fine_grained(self, *message: str) -> None:
1346 if self.verbosity() >= 1:

Callers 15

build_innerFunction · 0.95
parse_parallelMethod · 0.95
log_fine_grainedMethod · 0.95
write_deps_cacheFunction · 0.45
read_plugins_snapshotFunction · 0.45
read_deps_cacheFunction · 0.45
_load_ff_fileFunction · 0.45
_load_json_fileFunction · 0.45
find_cache_metaFunction · 0.45
validate_metaFunction · 0.45
write_cacheFunction · 0.45

Calls 3

verbosityMethod · 0.95
printFunction · 0.85
flushMethod · 0.45

Tested by

no test coverage detected