Skip to content

Commit 373513e

Browse files
wyattscarpenterKotlinIsland
authored andcommitted
Update getting_started.rst: "if you try directly running mypy on your existing Python code, it will most likely report little to no errors"
This was hardly true any more, was it?
1 parent cf3b4b8 commit 373513e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/source/getting_started.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,12 @@ This also means that you are always free to ignore the errors mypy reports,
4545
if you so wish. You can always use the Python interpreter to run your code,
4646
even if mypy reports errors.
4747

48-
However, if you try directly running mypy on your existing Python code, it
49-
will most likely report little to no errors. This is a feature! It makes it
50-
easy to adopt mypy incrementally.
48+
If you try directly running mypy on your existing Python code, it
49+
will most likely report lots and lots of errors. This is a feature! It makes it
50+
easy to notice all the possible errors with your code. (You can also
51+
look into the baseline feature to help you adopt mypy incrementally.)
5152

52-
In order to get useful diagnostics from mypy, you must add *type annotations*
53+
In order to get useful inferences from mypy, you must add *type annotations*
5354
to your code. See the section below for details.
5455

5556
.. _getting-started-dynamic-vs-static:

0 commit comments

Comments
 (0)