Skip to content

Commit d2cab08

Browse files
committed
Improve mypy's behavior for implicit returns.
See python/mypy#7511 though it seems this isn't fully fixed, as it still warns for returns with no explicit return None...
1 parent 1f2b6c6 commit d2cab08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,5 @@ multi_line_output = 3
5050

5151
[tool.mypy]
5252
strict = true
53+
warn_no_return = false
5354
exclude = [".*/tests/.*"]

0 commit comments

Comments
 (0)