Skip to content

Commit 8074591

Browse files
add comment about why experimental features doesn't use choices
1 parent db50b14 commit 8074591

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mypy/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,6 +1107,8 @@ def add_invertible_flag(
11071107
parser.add_argument(
11081108
"--enable-incomplete-feature",
11091109
action="append",
1110+
# We can't just use choices= here because we actually accept more than this;
1111+
# see process_incomplete_features.
11101112
metavar="{" + ",".join(sorted(INCOMPLETE_FEATURES)) + "}",
11111113
help="Enable support of incomplete/experimental features for early preview",
11121114
)

0 commit comments

Comments
 (0)