From 40d04a5af0b658ae5ef6181c7f3d89a984fe3547 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sat, 29 Oct 2022 13:05:49 -0700 Subject: [PATCH] Revert sum literal changes on an ongoing basis (#13962) Makes sure we continue to cherry pick https://github.com/python/mypy/pull/13961 --- misc/sync-typeshed.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/misc/sync-typeshed.py b/misc/sync-typeshed.py index c6856f86744a..743a2934e0c3 100644 --- a/misc/sync-typeshed.py +++ b/misc/sync-typeshed.py @@ -184,8 +184,10 @@ def main() -> None: subprocess.run(["git", "commit", "-m", message], check=True) print("Created typeshed sync commit.") - # Currently just LiteralString reverts - commits_to_cherry_pick = ["780534b13722b7b0422178c049a1cbbf4ea4255b"] + commits_to_cherry_pick = [ + "780534b13722b7b0422178c049a1cbbf4ea4255b", # LiteralString reverts + "5319fa34a8004c1568bb6f032a07b8b14cc95bed", # sum reverts + ] for commit in commits_to_cherry_pick: subprocess.run(["git", "cherry-pick", commit], check=True) print(f"Cherry-picked {commit}.")