Skip to content

Commit

Permalink
./scripts/format.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
wangpatrick57 committed Dec 30, 2024
1 parent 257ea05 commit d4a3e99
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion benchmark/job/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
get_workload_suffix,
name_to_linkname,
)
from gymlib.shell import subprocess_run

from benchmark.constants import DEFAULT_SCALE_FACTOR
from util.shell import subprocess_run
from util.workspace import DBGymWorkspace, fully_resolve_path

JOB_TABLES_URL = "https://event.cwi.nl/da/job/imdb.tgz"
Expand Down
2 changes: 1 addition & 1 deletion benchmark/tpch/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
linkname_to_name,
name_to_linkname,
)
from gymlib.shell import subprocess_run

from benchmark.constants import DEFAULT_SCALE_FACTOR
from benchmark.tpch.constants import DEFAULT_TPCH_SEED, NUM_TPCH_QUERIES
from util.shell import subprocess_run
from util.workspace import DBGymWorkspace, fully_resolve_path, is_fully_resolved

TPCH_KIT_DIRNAME = "tpch-kit"
Expand Down
2 changes: 1 addition & 1 deletion dbms/postgres/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
get_repo_symlink_path,
linkname_to_name,
)
from gymlib.shell import subprocess_run

from benchmark.constants import DEFAULT_SCALE_FACTOR
from benchmark.job.load_info import JobLoadInfo
Expand All @@ -32,7 +33,6 @@
sql_file_execute,
sqlalchemy_conn_execute,
)
from util.shell import subprocess_run
from util.workspace import (
WORKSPACE_PATH_PLACEHOLDER,
DBGymWorkspace,
Expand Down
3 changes: 3 additions & 0 deletions gymlib_package/gymlib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Everything at the "core" of gymlib will be imported directly (e.g. `from .[module] import *`).
# Everything not as important will be only be imported as a module (e.g. `from . import [module]`).
from . import shell
from .magic import *
from .symlinks_paths import *
File renamed without changes.

0 comments on commit d4a3e99

Please sign in to comment.