From 323cba7b868e356538fb9359330b19cd904fe415 Mon Sep 17 00:00:00 2001 From: Hao Zhang Date: Wed, 30 Jul 2025 22:54:45 +0800 Subject: [PATCH] Add configs for mypy. --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index ac8942b..802851e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,3 +35,9 @@ column_limit = 200 [tool.pylint] max-line-length = 200 ignore-paths = ["parity_tensor/_version.py"] + +[tool.mypy] +disallow_untyped_calls = true +disallow_untyped_defs = true +disallow_incomplete_defs = true +check_untyped_defs = true