.. Mypy documentation master file, created by
   sphinx-quickstart on Sun Sep 14 19:50:35 2014.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

Welcome to mypy documentation!
==============================

Mypy is a static type checker for Python 3 and Python 2.7.

.. toctree::
   :maxdepth: 2
   :caption: First steps

   introduction
   getting_started
   existing_code

.. _overview-cheat-sheets:

.. toctree::
   :maxdepth: 2
   :caption: Cheat sheets

   cheat_sheet_py3
   cheat_sheet

.. _overview-type-system-reference:

.. toctree::
   :maxdepth: 2
   :caption: Type system reference

   builtin_types
   type_inference_and_annotations
   kinds_of_types
   class_basics
   runtime_troubles
   protocols
   dynamic_typing
   python2
   type_narrowing
   duck_type_compatibility
   stubs
   generics
   more_types
   literal_types
   final_attrs
   metaclasses

.. toctree::
   :maxdepth: 2
   :caption: Configuring and running mypy

   running_mypy
   command_line
   config_file
   inline_config
   mypy_daemon
   installed_packages
   extending_mypy
   stubgen
   stubtest

.. toctree::
   :maxdepth: 2
   :caption: Miscellaneous

   common_issues
   supported_python_features
   error_codes
   error_code_list
   error_code_list2
   additional_features
   faq

Indices and tables
==================

* :ref:`genindex`
* :ref:`search`
