Skip to content

Commit 57677e5

Browse files
linting
1 parent 4b2b631 commit 57677e5

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

python/src/lazylearn/ingestion/ingestion_pipeline_steps/interpreter_step.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,5 @@ def datetime_check(self, column: Series):
8282
try:
8383
self.df[column.name] = pd.to_datetime(column)
8484
return True
85-
except:
85+
except Exception as e: # noqa
8686
return False

python/src/lazylearn/lazylearn.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def __init__(self):
77

88
def create_project(self, data, target, task="infer"):
99
# ingest data
10-
ingestion_response = Ingestion().run(data)
10+
ingestion_response = Ingestion().run(data) # noqa
1111

1212
# preprocess
1313

@@ -16,6 +16,3 @@ def create_project(self, data, target, task="infer"):
1616
# train
1717

1818
# eval
19-
20-
21-

0 commit comments

Comments
 (0)