diff --git a/rules/frappe_correctness.yml b/rules/frappe_correctness.yml index 92664ff..48eb60a 100644 --- a/rules/frappe_correctness.yml +++ b/rules/frappe_correctness.yml @@ -73,7 +73,7 @@ rules: ... self.$ATTR = $SOME_VAR ... - self.save() + self.save(...) - metavariable-regex: metavariable: '$ATTR' # this is negative look-ahead, add more attrs to ignore like (ignore|ignore_this_too|ignore_me) @@ -128,7 +128,7 @@ rules: ... self.$ANOTHER_METHOD() ... - self.save() + self.save(...) def $ANOTHER_METHOD(self, ...): ... self.$ATTR = ...