Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 19, 2025
1 parent 2c2c0bf commit ff151cf
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
6 changes: 3 additions & 3 deletions strato/backends/_gcp.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import shutil
from subprocess import check_call, DEVNULL
from subprocess import DEVNULL, check_call


class GCPBackend:
Expand All @@ -11,8 +11,8 @@ def __init__(self):
"gcloud",
"storage",
"--no-user-output-enabled",
#"-o",
#"GSUtil:parallel_composite_upload_threshold=150M",
# "-o",
# "GSUtil:parallel_composite_upload_threshold=150M",
]

def copy(self, recursive, ionice, filenames, quiet, dryrun):
Expand Down
5 changes: 4 additions & 1 deletion strato/commands/cp.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ def main(argsv):
help="AWS profile. Only works for aws backend, and use the default profile if not provided.",
)
parser.add_argument(
"--quiet", dest="quiet", action="store_true", help="Hide the underlying command."
"--quiet",
dest="quiet",
action="store_true",
help="Hide the underlying command.",
)
parser.add_argument(
"--dryrun",
Expand Down
5 changes: 4 additions & 1 deletion strato/commands/rm.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ def main(argsv):
help=argparse.SUPPRESS,
)
parser.add_argument(
"--quiet", dest="quiet", action="store_true", help="Hide the underlying command."
"--quiet",
dest="quiet",
action="store_true",
help="Hide the underlying command.",
)
parser.add_argument(
"--dryrun",
Expand Down
5 changes: 4 additions & 1 deletion strato/commands/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ def main(argsv):
help="AWS profile. Only works for aws backend, and use the default profile if not provided.",
)
parser.add_argument(
"--quiet", dest="quiet", action="store_true", help="Hide the underlying command."
"--quiet",
dest="quiet",
action="store_true",
help="Hide the underlying command.",
)
parser.add_argument(
"--dryrun",
Expand Down

0 comments on commit ff151cf

Please sign in to comment.