Function | text_lines_to_set | Undocumented |
Function | database_import_allowed_into | Return True if model code can be imported into the module path. |
Function | is_test_module | Returns True if the module is for unit or functional tests. |
Class | attrsgetter | Like operator.attrgetter, but works on multiple attribute names. |
Class | PedantDisagreesError | Import Pedant says you can't make this import. |
Class | DatabaseImportPolicyViolation | Database code is imported directly into other code. |
Class | FromStarPolicyViolation | import * from a module that has no __all__. |
Class | NotInModuleAllPolicyViolation | import of a name that does not appear in a module's __all__. |
Class | NotFoundPolicyViolation | import of zope.exceptions.NotFoundError into lp models modules. |
Function | import_pedant | Undocumented |
Function | report_naughty_imports | Undocumented |
Function | install_import_pedant | Undocumented |
Return True if model code can be imported into the module path.