Unverified Commit b0f2dbc5 authored by Julien Plu's avatar Julien Plu Committed by GitHub
Browse files

Fix setup.py (#8798)

enforce unix newline encoding regardless of OS creating the file
parent 03bddc37
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment