diff --git a/rules/frappe_correctness.yml b/rules/frappe_correctness.yml index 578a458..92664ff 100644 --- a/rules/frappe_correctness.yml +++ b/rules/frappe_correctness.yml @@ -20,6 +20,7 @@ rules: - pattern: $VAR = <... frappe.lang ...> - pattern: $VAR = <... frappe._(...) ...> - pattern: $VAR = <... flt(...) ...> + - pattern: $VAR = <... frappe.qb ...> - pattern-not-inside: | def $FUNCTION(...): ...