Skip to content

Commit f6c0546

Browse files
committed
Invalidate cache when --enable-incomplete-feature changes (fixes #20800)
1 parent b8b50b1 commit f6c0546

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
@@ -76,6 +76,7 @@ class BuildType:
7676
"strict_bytes",
7777
"fixed_format_cache",
7878
"untyped_calls_exclude",
79+
"enable_incomplete_feature", # Added to ensure cache is invalidated when this flag changes
7980
}
8081
) - {"debug_cache"}
8182

0 commit comments

Comments
 (0)