From b8dbc71e09cf88df1d899695e99bbc6cce9608d9 Mon Sep 17 00:00:00 2001 From: rabii-chaarani Date: Tue, 27 Aug 2024 23:50:40 +0000 Subject: [PATCH] style: style fixes by ruff and autoformatting by black --- LoopDataConverter/fields/_ntgs/_ntgs_config.py | 5 ++--- LoopDataConverter/file_readers/_file_readers.py | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/LoopDataConverter/fields/_ntgs/_ntgs_config.py b/LoopDataConverter/fields/_ntgs/_ntgs_config.py index bbfc799..cc94ae0 100644 --- a/LoopDataConverter/fields/_ntgs/_ntgs_config.py +++ b/LoopDataConverter/fields/_ntgs/_ntgs_config.py @@ -1,9 +1,8 @@ -from ...datatypes.enums import Datatype class NtgsConfig: def __init__(self): - self.fold_config ={ + self.fold_config = { "structtype_column": "FoldEvent", "fold_text": "FeatDesc", "description_column": "Desc", @@ -14,7 +13,7 @@ def __init__(self): "axial_plane_dipdir_column": "AxPlDipDir", "axial_plane_dip_column": "AxPlDip", "interp_source_column": "InterpSrce", - } + } self.fault_config = { "structtype_column": "FaultType", diff --git a/LoopDataConverter/file_readers/_file_readers.py b/LoopDataConverter/file_readers/_file_readers.py index 350b650..48be961 100644 --- a/LoopDataConverter/file_readers/_file_readers.py +++ b/LoopDataConverter/file_readers/_file_readers.py @@ -161,4 +161,3 @@ def __call__(self): def save(self, datatype, file_path, file_extension=None): self._reader[datatype].save(file_path, file_extension) -