From 031d227542684cb9108f74bd629f64ab21021728 Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Sun, 10 Mar 2024 20:41:05 +0100 Subject: [PATCH] chore: specify typing models for ruff Resolves #25313 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bb468a4ce3..180012a687 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -125,10 +125,10 @@ 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 "RUF001", # string contains ambiguous unicode character ] +typing-modules = ["frappe.types.DF"] [tool.ruff.format] quote-style = "double"