Skip to content

Commit

Permalink
astacus: fix pre-commit errors
Browse files Browse the repository at this point in the history
Run black to format code
  • Loading branch information
RommelLayco committed Mar 27, 2024
1 parent 618199a commit ed10795
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion astacus/node/uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def write_hashes_to_storage(
parallel: int,
progress: Progress,
still_running_callback=lambda: True,
validate_file_hashes: bool = True
validate_file_hashes: bool = True,
):
todo = [
(hexdigest, list(snapshot.get_files_for_digest(hexdigest)))
Expand Down
2 changes: 1 addition & 1 deletion tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def get_clickhouse_version(command: Sequence[str | Path]) -> tuple[int, ...]:


def is_cassandra_driver_importable() -> bool:
return importlib.util.find_spec("cassandra") is not None
return importlib.util.find_spec("cassandra") is not None # type: ignore[attr-defined]


def format_astacus_command(*arg: str) -> Sequence[str]:
Expand Down

0 comments on commit ed10795

Please sign in to comment.