From 27968de91919709209c56c3a1c021599ccb8d096 Mon Sep 17 00:00:00 2001 From: Jim Madge Date: Mon, 13 Jan 2025 11:06:18 +0000 Subject: [PATCH] Add exception for local types module --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 33305a5745..7024479b71 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -243,6 +243,9 @@ ignore = [ "PLR0915", # ignore too-many-statements ] +[tool.ruff.lint.flake8-builtins] +builtins-allowed-modules = ["types"] + [tool.ruff.lint.flake8-tidy-imports] ban-relative-imports = "parents"