Skip to content

Commit 87ce48d

Browse files
fix(pre_commit): 🎨 auto format pre-commit hooks
1 parent 35ee6e2 commit 87ce48d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

roboflow/deployment.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@ def add_deployment_parser(subparsers):
3030
"-m", dest="machine_type", help="machine type, run `roboflow deployment machine_type` to see available options"
3131
)
3232
deployment_add_parser.add_argument(
33-
"-t", dest="duration", help="duration, how long you want to keep the deployment (unit: hour, default: 3)",
34-
type=float, default=3
33+
"-t",
34+
dest="duration",
35+
help="duration, how long you want to keep the deployment (unit: hour, default: 3)",
36+
type=float,
37+
default=3,
3538
)
3639
deployment_add_parser.add_argument(
37-
"-e", dest="delete_on_expiration", help="delete when expired (default: True)",
38-
type=bool, default=True
40+
"-e", dest="delete_on_expiration", help="delete when expired (default: True)", type=bool, default=True
3941
)
4042
deployment_add_parser.add_argument(
4143
"-n", dest="deployment_name", help="deployment name, must contain 3-10 lowercase characters"

0 commit comments

Comments
 (0)