Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw committed Aug 14, 2024
1 parent c52b192 commit 767eaa2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion audb/core/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,9 @@ def job(table: str):
)
else:
table_file = parquet_file
remote_file = backend_interface.join("/", db.name, "meta", f"{table}.parquet")
remote_file = backend_interface.join(
"/", db.name, "meta", f"{table}.parquet"
)
backend_interface.get_file(
remote_file,
os.path.join(db_root_tmp, table_file),
Expand Down
4 changes: 3 additions & 1 deletion audb/core/load_to.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,9 @@ def job(table: str):
)
else:
table_file = parquet_file
remote_file = backend_interface.join("/", db_name, "meta", f"{table}.parquet")
remote_file = backend_interface.join(
"/", db_name, "meta", f"{table}.parquet"
)
backend_interface.get_file(
remote_file,
os.path.join(db_root_tmp, table_file),
Expand Down
4 changes: 3 additions & 1 deletion audb/core/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,9 @@ def _put_tables(
def job(table: str):
if os.path.exists(os.path.join(db_root, f"db.{table}.parquet")):
file = os.path.join(db_root, f"db.{table}.parquet")
remote_file = backend_interface.join("/", db_name, "meta", f"{table}.parquet")
remote_file = backend_interface.join(
"/", db_name, "meta", f"{table}.parquet"
)
backend_interface.put_file(file, remote_file, version)
else:
file = f"db.{table}.csv"
Expand Down

0 comments on commit 767eaa2

Please sign in to comment.