From 58b4659ffdd0aa04f8200eaae30df8b94e622876 Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Wed, 18 Sep 2024 19:07:03 +0300 Subject: [PATCH] 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. --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index f7c97ff..b806f33 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,5 @@ * text=auto +*.py text eol=lf *.jpg -text *.gif -text *.png -text