Skip to content

Commit 5020d0d

Browse files
easy win: remove one Any
1 parent 660d911 commit 5020d0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/config_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ def parse_section(
600600
return results, report_dirs
601601

602602

603-
def convert_to_boolean(value: Any | None) -> bool:
603+
def convert_to_boolean(value: object) -> bool:
604604
"""Return a boolean value translating from other types if necessary."""
605605
if isinstance(value, bool):
606606
return value

0 commit comments

Comments
 (0)