Skip to content

Commit d604151

Browse files
explicitly hint v, to appease mypy mostly
1 parent 1c388b6 commit d604151

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mypy/config_parser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@ def parse_section(
600600
else:
601601
continue
602602
ct = type(dv)
603+
v: None | bool | object | tuple[int, int] = None
603604
try:
604605
if ct is bool:
605606
# ConfigParser has an equivalent (but poorly-stubbed) getboolean method,

0 commit comments

Comments
 (0)