Skip to content

Commit

Permalink
Runs pre-commmit
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahbenizzy committed Nov 28, 2023
1 parent f43bb38 commit 7ad5505
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ repos:
# valid python file
- id: check-ast
# isort python package import sorting
- repo: https://github.com/pre-commit/mirrors-isort
rev: 'v5.10.1'
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black", --line-length=100]
args: ["--profile", "black", --line-length=100, "--project", "hamilton"]
- repo: https://github.com/pycqa/flake8
rev: 5.0.4
hooks:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from tqdm import tqdm
import litellm


from hamilton.function_modifiers import config


Expand Down Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from tenacity import retry, stop_after_attempt, wait_random_exponential
from tqdm import tqdm


from hamilton.function_modifiers import config


Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 7ad5505

Please sign in to comment.