Skip to content

Commit 22ac623

Browse files
committed
chore: Add tool.mypy.overrides for testing
1 parent c327a76 commit 22ac623

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,8 @@ no_implicit_optional = true # Disallow implicit optional types
5656
warn_return_any = true # Warn about returning Any type
5757
cache_dir = ".mypy_cache" # Directory for cache files
5858
ignore_missing_imports = true # Skip type checking for missing imports (useful for third-party packages)
59+
60+
# Relax the checks in the test
61+
[[tool.mypy.overrides]]
62+
module = "test.*"
63+
disallow_untyped_defs = false # Function is missing a return type annotation

0 commit comments

Comments
 (0)