There was an error while loading. Please reload this page.
1 parent b54d5b7 commit 628b0baCopy full SHA for 628b0ba
1 file changed
mypy.ini
@@ -5,7 +5,10 @@ show_error_codes = True
5
# Exclude _files.py because mypy isn't smart enough to apply
6
# the correct type narrowing and as this is an internal module
7
# it's fine to just use Pyright.
8
-exclude = ^(src/runloop_api_client/_files\.py|_dev/.*\.py)$
+#
9
+# We also exclude our `tests` as mypy doesn't always infer
10
+# types correctly and Pyright will still catch any type errors.
11
+exclude = ^(src/runloop_api_client/_files\.py|_dev/.*\.py|tests/.*)$
12
13
strict_equality = True
14
implicit_reexport = True
0 commit comments