Skip to content

Commit 1dfc0a4

Browse files
author
Guido van Rossum
committed
The cache depends on strict-optional[-whitelist].
This fixes the second bullet of #2126 but not the others. It depends on the changes in this branch (in master options.strict_optional does not exist).
1 parent 4f36a53 commit 1dfc0a4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎mypy/build.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,8 @@ def select_options_affecting_cache(options: Options) -> Mapping[str, bool]:
801801
"disallow_untyped_defs",
802802
"check_untyped_defs",
803803
"debug_cache",
804+
"strict_optional",
805+
"strict_optional_whitelist",
804806
]
805807

806808

0 commit comments

Comments
 (0)