diff --git a/.fortitude.toml b/.fortitude.toml new file mode 100644 index 0000000..894e0fd --- /dev/null +++ b/.fortitude.toml @@ -0,0 +1,6 @@ +[check] +select=["E000","C031","C032","C043","C051", +"C082","C141","OB011","OB021","OB051", +"OB061","MOD001","PORT011","PORT012","PORT021", +"FORT001","FORT002","FORT003","FORT004","FORT005"] +ignore=["C091"] diff --git a/.github/workflows/lint-fortran.yaml b/.github/workflows/lint-fortran.yaml new file mode 100644 index 0000000..b5ae2b5 --- /dev/null +++ b/.github/workflows/lint-fortran.yaml @@ -0,0 +1,16 @@ +# ----------------------------------------------------------------------------- +# (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. +# ----------------------------------------------------------------------------- + +name: Lint Fortran + +on: + pull_request: + +jobs: + fortitude-lint: + uses: MetOffice/growss/.github/workflows/fortran-lint.yaml@main + with: + runner: "ubuntu-24.04"