module documentation
Use pytype to analyze and infer types for an entire project.
Class |
|
Undocumented |
Class |
|
Runs pytype over an import graph. |
Class |
|
Undocumented |
Function | deps |
Construct PytypeRunner args from an importlab.ImportGraph instance. |
Function | escape |
escape `:` in absolute path on windows. |
Function | get |
Get a short path -> full path map for the given deps. |
Function | resolved |
Turn an importlab ResolvedFile into a pytype Module. |
Constant | DEFAULT |
Undocumented |
Constant | FIRST |
Undocumented |
Constant | PYTYPE |
Undocumented |
Function | _get |
Get the path to the executable with the given name. |
Function | _get |
Undocumented |
Function | _is |
Undocumented |
Function | _module |
Convert a module to an output path. |
Construct PytypeRunner args from an importlab.ImportGraph instance. Kept as a separate function so PytypeRunner can be tested independently of importlab. Args: import_graph: An importlab.ImportGraph instance. Returns: List of (tuple of source modules, tuple of direct deps) in dependency order.