diff --git a/setup.py b/setup.py index e21ec83..2011afc 100644 --- a/setup.py +++ b/setup.py @@ -39,6 +39,7 @@ setup( ], 'data_extractor_plugins': ['formation=spyglass.data_extractor.plugins.formation:FormationPlugin', + 'tugboat=spyglass.data_extractor.plugins.tugboat.tugboat:TugboatPlugin', ] }, include_package_data=True, diff --git a/spyglass/data_extractor/custom_exceptions.py b/spyglass/data_extractor/custom_exceptions.py index f43a69f..40f67d6 100644 --- a/spyglass/data_extractor/custom_exceptions.py +++ b/spyglass/data_extractor/custom_exceptions.py @@ -35,6 +35,7 @@ class NoSpecMatched(BaseError): self.specs)) sys.exit(1) + class MissingAttributeError(BaseError): pass diff --git a/spyglass/data_extractor/plugins/tugboat/excel_parser.py b/spyglass/data_extractor/plugins/tugboat/excel_parser.py index 83e4f85..f7b78c1 100644 --- a/spyglass/data_extractor/plugins/tugboat/excel_parser.py +++ b/spyglass/data_extractor/plugins/tugboat/excel_parser.py @@ -19,8 +19,7 @@ import sys import yaml from openpyxl import load_workbook from openpyxl import Workbook -from spyglass.data_extractor.custom_exceptions import - NoSpecMatched, ) +from spyglass.data_extractor.custom_exceptions import NoSpecMatched # from spyglass.data_extractor.custom_exceptions LOG = logging.getLogger(__name__)