We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 460b663 commit e2496f1Copy full SHA for e2496f1
mypy.ini
@@ -5,7 +5,10 @@ show_error_codes = True
5
# Exclude _files.py and _logs.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/openai/_files\.py|src/openai/_utils/_logs\.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/openai/_files\.py|src/openai/_utils/_logs\.py|_dev/.*\.py|tests/.*)$
12
13
strict_equality = True
14
implicit_reexport = True
0 commit comments