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 documentedargmap
- Utilities for mapping between actual and formal arguments (and their types).backports
- Undocumentedbinder
- No module docstring; 0/2 variable, 0/1 function, 2/2 classes documentedbogus_type
- A Bogus[T] type alias for marking when we subvert the type systembuild
- 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 accesscheckstrformat
- Format expression type checker.config_parser
- No module docstring; 0/4 constant, 11/16 functions, 0/1 class documentedconstraints
- Type inference constraints.defaults
- Undocumenteddmypy
- No package docstring; 1/2 module documenteddmypy_os
- No module docstring; 0/1 constant, 2/2 functions documenteddmypy_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 documentederrorcodes
- Classification of possible errors mypy can detect.errors
- No module docstring; 0/1 variable, 0/2 constant, 2/2 functions, 3/3 classes documentedexpandtype
- No module docstring; 0/1 constant, 3/3 functions, 1/1 class documentedexprtotype
- Translate an Expression to a Type value.fastparse
- No module docstring; 0/7 constant, 5/8 functions, 0/2 class documentedfastparse2
- 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 checkfixup
- Fix up various things after deserialization.freetree
- Generic node traverser visitorfscache
- 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 documentedgit
- Git utilities.indirection
- No module docstring; 1/1 function, 1/1 class documentedinfer
- Utilities for type argument inference.ipc
- Cross platform abstractions for inter-process communicationjoin
- Calculation of the least upper bound types (joins).literals
- Undocumentedlookup
- 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 documentedmeet
- No module docstring; 11/14 functions, 0/1 class documentedmemprofile
- 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 documentedmodulefinder
- Low-level infrastructure to find modules.moduleinspect
- Basic introspection of modules.mro
- No module docstring; 1/3 function, 1/1 class documentednodes
- Abstract syntax tree node classes (i.e. parse tree).operators
- Information about Python operatorsoptions
- No module docstring; 0/2 constant, 1/2 class documentedparse
- No module docstring; 1/1 function documentedplugin
- Plugin system for extending mypy.plugins
- No package docstring; 5/8 modules documentedattrs
- Plugin for supporting the attrs library (http://www.attrs.org)common
- No module docstring; 5/6 functions documentedctypes
- 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 documentedenums
- 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 documentedpyinfo
- Undocumentedreachability
- Utilities related to determining the reachability of code (in semantic analysis).renaming
- No module docstring; 0/3 constant, 1/1 class documentedreport
- Classes for producing HTML reports about imprecision.sametypes
- No module docstring; 1/3 function, 1/1 class documentedscope
- 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 documentedastdiff
- 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
- Undocumentedtrigger
- AST triggers that are used for fine-grained dependency handling.update
- Update build by processing changes using fine-grained dependencies.sharedparse
- Undocumentedsolve
- Type inference constraint solvingsplit_namespace
- Split namespace for argparse to allow separating options by prefix.state
- Undocumentedstats
- 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
- Undocumentedstubtest
- 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 documentedsuggestions
- Mechanisms for inferring function types based on callsites.test
- No package docstring; 25/40 modules documentedconfig
- Undocumenteddata
- Utilities for processing .test files containing test case descriptions.helpers
- No module docstring; 0/1 constant, 10/24 functions documentedtest_find_sources
- Undocumentedtestapi
- Undocumentedtestargs
- Ensure the argparse parser and Options class are in sync.testcheck
- Type checker test casestestcmdline
- 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
- Undocumentedtestfscache
- 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
- Undocumentedtestmerge
- Test cases for AST merge (used for fine-grained incremental checking)testmodulefinder
- Undocumentedtestmypyc
- 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 documentedtestpythoneval
- 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 documentedtestsemanal
- Semantic analyzer test casestestsolve
- Test cases for the constraint solver used in type inference.teststubgen
- No module docstring; 0/1 variable, 0/1 function, 4/11 classes documentedteststubinfo
- Undocumentedteststubtest
- No module docstring; 0/1 variable, 0/1 constant, 1/4 function, 0/3 class documentedtestsubtypes
- Undocumentedtesttransform
- Identity AST transform test casestesttypegen
- Test cases for the type checker: exporting inferred typestesttypes
- Test cases for mypy types and type operations.testutil
- Undocumentedtypefixture
- Fixture used in type-related test cases.update
- Undocumentedvisitors
- Visitor classes pulled out from different teststraverser
- Generic node traverser visitortreetransform
- Base visitor that implements an identity AST transform.tvar_scope
- No module docstring; 1/1 class documentedtype_visitor
- Type visitor classes.typeanal
- Semantic analysis of typestypeops
- 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 documentedtypevars
- No module docstring; 2/3 functions documentedutil
- Utility functions with no non-trivial dependencies.version
- Undocumentedvisitor
- Generic abstract syntax tree node visitor