Skip to content

Commit 6c40613

Browse files
ddfishergvanrossum
authored andcommitted
Make --warn-no-return a per-file option (#2443)
1 parent c25c319 commit 6c40613

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mypy/options.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class Options:
2525
"debug_cache",
2626
"strict_optional_whitelist",
2727
"show_none_errors",
28+
"warn_no_return",
2829
}
2930

3031
OPTIONS_AFFECTING_CACHE = PER_MODULE_OPTIONS | {"strict_optional"}

0 commit comments

Comments
 (0)