File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11
11
12
12
## File naming conventions
13
13
14
- - Source files should contain at most one ` program ` , ` module ` , or ` submodule ` .
15
- - The filename should match the program or module name and have the file extension ` .f90 ` or ` .F90 ` if preprocessing is required.
16
- - If the interface and implementation is split using submodules the implementation submodule file should have the same name as the
14
+ * Source files should contain at most one ` program ` , ` module ` , or ` submodule ` .
15
+ * The filename should match the program or module name and have the file extension ` .f90 ` or ` .F90 ` if preprocessing is required.
16
+ * If the interface and implementation is split using submodules the implementation submodule file should have the same name as the
17
17
interface (parent) module but end in ` _implementation ` .
18
18
E.g., ` string_class.f90 ` and ` string_class_implementation.f90 `
19
- - Tests should be added in the ` tests ` subdirectory and have the same name as the module they are testing with the ` test_ ` prefix
19
+ * Tests should be added in the ` tests ` subdirectory and have the same name as the module they are testing with the ` test_ ` prefix
20
20
added.
21
21
E.g., ` string_class.f90 ` and ` tests/test_string_class.f90 `
22
+ * There should only ever be one ` program ` and ` module ` statement per file.
22
23
23
24
## Indentation & whitespace
24
25
You can’t perform that action at this time.
0 commit comments