Run black and update docs for #457

This commit is contained in:
Simon Willison 2019-05-09 09:47:58 -07:00
commit f825e20121
2 changed files with 4 additions and 5 deletions

View file

@ -21,9 +21,7 @@ def publish_subcommand(publish):
help="Application name to use when building",
)
@click.option(
"--service",
default="",
help="Cloud Run service to deploy (or over-write)",
"--service", default="", help="Cloud Run service to deploy (or over-write)"
)
@click.option("--spatialite", is_flag=True, help="Enable SpatialLite extension")
def cloudrun(
@ -80,7 +78,7 @@ def publish_subcommand(publish):
check_call("gcloud builds submit --tag {}".format(image_id), shell=True)
check_call(
"gcloud beta run deploy --allow-unauthenticated --image {}{}".format(
image_id, " {}".format(service) if service else "",
image_id, " {}".format(service) if service else ""
),
shell=True,
)