Skip to content

Commit

Permalink
Update adopting strict docs for 1.0 (#14865)
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja authored Mar 9, 2023
1 parent 287c45a commit 267d376
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/source/existing_code.rst
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,14 @@ 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
# Start off with these
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
Expand Down

0 comments on commit 267d376

Please sign in to comment.