From 8b8b55542e5346e4297561ce1290e97f4be57250 Mon Sep 17 00:00:00 2001 From: hauntsaninja Date: Thu, 9 Mar 2023 12:49:08 -0800 Subject: [PATCH] Update adopting strict docs for 1.0 --- docs/source/existing_code.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/source/existing_code.rst b/docs/source/existing_code.rst index 410d7af0c350..c66008f4b782 100644 --- a/docs/source/existing_code.rst +++ b/docs/source/existing_code.rst @@ -183,7 +183,7 @@ An excellent goal to aim for is to have your codebase pass when run against ``my This basically ensures that you will never have a type related error without an explicit circumvention somewhere (such as a ``# type: ignore`` comment). -The following config is equivalent to ``--strict`` (as of mypy 0.990): +The following config is equivalent to ``--strict`` (as of mypy 1.0): .. code-block:: text @@ -191,7 +191,6 @@ The following config is equivalent to ``--strict`` (as of mypy 0.990): warn_unused_configs = True warn_redundant_casts = True warn_unused_ignores = True - no_implicit_optional = True # Getting these passing should be easy strict_equality = True