Skip to content

Commit 3909224

Browse files
committed
Squashed 'vimhelp/' changes from b9410f6..2e601f5
2e601f5 Update Python version and dependency versions a194f3c tasks.py: small fix 303cac1 Merge pull request #24 from ychin/fix-unused-infinite-loop-synthesize-tag ff2c876 Fix potential infinite loop in synthesize_tag when handling duplicates git-subtree-dir: vimhelp git-subtree-split: 2e601f5d5717e94796283aaf4bb0bcf6226bf2da
1 parent dcd4057 commit 3909224

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
runtime: python310
1+
runtime: python311
22

33
automatic_scaling:
44
max_instances: 2

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ Flask ~= 2.2
22
gevent ~= 22.10
33
geventhttpclient ~= 2.0
44
google-cloud-ndb ~= 2.1
5-
google-cloud-tasks ~= 2.12
5+
google-cloud-tasks ~= 2.13
66
gunicorn ~= 20.1

tasks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,15 @@ def show_routes(c):
9999
# fmt: on
100100
},
101101
)
102-
def deploy(c, target="stage"):
102+
def deploy(c, target="staging"):
103103
"""Deploy app."""
104104
_ensure_private_mount(c)
105105
if target == "all":
106-
targets = "stage", "prod"
106+
targets = "staging", "prod"
107107
else:
108108
targets = (target,)
109109
for t in targets:
110-
if t == "stage":
110+
if t == "staging":
111111
cmd = f"gcloud app deploy --quiet --project={PROJECT_STAGING}"
112112
elif t == "prod":
113113
cmd = f"gcloud app deploy --project={PROJECT_PROD}"

vimhelp/vimh2h.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def xform(c):
213213
link = self._urls.get(tag)
214214
if link is None or link.filename != curr_filename:
215215
return tag
216-
tag + f"{base_tag}_{i}"
216+
tag = f"{base_tag}_{i}"
217217
i += 1
218218

219219
@staticmethod

0 commit comments

Comments
 (0)