Skip to content

Commit 1acb23f

Browse files
committed
style: switch to requiring 4 spaces of indentation
1 parent 155cda9 commit 1acb23f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.editorconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ root = true
1010

1111
[*.{f90,F90}]
1212
indent_style = space
13-
indent_size = 2
13+
indent_size = 4
1414
trim_trailing_whitespace = true
1515
max_line_length = 132
1616
insert_final_newline = true
1717

1818
[{CMakeLists.txt, *.cmake}]
1919
indent_style = space
20-
indent_size = 2
20+
indent_size = 4
2121
trim_trailing_whitespace = true
2222
max_line_length = 132
2323
insert_final_newline = true
@@ -38,7 +38,7 @@ insert_final_newline = true
3838

3939
[*.sh]
4040
indent_style = space
41-
indent_size = 2
41+
indent_size = 4
4242
trim_trailing_whitespace = true
4343
max_line_length = 132
4444
insert_final_newline = true

STYLE_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ focus on the semantics of the proposed changes rather than style and formatting.
2525
* __Trailing whitespace__: All trailing whitespace must be removed
2626
* __End of File (EOF)__: The file must end in a single new-line character
2727
* __Line length__: __132__: The Fortran 90 (and later) standard mandates lines be no longer than 132 characters
28-
* __Indentation__: __Two (2) spaces__ for all control constructs, line continuations, etc.
28+
* __Indentation__: __Four (4) spaces__ for all control constructs, line continuations, etc.
2929
* __Line ending character__: __Native__: Git will convert line endings to `\n` (Unix style) on commit, and will checkout files with native line endings
3030

3131
## Variable naming

0 commit comments

Comments
 (0)