File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -78,21 +78,21 @@ Quick start
78
78
79
79
Mypy can be installed using pip:
80
80
81
- $ python3 -m pip install -U mypy
81
+ python3 -m pip install -U mypy
82
82
83
83
If you want to run the latest version of the code, you can install from git:
84
84
85
- $ python3 -m pip install -U git+git://github.com/python/mypy.git
85
+ python3 -m pip install -U git+git://github.com/python/mypy.git
86
86
87
87
88
88
Now you can type-check the [ statically typed parts] of a program like this:
89
89
90
- $ mypy PROGRAM
90
+ mypy PROGRAM
91
91
92
92
You can always use the Python interpreter to run your statically typed
93
93
programs, even if mypy reports type errors:
94
94
95
- $ python3 PROGRAM
95
+ python3 PROGRAM
96
96
97
97
You can also try mypy in an [ online playground] ( https://mypy-play.net/ ) (developed by
98
98
Yusuke Miyazaki).
@@ -162,7 +162,7 @@ mypy approximately 4 times faster than if interpreted!
162
162
163
163
To install an interpreted mypy instead, use:
164
164
165
- $ python3 -m pip install --no-binary mypy -U mypy
165
+ python3 -m pip install --no-binary mypy -U mypy
166
166
167
167
To use a compiled version of a development
168
168
version of mypy, directly install a binary from
You can’t perform that action at this time.
0 commit comments