mypy-0.930 API Documentation Modules Classes Names
Clear Help
search in docstrings

Search bar offers the following options:

  • Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: +foo bar -baz
  • Wildcards. The below example searches for documents with words beginning with “foo”: foo*
  • Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: +qname:twisted.mail.* +search

    Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

  • Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: foo~1

Results provided by Lunr.js

Module Index

  • mypy - No package docstring; 68/98 modules, 0/4 package documented
    • __main__ - Mypy type checker command line tool.
    • api - This module makes it possible to use mypy as part of a Python application.
    • applytype - No module docstring; 1/2 function documented
    • argmap - Utilities for mapping between actual and formal arguments (and their types).
    • backports - Undocumented
    • binder - No module docstring; 0/2 variable, 0/1 function, 2/2 classes documented
    • bogus_type - A Bogus[T] type alias for marking when we subvert the type system
    • build - Facilities to analyze entire programs, including imported modules.
    • checker - Mypy type checker.
    • checkexpr - Expression type checker. This file is conceptually part of TypeChecker.
    • checkmember - Type checking of attribute access
    • checkstrformat - Format expression type checker.
    • config_parser - No module docstring; 0/4 constant, 11/16 functions, 0/1 class documented
    • constraints - Type inference constraints.
    • defaults - Undocumented
    • dmypy - No package docstring; 1/2 module documented
      • __main__ - Undocumented
      • client - Client for mypy daemon mode.
    • dmypy_os - No module docstring; 0/1 constant, 2/2 functions documented
    • dmypy_server - Server for mypy daemon mode.
    • dmypy_util - Shared code between dmypy.py and dmypy_server.py.
    • erasetype - No module docstring; 3/4 functions, 2/3 classes documented
    • errorcodes - Classification of possible errors mypy can detect.
    • errors - No module docstring; 0/1 variable, 0/2 constant, 2/2 functions, 3/3 classes documented
    • expandtype - No module docstring; 0/1 constant, 3/3 functions, 1/1 class documented
    • exprtotype - Translate an Expression to a Type value.
    • fastparse - No module docstring; 0/7 constant, 5/8 functions, 0/2 class documented
    • fastparse2 - This file is nearly identical to fastparse.py, except that it works with a Python 2 AST instead of a Python 3 AST.
    • find_sources - Routines for finding the sources that mypy will check
    • fixup - Fix up various things after deserialization.
    • freetree - Generic node traverser visitor
    • fscache - Interface for accessing the file system with automatic caching.
    • fswatcher - Watch parts of the file system for changes.
    • gclogger - No module docstring; 1/1 class documented
    • git - Git utilities.
    • indirection - No module docstring; 1/1 function, 1/1 class documented
    • infer - Utilities for type argument inference.
    • ipc - Cross platform abstractions for inter-process communication
    • join - Calculation of the least upper bound types (joins).
    • literals - Undocumented
    • lookup - This is a module for various lookup functions: functions that will find a semantic node by its name.
    • main - Mypy type checker command line tool.
    • maptype - No module docstring; 3/5 functions documented
    • meet - No module docstring; 11/14 functions, 0/1 class documented
    • memprofile - Utility for dumping memory usage stats.
    • message_registry - Message constants for generating error messages during type checking.
    • messages - Facilities for generating error messages during type checking.
    • metastore - Interfaces for accessing metadata.
    • mixedtraverser - No module docstring; 1/1 class documented
    • modulefinder - Low-level infrastructure to find modules.
    • moduleinspect - Basic introspection of modules.
    • mro - No module docstring; 1/3 function, 1/1 class documented
    • nodes - Abstract syntax tree node classes (i.e. parse tree).
    • operators - Information about Python operators
    • options - No module docstring; 0/2 constant, 1/2 class documented
    • parse - No module docstring; 1/1 function documented
    • plugin - Plugin system for extending mypy.
    • plugins - No package docstring; 5/8 modules documented
      • attrs - Plugin for supporting the attrs library (http://www.attrs.org)
      • common - No module docstring; 5/6 functions documented
      • ctypes - Plugin to provide accurate types for some parts of the ctypes module.
      • dataclasses - Plugin that provides support for dataclasses.
      • default - No module docstring; 15/15 functions, 1/1 class documented
      • enums - This file contains a variety of plugins for refining how mypy infers types of expressions involving Enums.
      • functools - Plugin for supporting the functools standard library module.
      • singledispatch - No module docstring; 0/3 variable, 0/6 constant, 8/11 functions documented
    • pyinfo - Undocumented
    • reachability - Utilities related to determining the reachability of code (in semantic analysis).
    • renaming - No module docstring; 0/3 constant, 1/1 class documented
    • report - Classes for producing HTML reports about imprecision.
    • sametypes - No module docstring; 1/3 function, 1/1 class documented
    • scope - Track current scope to easily calculate the corresponding fine-grained target.
    • semanal - The semantic analyzer.
    • semanal_classprop - Calculate some properties of classes.
    • semanal_enum - Semantic analysis of call-based Enum definitions.
    • semanal_infer - Simple type inference for decorated functions during semantic analysis.
    • semanal_main - Top-level logic for the semantic analyzer.
    • semanal_namedtuple - Semantic analysis of named tuple definitions.
    • semanal_newtype - Semantic analysis of NewType definitions.
    • semanal_pass1 - Block/import reachability analysis.
    • semanal_shared - Shared definitions used by different parts of semantic analysis.
    • semanal_typeargs - Verify properties of type arguments, like 'int' in C[int] being valid.
    • semanal_typeddict - Semantic analysis of TypedDict definitions.
    • server - No package docstring; 9/10 modules documented
      • astdiff - Utilities for comparing two versions of a module symbol table.
      • astmerge - Merge a new version of a module AST and symbol table to older versions of those.
      • aststrip - Strip/reset AST in-place to match state after semantic analyzer pre-analysis.
      • deps - Generate fine-grained dependencies for AST nodes, for use in the daemon mode.
      • mergecheck - Check for duplicate AST nodes after merge.
      • objgraph - Find all objects reachable from a root object.
      • subexpr - Find all subexpressions of an AST node.
      • target - Undocumented
      • trigger - AST triggers that are used for fine-grained dependency handling.
      • update - Update build by processing changes using fine-grained dependencies.
    • sharedparse - Undocumented
    • solve - Type inference constraint solving
    • split_namespace - Split namespace for argparse to allow separating options by prefix.
    • state - Undocumented
    • stats - Utilities for calculating and reporting statistics about types.
    • strconv - Conversion of parse tree nodes to strings.
    • stubdoc - Parsing/inferring signatures from documentation.
    • stubgen - Generator of dynamically typed draft stubs for arbitrary modules.
    • stubgenc - Stub generator for C modules.
    • stubinfo - Undocumented
    • stubtest - Tests for stubs.
    • stubutil - Utilities for mypy.stubgen, mypy.stubgenc, and mypy.stubdoc modules.
    • subtypes - No module docstring; 0/1 variable, 0/4 constant, 12/21 functions, 0/2 class documented
    • suggestions - Mechanisms for inferring function types based on callsites.
    • test - No package docstring; 25/40 modules documented
      • config - Undocumented
      • data - Utilities for processing .test files containing test case descriptions.
      • helpers - No module docstring; 0/1 constant, 10/24 functions documented
      • test_find_sources - Undocumented
      • testapi - Undocumented
      • testargs - Ensure the argparse parser and Options class are in sync.
      • testcheck - Type checker test cases
      • testcmdline - Test cases for the command line.
      • testdaemon - End-to-end test cases for the daemon (dmypy).
      • testdeps - Test cases for generating node-level dependencies (for fine-grained incremental checking)
      • testdiff - Test cases for AST diff (used for fine-grained incremental checking)
      • testerrorstream - Tests for mypy incremental error output.
      • testfinegrained - Test cases for fine-grained incremental checking.
      • testfinegrainedcache - Tests for fine-grained incremental checking using the cache.
      • testformatter - Undocumented
      • testfscache - Unit tests for file system cache.
      • testgraph - Test cases for graph processing code in build.py.
      • testinfer - Test cases for type inference helper functions.
      • testipc - Undocumented
      • testmerge - Test cases for AST merge (used for fine-grained incremental checking)
      • testmodulefinder - Undocumented
      • testmypyc - A basic check to make sure that we are using a mypyc-compiled version when expected.
      • testparse - Tests for the mypy parser.
      • testpep561 - No module docstring; 3/6 functions, 0/1 class documented
      • testpythoneval - Test cases for running mypy programs using a Python interpreter.
      • testreports - Test cases for reports generated by mypy.
      • testsamples - No module docstring; 0/1 function, 1/1 class documented
      • testsemanal - Semantic analyzer test cases
      • testsolve - Test cases for the constraint solver used in type inference.
      • teststubgen - No module docstring; 0/1 variable, 0/1 function, 4/11 classes documented
      • teststubinfo - Undocumented
      • teststubtest - No module docstring; 0/1 variable, 0/1 constant, 1/4 function, 0/3 class documented
      • testsubtypes - Undocumented
      • testtransform - Identity AST transform test cases
      • testtypegen - Test cases for the type checker: exporting inferred types
      • testtypes - Test cases for mypy types and type operations.
      • testutil - Undocumented
      • typefixture - Fixture used in type-related test cases.
      • update - Undocumented
      • visitors - Visitor classes pulled out from different tests
    • traverser - Generic node traverser visitor
    • treetransform - Base visitor that implements an identity AST transform.
    • tvar_scope - No module docstring; 1/1 class documented
    • type_visitor - Type visitor classes.
    • typeanal - Semantic analysis of types
    • typeops - Miscellaneous type operations and helpers for use during type checking.
    • types - Classes for representing mypy types.
    • 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.
    • typetraverser - No module docstring; 1/1 class documented
    • typevars - No module docstring; 2/3 functions documented
    • util - Utility functions with no non-trivial dependencies.
    • version - Undocumented
    • visitor - Generic abstract syntax tree node visitor
API Documentation for mypy-0.930, generated by pydoctor 22.2.2.dev0 at 2022-03-04 17:21:57.