From d9ada51243fbbbdb3697d89a57e457ae3d5e3b84 Mon Sep 17 00:00:00 2001 From: Sukuna0007Abhi Date: Sun, 11 Jan 2026 18:07:30 +0000 Subject: [PATCH] Add .gitattributes to enforce LF line endings - Set default text handling to auto-normalize line endings - Explicitly enforce LF line endings for Python files - Add LF enforcement for other repository text files - Fixes #1062 Signed-off-by: Sukuna0007Abhi --- .gitattributes | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..ca9b24fc --- /dev/null +++ b/.gitattributes @@ -0,0 +1,18 @@ +# Set default behavior to automatically normalize line endings +* text=auto + +# Python files should always use LF line endings +*.py text eol=lf + +# Other text files in this repository +*.md text eol=lf +*.yml text eol=lf +*.yaml text eol=lf +*.sql text eol=lf +*.css text eol=lf +*.sh text eol=lf + +# Configuration files +*.conf text eol=lf +Dockerfile text eol=lf +*.Dockerfile text eol=lf