From 4881673e5e33c6ccae563dae30452e5964f969df Mon Sep 17 00:00:00 2001 From: Yusuke Miyazaki Date: Thu, 12 Dec 2024 00:02:52 +0900 Subject: [PATCH] Add support for --enable-incomplete-feature=InlineTypedDict --- app/mypy_playground/sandbox/base.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/mypy_playground/sandbox/base.py b/app/mypy_playground/sandbox/base.py index acabb8b0..ad1ae9fc 100644 --- a/app/mypy_playground/sandbox/base.py +++ b/app/mypy_playground/sandbox/base.py @@ -48,13 +48,14 @@ ARGUMENT_FLAGS = ARGUMENT_FLAGS_NORMAL + ARGUMENT_FLAGS_STRICT -# Reference: https://github.com/python/mypy/blob/25087fdbb72d1495e6903d171dee999c47ba09fd/mypy/options.py#L73-L78 +# Reference: https://github.com/python/mypy/blob/6427ef17f0180422e0113bc67440d2b911d68f39/mypy/options.py#L74-L81 ARGUMENT_MULTI_SELECT_OPTIONS = { "enable-incomplete-feature": ( + "InlineTypedDict", + "NewGenericSyntax", + "PreciseTupleTypes", "TypeVarTuple", "Unpack", - "PreciseTupleTypes", - "NewGenericSyntax", ) }