Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@
| MetBenjaminWent | Benjamin Went | Met Office | 2026-01-30 |
| jcsmeto | James Cunningham-Smith | Met Office | 2026-02-06 |
| thomasmelvin | Thomas Melvin | Met Office | 2026-01-15 |
| ericaneininger | Erica Neininger | Met Office | 2026-03-02 |
| ericaneininger | Erica Neininger | Met Office | 2026-03-02 |
| mo-lucy-gordon | Lucy Gordon | Met Office | 2026-03-18 |
14 changes: 14 additions & 0 deletions infrastructure/fortitude.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
##############################################################################
# (c) Crown copyright Met Office. All rights reserved.
# The file LICENCE, distributed with this code, contains details of the terms
# under which the code may be used.
##############################################################################

[check]

file-extensions= ["f90", "F90", "X90", "x90"] #check these file types


select = ["C121"]

output-format = "grouped" #group results by file
15 changes: 15 additions & 0 deletions rose-stem/app/check_fortitude_linter/file/fortitude.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
##############################################################################
# (c) Crown copyright Met Office. All rights reserved.
# The file LICENCE, distributed with this code, contains details of the terms
# under which the code may be used.
##############################################################################

[check]

file-extensions= ["f90", "F90", "X90", "x90"] #check these file types


select = ["C121"]


output-format = "grouped" #group results by file
2 changes: 2 additions & 0 deletions rose-stem/app/check_fortitude_linter/rose-app.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[command]
default=$CYLC_WORKFLOW_RUN_DIR/bin/fortitude_launcher.py $SOURCE_ROOT/lfric_core
1 change: 1 addition & 0 deletions rose-stem/site/meto/groups.cylc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"scripts": [
"config_dump_checker",
"style_checker",
"fortitude_linter",
"site_validator",
"validate_rose_meta",
"rose-stem_lint_checker",
Expand Down
1 change: 1 addition & 0 deletions rose-stem/templates/graph/populate_graph_scripts.cylc
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
{# * config_dump_checker #}
{# * style_checker #}
{# * site_validator #}
{# * fortitude_linter #}
{# * rose-stem_lint_checker #}
{# * validate_rose_meta #}
{# * global_variables_checker #}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
cp $SOURCE_ROOT/SimSys_Scripts/github_scripts/suite_data.py $CYLC_WORKFLOW_RUN_DIR/bin
cp $SOURCE_ROOT/SimSys_Scripts/github_scripts/git_bdiff.py $CYLC_WORKFLOW_RUN_DIR/bin
cp $SOURCE_ROOT/SimSys_Scripts/github_scripts/get_git_sources.py $CYLC_WORKFLOW_RUN_DIR/bin
cp $SOURCE_ROOT/SimSys_Scripts/fortitude_linter/fortitude_launcher.py $CYLC_WORKFLOW_RUN_DIR/bin
"""
[[[environment]]]
SOURCE_DIRECTORY = $SOURCE_ROOT
Expand Down
5 changes: 5 additions & 0 deletions rose-stem/templates/runtime/generate_runtime_scripts.cylc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
inherit={{inherit.str|upper}}
script="rose task-run --app-key=check_style"

{% elif "fortitude_linter" in task %}

inherit={{inherit.str|upper}}
script="rose task-run --app-key=check_fortitude_linter"

{% elif "extract_checker" in task %}

inherit={{inherit.str|upper}}
Expand Down
Loading