From f5e96d044903e85130c1abbf07ba2827335a8f01 Mon Sep 17 00:00:00 2001 From: elijahbenizzy Date: Mon, 27 Nov 2023 22:11:40 -0800 Subject: [PATCH] Runs pre-commmit --- .../hamilton/contrib/dagworks/text_summarization/__init__.py | 2 -- contrib/hamilton/contrib/user/skrawcz/hello_world/__init__.py | 1 - .../hamilton/contrib/user/zilto/nixtla_mlforecast/__init__.py | 1 - .../contrib/user/zilto/nixtla_statsforecast/__init__.py | 1 - .../hamilton/contrib/user/zilto/text_summarization/__init__.py | 2 -- 5 files changed, 7 deletions(-) diff --git a/contrib/hamilton/contrib/dagworks/text_summarization/__init__.py b/contrib/hamilton/contrib/dagworks/text_summarization/__init__.py index 35d9d64b8..25d0e95ca 100644 --- a/contrib/hamilton/contrib/dagworks/text_summarization/__init__.py +++ b/contrib/hamilton/contrib/dagworks/text_summarization/__init__.py @@ -14,7 +14,6 @@ from tqdm import tqdm import litellm - from hamilton.function_modifiers import config @@ -182,7 +181,6 @@ def summarized_text( if __name__ == "__main__": # run as a script to test Hamilton's execution import __init__ as text_summarization - from hamilton import base, driver dr = driver.Driver( diff --git a/contrib/hamilton/contrib/user/skrawcz/hello_world/__init__.py b/contrib/hamilton/contrib/user/skrawcz/hello_world/__init__.py index 2472fcd32..0f625ad95 100644 --- a/contrib/hamilton/contrib/user/skrawcz/hello_world/__init__.py +++ b/contrib/hamilton/contrib/user/skrawcz/hello_world/__init__.py @@ -54,7 +54,6 @@ def spend_zero_mean_unit_variance(spend_zero_mean: pd.Series, spend_std_dev: flo if __name__ == "__main__": # run as a script to test Hamilton's execution import __init__ as hello_world - from hamilton import base, driver dr = driver.Driver( diff --git a/contrib/hamilton/contrib/user/zilto/nixtla_mlforecast/__init__.py b/contrib/hamilton/contrib/user/zilto/nixtla_mlforecast/__init__.py index 1e405f772..01f7af805 100644 --- a/contrib/hamilton/contrib/user/zilto/nixtla_mlforecast/__init__.py +++ b/contrib/hamilton/contrib/user/zilto/nixtla_mlforecast/__init__.py @@ -237,7 +237,6 @@ def inference_plot( if __name__ == "__main__": import __init__ as nixtla_mlforecast - from hamilton import driver dr = driver.Builder().with_modules(nixtla_mlforecast).build() diff --git a/contrib/hamilton/contrib/user/zilto/nixtla_statsforecast/__init__.py b/contrib/hamilton/contrib/user/zilto/nixtla_statsforecast/__init__.py index c12ea651b..54307411f 100644 --- a/contrib/hamilton/contrib/user/zilto/nixtla_statsforecast/__init__.py +++ b/contrib/hamilton/contrib/user/zilto/nixtla_statsforecast/__init__.py @@ -171,7 +171,6 @@ def inference_plot( if __name__ == "__main__": # run as a script to test Hamilton's execution import __init__ as nixtla_statsforecast - from hamilton import driver dr = driver.Driver( diff --git a/contrib/hamilton/contrib/user/zilto/text_summarization/__init__.py b/contrib/hamilton/contrib/user/zilto/text_summarization/__init__.py index 34ef27523..84ec4f9d9 100644 --- a/contrib/hamilton/contrib/user/zilto/text_summarization/__init__.py +++ b/contrib/hamilton/contrib/user/zilto/text_summarization/__init__.py @@ -14,7 +14,6 @@ from tenacity import retry, stop_after_attempt, wait_random_exponential from tqdm import tqdm - from hamilton.function_modifiers import config @@ -180,7 +179,6 @@ def summarized_text( if __name__ == "__main__": # run as a script to test Hamilton's execution import __init__ as text_summarization - from hamilton import base, driver dr = driver.Driver(