Improve .gitattributes

It seems that we need to specify that Python files have LF line endings
on Windows environments, else they will get converted to CRLF. If this
happens, then the container image we build in this environment will have
Python files with wrong endings, and tests will break.

Refs #838 for previous attempt.
This commit is contained in:
Alex Pyrgiotis 2024-09-18 19:07:03 +03:00
parent a001b5497c
commit 58b4659ffd
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

1
.gitattributes vendored
View file

@ -1,4 +1,5 @@
* text=auto * text=auto
*.py text eol=lf
*.jpg -text *.jpg -text
*.gif -text *.gif -text
*.png -text *.png -text