From 415fad0731b420d67517d6d6fdd60aada7b874f6 Mon Sep 17 00:00:00 2001 From: Manu Date: Tue, 24 Sep 2024 13:41:28 +0200 Subject: [PATCH] Let mypy enforce type annotations only in bring_api module (#87) Mypy checks type defs only in bring_api module --- pyproject.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2685656..5e71d8c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -204,6 +204,10 @@ disallow_incomplete_defs = true disallow_subclassing_any = true disallow_untyped_calls = true disallow_untyped_decorators = true -disallow_untyped_defs = true +disallow_untyped_defs = false warn_return_any = true warn_unreachable = true + +[[tool.mypy.overrides]] +module = "bring_api" +disallow_untyped_defs = true \ No newline at end of file