diff --git a/pyproject.toml b/pyproject.toml index 74a95b5a1..46f8d266d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -189,6 +189,12 @@ required-imports = [ "from __future__ import annotations", ] +[tool.ruff.lint.flake8-builtins] +builtins-allowed-modules = [ + "dataclasses", + "types" +] + [tool.ruff.lint.pydocstyle] convention = "numpy"