enforce unix newline encoding regardless of OS creating the file
@@ -165,7 +165,7 @@ class DepsTableUpdateCommand(Command):
]
target = "src/transformers/dependency_versions_table.py"
print(f"updating {target}")
with open(target, "w") as f:
with open(target, "w", encoding="utf-8", newline="\n") as f:
f.write("\n".join(content))
The note is not visible to the blocked user.