Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Nov 29, 2023
1 parent b5a2d39 commit 863e63a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 16 deletions.
3 changes: 1 addition & 2 deletions python/tabby-eval/tabby_data_pipeline/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from dagster import Definitions, load_assets_from_modules

from dagstermill import define_dagstermill_asset, ConfigurableLocalOutputNotebookIOManager
from dagstermill import ConfigurableLocalOutputNotebookIOManager

from dagster import AssetIn, Field, Int, asset, file_relative_path

from . import assets, create_csv

Expand Down
11 changes: 1 addition & 10 deletions python/tabby-eval/tabby_data_pipeline/analyze.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
import pandas as pd
import json
import sys

from dagster import (
AssetExecutionContext,
MetadataValue,
asset,
StaticPartitionsDefinition,
MultiPartitionsDefinition,
)

def get_bracket_lang_statement(completion):
end_idx = None
Expand All @@ -25,7 +16,7 @@ def postprocess_code_lines(prompt, target, language):
return get_bracket_lang_statement(target)
elif language == "python":
return target.split("\n")[0]
except Exception as e:
except Exception:
return target


Expand Down
3 changes: 0 additions & 3 deletions python/tabby-eval/tabby_data_pipeline/assets.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import modal
import json
import os
import subprocess
import pandas as pd

from dagster import (
AssetExecutionContext,
Expand Down
1 change: 0 additions & 1 deletion python/tabby-eval/tabby_data_pipeline/create_csv.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import csv
import json
import pandas as pd

Expand Down

0 comments on commit 863e63a

Please sign in to comment.