Skip to content

Commit cec33dc

Browse files
smclMichael0x2a
authored andcommitted
Fix typo with flag in "getting started" docs (#6474)
The "Getting started" page refers to a non-existent switch `--disallow-unchecked-defs`. This pull request replaces it with the correct flag, `--disallow-untyped-defs`.
1 parent 45267aa commit cec33dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/getting_started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ when you are prototyping a new feature, it may be convenient to initially implem
104104
the code using dynamic typing and only add type hints later once the code is more stable.
105105

106106
Once you are finished migrating or prototyping your code, you can make mypy warn you
107-
if you add a dynamic function by mistake by using the ``--disallow-unchecked-defs``
107+
if you add a dynamic function by mistake by using the ``--disallow-untyped-defs``
108108
flag. See :ref:`command-line` for more information on configuring mypy.
109109

110110
.. note::

0 commit comments

Comments
 (0)