From 931bc599d72e4e88b4ce49d4437fa0c562a16f50 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Mon, 29 Jul 2024 03:22:10 -0700 Subject: [PATCH] repeat names for re-export --- fatamorgana/__init__.py | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/fatamorgana/__init__.py b/fatamorgana/__init__.py index d3bce93..7de7472 100644 --- a/fatamorgana/__init__.py +++ b/fatamorgana/__init__.py @@ -24,14 +24,25 @@ help(fatamorgana.OasisLayout) ``` """ -import pathlib - -from .main import OasisLayout, Cell, XName +from .main import ( + OasisLayout as OasisLayout, + Cell as Cell, + XName as XName, + ) from .basic import ( - NString, AString, Validation, OffsetTable, OffsetEntry, - EOFError, SignedError, InvalidDataError, InvalidRecordError, - UnfilledModalError, - ReuseRepetition, GridRepetition, ArbitraryRepetition + NString as NString, + AString as AString, + Validation as Validation, + OffsetTable as OffsetTable, + OffsetEntry as OffsetEntry, + EOFError as EOFError, + SignedError as SignedError, + InvalidDataError as InvalidDataError, + InvalidRecordError as InvalidRecordError, + UnfilledModalError as UnfilledModalError, + ReuseRepetition as ReuseRepetition, + GridRepetition as GridRepetition, + ArbitraryRepetition as ArbitraryRepetition, )