Skip to content

Commit

Permalink
fix: ignore sempgrep
Browse files Browse the repository at this point in the history
  • Loading branch information
RitvikSardana committed Dec 9, 2024
1 parent bf8a679 commit 8af9c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpdesk/helpdesk/doctype/hd_team/hd_team.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class HDTeam(Document):
def rename_self(self, new_name: str):
self.rename(new_name)

# nosemgrep: frappe-semgrep-rules.rules.frappe-modifying-but-not-comitting-other-method
# nosemgrep
def after_insert(self):
self.create_assignment_rule()
assignment_rule_doc = frappe.get_doc("Assignment Rule", self.assignment_rule)
Expand Down

0 comments on commit 8af9c21

Please sign in to comment.