Get representation of configuration data for a module. The data must be encodable as JSON and will be stored in the cache metadata for the module. A mismatch between the cached values and the returned will result in that module's cache being invalidated and the modul
(self, ctx: ReportConfigContext)
| 548 | return lookup_fully_qualified(fullname, self._modules) |
| 549 | |
| 550 | def report_config_data(self, ctx: ReportConfigContext) -> Any: |
| 551 | """Get representation of configuration data for a module. |
| 552 | |
| 553 | The data must be encodable as JSON and will be stored in the |
| 554 | cache metadata for the module. A mismatch between the cached |
| 555 | values and the returned will result in that module's cache |
| 556 | being invalidated and the module being rechecked. |
| 557 | |
| 558 | This can be called twice for each module, once after loading |
| 559 | the cache to check if it is valid and once while writing new |
| 560 | cache information. |
| 561 | |
| 562 | If is_check in the context is true, then the return of this |
| 563 | call will be checked against the cached version. Otherwise the |
| 564 | call is being made to determine what to put in the cache. This |
| 565 | can be used to allow consulting extra cache files in certain |
| 566 | complex situations. |
| 567 | |
| 568 | This can be used to incorporate external configuration information |
| 569 | that might require changes to typechecking. |
| 570 | """ |
| 571 | return None |
| 572 | |
| 573 | def get_additional_deps(self, file: MypyFile) -> list[tuple[int, str, int]]: |
| 574 | """Customize dependencies for a module. |
no outgoing calls
no test coverage detected