Browse Source

Added entry point for tugboat plugin and minor fixes

Purnendu Ghosh 4 months ago
parent
commit
c60c0e8b53

+ 1
- 0
setup.py View File

@@ -39,6 +39,7 @@ setup(
39 39
         ],
40 40
         'data_extractor_plugins':
41 41
         ['formation=spyglass.data_extractor.plugins.formation:FormationPlugin',
42
+        'tugboat=spyglass.data_extractor.plugins.tugboat.tugboat:TugboatPlugin',
42 43
         ]
43 44
     },
44 45
     include_package_data=True,

+ 1
- 0
spyglass/data_extractor/custom_exceptions.py View File

@@ -35,6 +35,7 @@ class NoSpecMatched(BaseError):
35 35
             self.specs))
36 36
         sys.exit(1)
37 37
 
38
+
38 39
 class MissingAttributeError(BaseError):
39 40
     pass
40 41
 

+ 1
- 2
spyglass/data_extractor/plugins/tugboat/excel_parser.py View File

@@ -19,8 +19,7 @@ import sys
19 19
 import yaml
20 20
 from openpyxl import load_workbook
21 21
 from openpyxl import Workbook
22
-from spyglass.data_extractor.custom_exceptions import
23
-    NoSpecMatched, )
22
+from spyglass.data_extractor.custom_exceptions import NoSpecMatched
24 23
 # from spyglass.data_extractor.custom_exceptions
25 24
 
26 25
 LOG = logging.getLogger(__name__)

Loading…
Cancel
Save