Imports (#18)
* Add project configuration and refactor logic - Created .gitignore to exclude IDE files. - Added project module configuration for Python. - Set up inspection profiles for code quality checks. - Refactored main function logic into separate modules for better organisation. - Introduced helper functions for object manipulation and rule processing. - Implemented spreadsheet reading functionality to dynamically load rules. - Added tests for integration with the Speckle server. * Update import paths for consistency - Changed relative imports to absolute imports for clarity. - Ensured all module references are consistent across files.
This commit is contained in:
committed by
GitHub
parent
e930ea9763
commit
2ef5ee8146
+4
-4
@@ -5,10 +5,10 @@ Use the automation_context module to wrap your function in an Automate context h
|
||||
|
||||
from speckle_automate import AutomationContext, AutomateBase
|
||||
|
||||
from rules import apply_rules_to_objects
|
||||
from inputs import FunctionInputs
|
||||
from helpers import flatten_base
|
||||
from spreadsheet import read_rules_from_spreadsheet
|
||||
from src.rules import apply_rules_to_objects
|
||||
from src.inputs import FunctionInputs
|
||||
from src.helpers import flatten_base
|
||||
from src.spreadsheet import read_rules_from_spreadsheet
|
||||
|
||||
|
||||
def automate_function(
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ from Levenshtein import ratio
|
||||
import pandas as pd
|
||||
import re
|
||||
|
||||
from helpers import speckle_print
|
||||
from src.helpers import speckle_print
|
||||
|
||||
|
||||
# We're going to define a set of rules that will allow us to filter and
|
||||
|
||||
Reference in New Issue
Block a user