Skip to content

Commit 93f792d

Browse files
Updated to pass linter checks
1 parent 846820d commit 93f792d

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

src/pre_process/m_check_ib_patches.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ contains
6868
"2-4, 8-10, 11 or 12.")
6969
end if
7070
else
71-
@:PROHIBIT(patch_ib(i)%geometry .ne. dflt_int, "Inactive IB patch defined. "// &
71+
@:PROHIBIT(patch_ib(i)%geometry /= dflt_int, "Inactive IB patch defined. "// &
7272
"patch_ib("//trim(iStr)//")%geometry not be set for inactive patches.")
7373
call s_check_inactive_ib_patch_geometry(i)
7474
end if

src/pre_process/m_check_patches.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ contains
8989
"must be between 1 and 21")
9090
end if
9191
else
92-
@:PROHIBIT(patch_icpp(i)%geometry .ne. dflt_int, "Inactive patch defined. "// &
92+
@:PROHIBIT(patch_icpp(i)%geometry /= dflt_int, "Inactive patch defined. "// &
9393
"patch_ib("//trim(iStr)//")%geometry not be set for inactive patches. "// &
9494
"Patch "//trim(iStr)//" is inactive as the number of patches is "//trim(num_patches_str))
9595
call s_check_inactive_patch_geometry(i)

toolchain/mfc/args.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ def parse(config):
2727
count = parsers.add_parser(name="count", help="Count LOC in MFC.", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
2828
count_diff = parsers.add_parser(name="count_diff", help="Count LOC in MFC.", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
2929
packer = parsers.add_parser(name="packer", help="Packer utility (pack/unpack/compare).", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
30-
load = parsers.add_parser(name="load", help="Loads the MFC environment with source.", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
31-
lint = parsers.add_parser(name="lint", help="Lints all code after editing.", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
32-
formatting = parsers.add_parser(name="format", help="Formats all code after editing.", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
33-
spelling = parsers.add_parser(name="spelling", help="Runs the spell checker after editing.", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
30+
31+
parsers.add_parser(name="load", help="Loads the MFC environment with source.", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
32+
parsers.add_parser(name="lint", help="Lints all code after editing.", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
33+
parsers.add_parser(name="format", help="Formats all code after editing.", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
34+
parsers.add_parser(name="spelling", help="Runs the spell checker after editing.", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
3435

3536
packers = packer.add_subparsers(dest="packer")
3637
pack = packers.add_parser(name="pack", help="Pack a case into a single file.", formatter_class=argparse.ArgumentDefaultsHelpFormatter)

0 commit comments

Comments
 (0)