From f73f191d6bcc1258aa9867ba14f0b1d4a103adb4 Mon Sep 17 00:00:00 2001 From: Jade Abraham Date: Mon, 21 Oct 2024 14:25:30 -0700 Subject: [PATCH] format Signed-off-by: Jade Abraham --- tools/chplcheck/src/rules.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/chplcheck/src/rules.py b/tools/chplcheck/src/rules.py index 23e22cc95ec5..3e05c64a8771 100644 --- a/tools/chplcheck/src/rules.py +++ b/tools/chplcheck/src/rules.py @@ -932,7 +932,10 @@ def MissingInIntent(_, root: chapel.AstNode): for nd in agg: if isinstance(nd, chapel.Variable) and nd.is_field(): fields[nd.unique_id()] = nd - if isinstance(nd, chapel.Function) and nd.name() in ("init", "init="): + if isinstance(nd, chapel.Function) and nd.name() in ( + "init", + "init=", + ): inits.append(nd) for init in inits: @@ -969,7 +972,6 @@ def MissingInIntent(_, root: chapel.AstNode): if lhs_is_field and rhs_is_formal: yield AdvancedRuleResult(rhs_is_formal) - @driver.fixit(MissingInIntent) def FixMissingInIntent(context: Context, result: AdvancedRuleResult): """