From 5558cb073981f6c173b40e49734f26eac8db3dda Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Sun, 10 Mar 2024 20:43:39 +0100 Subject: [PATCH] fix: linter config in boilerplate --- frappe/utils/boilerplate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/utils/boilerplate.py b/frappe/utils/boilerplate.py index 214fad9060..808ed35d5e 100644 --- a/frappe/utils/boilerplate.py +++ b/frappe/utils/boilerplate.py @@ -369,9 +369,9 @@ ignore = [ "F403", # can't detect undefined names from * import "F405", # can't detect undefined names from * import "F722", # syntax error in forward type annotation - "F821", # undefined name "W191", # indentation contains tabs ] +typing-modules = ["frappe.types.DF"] [tool.ruff.format] quote-style = "double"