From d5c926ea65d796a8c35f846d02ddd2296622c1e7 Mon Sep 17 00:00:00 2001 From: stainless-bot Date: Thu, 28 Nov 2024 05:05:09 +0000 Subject: [PATCH] chore(internal): codegen related update --- mypy.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mypy.ini b/mypy.ini index cb50a8a..bf6cd2f 100644 --- a/mypy.ini +++ b/mypy.ini @@ -5,7 +5,10 @@ show_error_codes = True # Exclude _files.py because mypy isn't smart enough to apply # the correct type narrowing and as this is an internal module # it's fine to just use Pyright. -exclude = ^(src/dataherald/_files\.py|_dev/.*\.py)$ +# +# We also exclude our `tests` as mypy doesn't always infer +# types correctly and Pyright will still catch any type errors. +exclude = ^(src/dataherald/_files\.py|_dev/.*\.py|tests/.*)$ strict_equality = True implicit_reexport = True