test: configure test-time type checking
see: https://github.com/frappe/frappe/pull/28554
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user