From 417066d188460a6ddfd867c440158752465a320a Mon Sep 17 00:00:00 2001 From: Mihir Kandoi Date: Thu, 12 Mar 2026 11:08:24 +0530 Subject: [PATCH] refactor: add type hints required flag to hooks.py --- erpnext/hooks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/hooks.py b/erpnext/hooks.py index 03391161ed2..1132ce8814c 100644 --- a/erpnext/hooks.py +++ b/erpnext/hooks.py @@ -695,3 +695,4 @@ fields_for_group_similar_items = ["qty", "amount"] # ------------ # List of apps whose translatable strings should be excluded from this app's translations. ignore_translatable_strings_from = ["frappe"] +require_type_annotated_api_methods = True