(self: MypyFile, cfg: Config)
| 83 | |
| 84 | |
| 85 | def convert_mypy_file_to_json(self: MypyFile, cfg: Config) -> Json: |
| 86 | return { |
| 87 | ".class": "MypyFile", |
| 88 | "_fullname": self._fullname, |
| 89 | "names": convert_symbol_table(self.names, cfg), |
| 90 | "is_stub": self.is_stub, |
| 91 | "path": self.path, |
| 92 | "is_partial_stub_package": self.is_partial_stub_package, |
| 93 | "future_import_flags": sorted(self.future_import_flags), |
| 94 | } |
| 95 | |
| 96 | |
| 97 | def convert_symbol_table(self: SymbolTable, cfg: Config) -> Json: |
no test coverage detected
searching dependent graphs…