void (@NotNull PyImportElement node) { super.visitPyImportElement(node); final PyFromImportStatement fromImport = PsiTreeUtil.getParentOfType(node, PyFromImportStatement.class); if (isEnabled(node) && (fromImport == null || !fromImport.isFromFuture())) { myAllImports.add(node); } }