Skip to content

Commit

Permalink
Improve mypy's behavior for implicit returns.
Browse files Browse the repository at this point in the history
See python/mypy#7511 though it seems this isn't fully
fixed, as it still warns for returns with no explicit
return None...
  • Loading branch information
Julian committed Jan 5, 2023
1 parent 1f2b6c6 commit d2cab08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ multi_line_output = 3

[tool.mypy]
strict = true
warn_no_return = false
exclude = [".*/tests/.*"]

0 comments on commit d2cab08

Please sign in to comment.