From c6702814fe48d4545337555636288668a9bfd4c9 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Tue, 10 Dec 2019 22:13:05 +0100 Subject: [PATCH] FEM: code conventions, add some text for LF line endings --- src/Mod/Fem/coding_conventions.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Mod/Fem/coding_conventions.md b/src/Mod/Fem/coding_conventions.md index 50ad41e035a5..20d30d728687 100644 --- a/src/Mod/Fem/coding_conventions.md +++ b/src/Mod/Fem/coding_conventions.md @@ -20,7 +20,9 @@ These coding rules apply to FEM module code only. Other modules or the base syst ## Python and C++ ### Code formatting - All files should have a license header -- Unix line endings are preferred +- Unix line endings will be used: + - a .gitattributes file has been added to ensure line endings of text files are LF + - use `?w=1` in link address to surpress line ending changes on github - never use mixed line endings on one file - 4 Spaces for indent - no trailing white spaces