From fbf67f7576c42a5a53838faf484eefdaa5a35500 Mon Sep 17 00:00:00 2001 From: Bhuvansh855 Date: Tue, 30 Jun 2026 20:29:53 +0530 Subject: [PATCH] Fix inconsistent strict_optional documentation --- docs/source/config_file.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/config_file.rst b/docs/source/config_file.rst index d5431b1476aa0..b24b64de627d6 100644 --- a/docs/source/config_file.rst +++ b/docs/source/config_file.rst @@ -618,10 +618,10 @@ section of the command line docs. :type: boolean :default: True - Effectively disables checking of optional - types and ``None`` values. With this option, mypy doesn't - generally check the use of ``None`` values -- it is treated - as compatible with every type. + When set to ``false``, this option effectively disables checking + of optional types and ``None`` values. With this option, mypy + doesn't generally check the use of ``None`` values -- it is + treated as compatible with every type. .. warning::