From 00cba138a382f8e64b3bbc291c9a4b2ba25a6cb0 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Wed, 6 Sep 2023 19:43:24 +0200 Subject: [PATCH] Clear cache when adding --new-type-inference (#16059) Add `new_type_inference` to the list of options affecting the cache. --- mypy/options.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mypy/options.py b/mypy/options.py index 5e451c0aa0a3..007ae0a78aa1 100644 --- a/mypy/options.py +++ b/mypy/options.py @@ -62,6 +62,7 @@ class BuildType: | { "platform", "bazel", + "new_type_inference", "plugins", "disable_bytearray_promotion", "disable_memoryview_promotion",