From ce7ff40355dfcc532eecb434ab5ddfa32fa0f85e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C4=8Cert=C3=ADk?= Date: Tue, 31 Dec 2019 10:09:24 -0700 Subject: [PATCH 1/2] Let's use 4 spaces instead of 2 I think most people agreed to use 4 spaces instead of just 2. --- STYLE_GUIDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/STYLE_GUIDE.md b/STYLE_GUIDE.md index 5860d6c02..c7f885cee 100644 --- a/STYLE_GUIDE.md +++ b/STYLE_GUIDE.md @@ -29,7 +29,7 @@ This style guide is a living document and proposed changes may be adopted after By setting and following a convention for indentation and whitespace, code reviews and git-diffs can focus on the semantics of the proposed changes rather than style and formatting. -* The body of every Fortran construct should be indented by __two (2) spaces__ +* The body of every Fortran construct should be indented by __two (4) spaces__ * Line length *should be limited to 80 characters* and __must not exceed 132__ * Please do not use Tab characters for indentation * Please remove trailing white space before committing code From 46215bd985b6cb8eba9bf99b487b35b30dd7b449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C4=8Cert=C3=ADk?= Date: Tue, 31 Dec 2019 15:51:43 -0700 Subject: [PATCH 2/2] Also update .editorconfig --- .editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index b13434bad..d25cc4dde 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,7 +10,7 @@ root = true [*.{f90,F90}] indent_style = space -indent_size = 2 +indent_size = 4 trim_trailing_whitespace = true max_line_length = 132 insert_final_newline = true