test: configure test-time type checking

see: https://github.com/frappe/frappe/pull/28554
This commit is contained in:
David
2024-11-28 15:45:59 +01:00
parent 69bd90b038
commit 2394da419e

View File

@@ -28,6 +28,13 @@ dependencies = [
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
[tool.frappe.testing.function_type_validation]
max_module_depth = 1
skip_namespaces = [
"erpnext.deprecation_dumpster",
"erpnext.assets.dashboard_fixtures", # https://github.com/frappe/erpnext/issues/44418
]
[tool.bench.frappe-dependencies]
frappe = ">=16.0.0-dev,<17.0.0"