Skip to content

Commit a61ab6b

Browse files
authored
Add 0.470 to revision history (python#2686)
1 parent 14c91f2 commit a61ab6b

3 files changed

Lines changed: 32 additions & 4 deletions

File tree

docs/source/command_line.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,9 @@ For the remaining flags you can read the full ``mypy -h`` output.
371371
.. note::
372372

373373
Command line flags are liable to change between releases.
374-
374+
375+
.. _integrating-mypy:
376+
375377
Integrating mypy into another Python application
376378
************************************************
377379

@@ -388,13 +390,13 @@ A trivial example of this is the following::
388390

389391
import sys
390392
from mypy import api
391-
393+
392394
result = api.run(' '.join(sys.argv[1:]))
393-
395+
394396
if result[0]:
395397
print('\nType checking report:\n')
396398
print(result[0]) # stdout
397-
399+
398400
if result[1]:
399401
print('\nError report:\n')
400402
print(result[1]) # stderr

docs/source/config_file.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ The following global flags may only be set in the global section
102102
error messages.
103103

104104

105+
.. _per-module-flags:
106+
105107
Per-module flags
106108
****************
107109

docs/source/revision_history.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,30 @@ Revision history
33

44
List of major changes to this document:
55

6+
- January 2017
7+
* Publish ``mypy`` version 0.470 on PyPI.
8+
9+
* Change package name from ``mypy-lang`` to ``mypy``.
10+
11+
* Add :ref:`integrating-mypy`.
12+
13+
* Add :ref:`cheat-sheet-py3`.
14+
15+
* Major update to :ref:`finding-imports`.
16+
17+
* Add :ref:`--ignore-missing-imports <ignore-missing-imports>`.
18+
19+
* Updates to :ref:`config-file`.
20+
21+
* Document underscore support in numeric literals.
22+
23+
* Document that arguments prefixed with ``__`` are positional-only.
24+
25+
* Document that ``--hide-error-context`` is now on by default,
26+
and there is a new flag ``--show-error-context``.
27+
28+
* Add ``ignore_errors`` to :ref:`per-module-flags`.
29+
630
- November 2016
731
* Publish ``mypy-lang`` version 0.4.6 on PyPI.
832

0 commit comments

Comments
 (0)