chore: skip semgrep check for db.commit in BootStrapTestData (backport #53715) (#53717)

Co-authored-by: diptanilsaha <diptanil@frappe.io>
This commit is contained in:
mergify[bot]
2026-03-23 15:59:49 +00:00
committed by GitHub
parent 2a514b5038
commit 638373e180

View File

@@ -190,7 +190,7 @@ class BootStrapTestData:
if not frappe.db.exists("Supplier Scorecard Standing", {"name": x.get("standing_name")}):
frappe.get_doc(x).insert()
frappe.db.commit()
frappe.db.commit() # nosemgrep
def make_master_data(self):
self.make_fiscal_year()
@@ -244,7 +244,7 @@ class BootStrapTestData:
self.update_stock_settings()
self.update_system_settings()
frappe.db.commit()
frappe.db.commit() # nosemgrep
# custom doctype
# DDL commands have implicit commit