style: format code with black

This commit is contained in:
Ankush Menat
2022-03-28 18:52:46 +05:30
parent 21e00da3d6
commit 494bd9ef78
1395 changed files with 91704 additions and 62532 deletions

View File

@@ -2,12 +2,12 @@ import frappe
def execute():
frappe.reload_doc('setup', 'doctype', 'uom')
frappe.reload_doc("setup", "doctype", "uom")
uom = frappe.qb.DocType("UOM")
(frappe.qb
.update(uom)
(
frappe.qb.update(uom)
.set(uom.enabled, 1)
.where(uom.creation >= "2021-10-18") # date when this field was released
).run()