Skip to content

Commit

Permalink
rule: add qb to unsafe gloabal list
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed Jul 31, 2023
1 parent c751c52 commit 7c0228a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rules/frappe_correctness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ rules:
- pattern: $VAR = <... frappe.lang ...>
- pattern: $VAR = <... frappe._(...) ...>
- pattern: $VAR = <... flt(...) ...>
- pattern: $VAR = <... frappe.qb ...>
- pattern-not-inside: |
def $FUNCTION(...):
...
Expand Down

0 comments on commit 7c0228a

Please sign in to comment.