Skip to content

Commit 9c72c54

Browse files
committed
chore: fix linter
1 parent 9a90cf0 commit 9c72c54

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

hrms/hr/doctype/full_and_final_statement/test_full_and_final_statement.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ def test_check_bootstraped_data_asset_movement_and_jv_creation(self):
3838
receivable_bootstraped_component = ["Loan", "Employee Advance"]
3939

4040
# checking payables and receivables bootstraped value
41-
self.assertEqual([payable.component for payable in self.fnf.payables], payables_bootstraped_component)
41+
self.assertEqual(
42+
[payable.component for payable in self.fnf.payables], payables_bootstraped_component
43+
)
4244
self.assertEqual(
4345
[receivable.component for receivable in self.fnf.receivables], receivable_bootstraped_component
4446
)

hrms/patches/v15_0/set_default_asset_action_in_fnf.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@
33

44
def execute():
55
FnF = frappe.qb.DocType("Full and Final Asset")
6-
frappe.qb.update(FnF).set(FnF.action, "Return").where((FnF.action.isnull()) | (FnF.action == "")).run()
6+
frappe.qb.update(FnF).set(FnF.action, "Return").where(
7+
(FnF.action.isnull()) | (FnF.action == "")
8+
).run()

0 commit comments

Comments
 (0)