Add 0.470 to revision history (#2686)
diff --git a/docs/source/command_line.rst b/docs/source/command_line.rst index 4d2fbcb..e5d1a80 100644 --- a/docs/source/command_line.rst +++ b/docs/source/command_line.rst
@@ -371,7 +371,9 @@ .. note:: Command line flags are liable to change between releases. - + +.. _integrating-mypy: + Integrating mypy into another Python application ************************************************ @@ -388,13 +390,13 @@ import sys from mypy import api - + result = api.run(' '.join(sys.argv[1:])) - + if result[0]: print('\nType checking report:\n') print(result[0]) # stdout - + if result[1]: print('\nError report:\n') print(result[1]) # stderr
diff --git a/docs/source/config_file.rst b/docs/source/config_file.rst index 90f0d0d..001f6c9 100644 --- a/docs/source/config_file.rst +++ b/docs/source/config_file.rst
@@ -102,6 +102,8 @@ error messages. +.. _per-module-flags: + Per-module flags ****************
diff --git a/docs/source/revision_history.rst b/docs/source/revision_history.rst index e42f84e..2537c51 100644 --- a/docs/source/revision_history.rst +++ b/docs/source/revision_history.rst
@@ -3,6 +3,30 @@ List of major changes to this document: +- January 2017 + * Publish ``mypy`` version 0.470 on PyPI. + + * Change package name from ``mypy-lang`` to ``mypy``. + + * Add :ref:`integrating-mypy`. + + * Add :ref:`cheat-sheet-py3`. + + * Major update to :ref:`finding-imports`. + + * Add :ref:`--ignore-missing-imports <ignore-missing-imports>`. + + * Updates to :ref:`config-file`. + + * Document underscore support in numeric literals. + + * Document that arguments prefixed with ``__`` are positional-only. + + * Document that ``--hide-error-context`` is now on by default, + and there is a new flag ``--show-error-context``. + + * Add ``ignore_errors`` to :ref:`per-module-flags`. + - November 2016 * Publish ``mypy-lang`` version 0.4.6 on PyPI.