Skip to content

Commit 29856ee

Browse files
committed
Replace 'f' with 'file_object' for descriptive variable naming
1 parent cd0d3f5 commit 29856ee

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dev/generate_country_codes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,9 @@ def main():
275275
"# Generated programmatically by dev/generate_country_codes.py",
276276
]
277277

278-
with open(output_file, "w", encoding="utf-8") as f:
279-
f.write("\n".join(header) + "\n")
280-
yaml.dump(COUNTRIES, f, default_flow_style=False, allow_unicode=True)
278+
with open(output_file, "w", encoding="utf-8") as file_object:
279+
file_object.write("\n".join(header) + "\n")
280+
yaml.dump(COUNTRIES, file_object, default_flow_style=False, allow_unicode=True)
281281

282282
print(f"Generated {output_file} with {len(COUNTRIES)} country codes")
283283

0 commit comments

Comments
 (0)