Skip to content

Commit

Permalink
README.md: use ready to paste terminal commands (#11629)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghostfreak-077 authored Nov 27, 2021
1 parent 98fc8aa commit ffb1bac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,21 +78,21 @@ Quick start

Mypy can be installed using pip:

$ python3 -m pip install -U mypy
python3 -m pip install -U mypy

If you want to run the latest version of the code, you can install from git:

$ python3 -m pip install -U git+git://github.com/python/mypy.git
python3 -m pip install -U git+git://github.com/python/mypy.git


Now you can type-check the [statically typed parts] of a program like this:

$ mypy PROGRAM
mypy PROGRAM

You can always use the Python interpreter to run your statically typed
programs, even if mypy reports type errors:

$ python3 PROGRAM
python3 PROGRAM

You can also try mypy in an [online playground](https://mypy-play.net/) (developed by
Yusuke Miyazaki).
Expand Down Expand Up @@ -162,7 +162,7 @@ mypy approximately 4 times faster than if interpreted!

To install an interpreted mypy instead, use:

$ python3 -m pip install --no-binary mypy -U mypy
python3 -m pip install --no-binary mypy -U mypy

To use a compiled version of a development
version of mypy, directly install a binary from
Expand Down

0 comments on commit ffb1bac

Please sign in to comment.