Fix line endings in windows (#611)

* force lf windows

* Update torch
This commit is contained in:
coco875 2024-04-17 21:58:11 +02:00 committed by GitHub
parent e05474030f
commit 91dcf56629
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@
import re
import sys
import io
abbreviations = {
"banshee_boardwalk": "BB",
@ -365,6 +366,6 @@ with open(f"courses/{course_name}/course_offsets.c", "r") as offsets:
# Write to files only after we've generated their entire contents. That way if an
# error occurs during the generation we don't write an incomplete file
with open(f"courses/{course_name}/course_textures.linkonly.c", "w") as linkonlyc, open(f"courses/{course_name}/course_textures.linkonly.h", "w") as linkonlyh:
with io.open(f"courses/{course_name}/course_textures.linkonly.c", "w", newline="\n") as linkonlyc, io.open(f"courses/{course_name}/course_textures.linkonly.h", "w", newline="\n") as linkonlyh:
linkonlyh.write(h_string)
linkonlyc.write(c_string)

@ -1 +1 @@
Subproject commit f6b786106b9936bdb075130cd98fd860ce6a6315
Subproject commit 4d8ac381c08fd30cc6a4f247576c7dbfe09dc708