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

Method note

mypy/semanal.py:7688–7691  ·  view source on GitHub ↗
(self, msg: str, ctx: Context, code: ErrorCode | None = None)

Source from the content-addressed store, hash-verified

7686 )
7687
7688 def note(self, msg: str, ctx: Context, code: ErrorCode | None = None) -> None:
7689 if not self.in_checked_function():
7690 return
7691 self.errors.report(ctx.line, ctx.column, msg, severity="note", code=code)
7692
7693 def incomplete_feature_enabled(self, feature: str, ctx: Context) -> bool:
7694 if feature not in self.options.enable_incomplete_feature:

Calls 2

in_checked_functionMethod · 0.95
reportMethod · 0.45

Tested by

no test coverage detected