Skip to content

Commit

Permalink
Update update_vendor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsmkn authored Feb 21, 2022
1 parent 0ef7c0a commit 931cabd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/update_vendor.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ def create_set(*, src, dest, varname, commit_id):

with open(dest, "w") as f:
f.write(
f"# DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN BY {Path(__file__).name}\n"
"# DO NOT EDIT THIS FILE, "
f"CHANGES WILL BE OVERWRITTEN BY {Path(__file__).name}\n"
)
f.write(f"# From {commit_id}\n")
f.write(f"{varname} = frozenset({repr(sorted(var))})\n")
Expand Down Expand Up @@ -63,7 +64,8 @@ def create_dict(*, src, dest, varname, commit_id):

with open(dest, "w") as f:
f.write(
f"# DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN BY {Path(__file__).name}\n"
"# DO NOT EDIT THIS FILE, "
f"CHANGES WILL BE OVERWRITTEN BY {Path(__file__).name}\n"
)
f.write(f"# From {commit_id}\n")
f.write("from typing import Dict, List\n")
Expand Down

0 comments on commit 931cabd

Please sign in to comment.