Undocumented
| Package | dmypy |
No package docstring; 1/2 module documented |
| Package | plugins |
No package docstring; 5/8 modules documented |
| Package | server |
No package docstring; 9/10 modules documented |
| Package | test |
No package docstring; 25/40 modules documented |
| Module | api |
This module makes it possible to use mypy as part of a Python application. |
| Module | applytype |
No module docstring; 1/2 function documented |
| Module | argmap |
Utilities for mapping between actual and formal arguments (and their types). |
| Module | backports |
Undocumented |
| Module | binder |
No module docstring; 0/2 variable, 0/1 function, 2/2 classes documented |
| Module | bogus_type |
A Bogus[T] type alias for marking when we subvert the type system |
| Module | build |
Facilities to analyze entire programs, including imported modules. |
| Module | checker |
Mypy type checker. |
| Module | checkexpr |
Expression type checker. This file is conceptually part of TypeChecker. |
| Module | checkmember |
Type checking of attribute access |
| Module | checkstrformat |
Format expression type checker. |
| Module | config_parser |
No module docstring; 0/4 constant, 11/16 functions, 0/1 class documented |
| Module | constraints |
Type inference constraints. |
| Module | defaults |
Undocumented |
| Module | dmypy_os |
No module docstring; 0/1 constant, 2/2 functions documented |
| Module | dmypy_server |
Server for mypy daemon mode. |
| Module | dmypy_util |
Shared code between dmypy.py and dmypy_server.py. |
| Module | erasetype |
No module docstring; 3/4 functions, 2/3 classes documented |
| Module | errorcodes |
Classification of possible errors mypy can detect. |
| Module | errors |
No module docstring; 0/1 variable, 0/2 constant, 2/2 functions, 3/3 classes documented |
| Module | expandtype |
No module docstring; 0/1 constant, 3/3 functions, 1/1 class documented |
| Module | exprtotype |
Translate an Expression to a Type value. |
| Module | fastparse |
No module docstring; 0/7 constant, 5/8 functions, 0/2 class documented |
| Module | fastparse2 |
This file is nearly identical to fastparse.py, except that it works with a Python 2 AST instead of a Python 3 AST. |
| Module | find_sources |
Routines for finding the sources that mypy will check |
| Module | fixup |
Fix up various things after deserialization. |
| Module | freetree |
Generic node traverser visitor |
| Module | fscache |
Interface for accessing the file system with automatic caching. |
| Module | fswatcher |
Watch parts of the file system for changes. |
| Module | gclogger |
No module docstring; 1/1 class documented |
| Module | git |
Git utilities. |
| Module | indirection |
No module docstring; 1/1 function, 1/1 class documented |
| Module | infer |
Utilities for type argument inference. |
| Module | ipc |
Cross platform abstractions for inter-process communication |
| Module | join |
Calculation of the least upper bound types (joins). |
| Module | literals |
Undocumented |
| Module | lookup |
This is a module for various lookup functions: functions that will find a semantic node by its name. |
| Module | main |
Mypy type checker command line tool. |
| Module | maptype |
No module docstring; 3/5 functions documented |
| Module | meet |
No module docstring; 11/14 functions, 0/1 class documented |
| Module | memprofile |
Utility for dumping memory usage stats. |
| Module | message_registry |
Message constants for generating error messages during type checking. |
| Module | messages |
Facilities for generating error messages during type checking. |
| Module | metastore |
Interfaces for accessing metadata. |
| Module | mixedtraverser |
No module docstring; 1/1 class documented |
| Module | modulefinder |
Low-level infrastructure to find modules. |
| Module | moduleinspect |
Basic introspection of modules. |
| Module | mro |
No module docstring; 1/3 function, 1/1 class documented |
| Module | nodes |
Abstract syntax tree node classes (i.e. parse tree). |
| Module | operators |
Information about Python operators |
| Module | options |
No module docstring; 0/2 constant, 1/2 class documented |
| Module | parse |
No module docstring; 1/1 function documented |
| Module | plugin |
Plugin system for extending mypy. |
| Module | pyinfo |
Undocumented |
| Module | reachability |
Utilities related to determining the reachability of code (in semantic analysis). |
| Module | renaming |
No module docstring; 0/3 constant, 1/1 class documented |
| Module | report |
Classes for producing HTML reports about imprecision. |
| Module | sametypes |
No module docstring; 1/3 function, 1/1 class documented |
| Module | scope |
Track current scope to easily calculate the corresponding fine-grained target. |
| Module | semanal |
The semantic analyzer. |
| Module | semanal_classprop |
Calculate some properties of classes. |
| Module | semanal_enum |
Semantic analysis of call-based Enum definitions. |
| Module | semanal_infer |
Simple type inference for decorated functions during semantic analysis. |
| Module | semanal_main |
Top-level logic for the semantic analyzer. |
| Module | semanal_namedtuple |
Semantic analysis of named tuple definitions. |
| Module | semanal_newtype |
Semantic analysis of NewType definitions. |
| Module | semanal_pass1 |
Block/import reachability analysis. |
| Module | semanal_shared |
Shared definitions used by different parts of semantic analysis. |
| Module | semanal_typeargs |
Verify properties of type arguments, like 'int' in C[int] being valid. |
| Module | semanal_typeddict |
Semantic analysis of TypedDict definitions. |
| Module | sharedparse |
Undocumented |
| Module | solve |
Type inference constraint solving |
| Module | split_namespace |
Split namespace for argparse to allow separating options by prefix. |
| Module | state |
Undocumented |
| Module | stats |
Utilities for calculating and reporting statistics about types. |
| Module | strconv |
Conversion of parse tree nodes to strings. |
| Module | stubdoc |
Parsing/inferring signatures from documentation. |
| Module | stubgen |
Generator of dynamically typed draft stubs for arbitrary modules. |
| Module | stubgenc |
Stub generator for C modules. |
| Module | stubinfo |
Undocumented |
| Module | stubtest |
Tests for stubs. |
| Module | stubutil |
Utilities for mypy.stubgen, mypy.stubgenc, and mypy.stubdoc modules. |
| Module | subtypes |
No module docstring; 0/1 variable, 0/4 constant, 12/21 functions, 0/2 class documented |
| Module | suggestions |
Mechanisms for inferring function types based on callsites. |
| Module | traverser |
Generic node traverser visitor |
| Module | treetransform |
Base visitor that implements an identity AST transform. |
| Module | tvar_scope |
No module docstring; 1/1 class documented |
| Module | type_visitor |
Type visitor classes. |
| Module | typeanal |
Semantic analysis of types |
| Module | typeops |
Miscellaneous type operations and helpers for use during type checking. |
| Module | types |
Classes for representing mypy types. |
| Module | typestate |
A shared state for all TypeInfos that holds global cache and dependency information, and potentially other mutable TypeInfo state. This module contains mutable global state. |
| Module | typetraverser |
No module docstring; 1/1 class documented |
| Module | typevars |
No module docstring; 2/3 functions documented |
| Module | util |
Utility functions with no non-trivial dependencies. |
| Module | version |
Undocumented |
| Module | visitor |
Generic abstract syntax tree node visitor |
| Module | __main__ |
Mypy type checker command line tool. |