Module implementing a node visitor for checking local import statements.
None |
LocalImportVisitor | Class implementing a node visitor for checking local import statements. |
None |
Class implementing a node visitor for checking local import statements.
None |
None |
LocalImportVisitor | Constructor |
__assertExternalModule | Private method to assert the given node. |
__visitImportNode | Private method to handle an import or import from statement. |
visit | Public method to traverse the tree of an AST node. |
visit_FunctionDef | Public method to handle a function definition. |
visit_Import | Public method to handle an import statement. |
visit_ImportFrom | Public method to handle an import from statement. |
None |
Constructor
Private method to assert the given node.
Private method to handle an import or import from statement.
Public method to traverse the tree of an AST node.
Public method to handle a function definition.
Public method to handle an import statement.
Public method to handle an import from statement.