We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 660d911 commit 5020d0dCopy full SHA for 5020d0d
mypy/config_parser.py
@@ -600,7 +600,7 @@ def parse_section(
600
return results, report_dirs
601
602
603
-def convert_to_boolean(value: Any | None) -> bool:
+def convert_to_boolean(value: object) -> bool:
604
"""Return a boolean value translating from other types if necessary."""
605
if isinstance(value, bool):
606
return value
0 commit comments