Skip to content

Commit 947b846

Browse files
committed
Fix CRLF line endings in script and add .gitattributes
CRLF line endings caused 'python3\r: No such file or directory' when running the script in Docker (Linux). Strip to LF and add .gitattributes to enforce LF for .py and .sh files going forward.
1 parent 0c6fcc4 commit 947b846

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Ensure consistent line endings
2+
* text=auto
3+
4+
# Scripts must use LF
5+
*.py text eol=lf
6+
*.sh text eol=lf

0 commit comments

Comments
 (0)