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

Class Hierarchy

  • argparse.Action
    • mypy.main.CapturableVersionAction - Supplement CapturableArgumentParser to handle --version.
  • argparse.ArgumentParser
    • mypy.main.CapturableArgumentParser - Override ArgumentParser methods that use sys.stdout/sys.stderr directly.
  • argparse.Namespace
    • mypy.split_namespace.SplitNamespace - Undocumented
  • argparse.RawDescriptionHelpFormatter
    • mypy.dmypy.client.AugmentedHelpFormatter - Undocumented
    • mypy.main.AugmentedHelpFormatter - Undocumented
  • Dict[str, SymbolTableNode]
    • mypy.nodes.SymbolTable - Static representation of a namespace dictionary.
  • Dict[str, TypeInfo]
    • mypy.test.testsemanal.TypeInfoMap - Undocumented
  • enum.Enum
    • mypy.modulefinder.ModuleNotFoundReason - Undocumented
    • mypy.nodes.ArgKind - Undocumented
  • Exception
    • mypy.build.ModuleNotFound - Control flow exception to signal that a module was not found.
    • mypy.checkexpr.Finished - Raised if we can terminate overload argument check early (no match).
    • mypy.checkexpr.TooManyUnions - Indicates that we need to stop splitting unions in an attempt to match an overload in order to save performance.
    • mypy.dmypy.client.BadStatus - Exception raised when there is something wrong with the status file.
    • mypy.errors.CompileError - Exception raised when there is a compile error.
    • mypy.exprtotype.TypeTranslationError - Exception raised when an expression is not valid as a type.
    • mypy.find_sources.InvalidSourceList - Exception indicating a problem in the list of sources given to mypy.
    • mypy.ipc.IPCException - Exception for IPC issues.
    • mypy.main.PythonExecutableInferenceError - Represents a failure to infer the version or executable while searching.
    • mypy.moduleinspect.InspectError - Undocumented
    • mypy.mro.MroError - Raised if a consistent mro cannot be determined for a class.
    • mypy.stubutil.CantImport - Undocumented
    • mypy.suggestions.SuggestionFailure - Undocumented
    • mypy.util.DecodeError - Exception raised when a file cannot be decoded due to an unknown encoding type.
  • ExpressionVisitor[Optional[Key]]
    • mypy.literals._Hasher - Undocumented
  • ExpressionVisitor[T]
    • mypy.visitor.NodeVisitor - Empty base class for parse tree node visitors.
  • ExpressionVisitor[Type]
    • mypy.checkexpr.ExpressionChecker - Expression type checker.
  • Generic[T]
    • mypy.stubtest.Signature - No class docstring; 0/4 instance variable, 0/2 method, 1/3 static method documented
    • mypy.type_visitor.TypeVisitor - Visitor class for types (Type subclasses).
    • mypy.visitor.ExpressionVisitor - Undocumented
    • mypy.visitor.NodeVisitor - Empty base class for parse tree node visitors.
    • mypy.visitor.StatementVisitor - Undocumented
  • Generic[TKey, TValue]
    • mypy.checker.DisjointDict - An variation of the union-find algorithm/data structure where instead of keeping track of just disjoint sets, we keep track of disjoint dicts -- keep track of multiple Set[Key] -> Set[Value] mappings, where each mapping's keys are guaranteed to be disjoint.
  • mypy.argmap.ArgTypeExpander - Utility class for mapping actual argument types to formal arguments.
  • mypy.binder.ConditionalTypeBinder - Keep track of conditional types of variables.
  • mypy.binder.Frame - No summary
  • mypy.build.BuildManager - This class holds shared state for building a mypy program.
  • mypy.build.BuildResult - The result of a successful build.
  • mypy.build.BuildSourceSet - Efficiently test a file's membership in the set of build sources.
  • mypy.build.NodeInfo - Some info about a node in the graph of SCCs.
  • mypy.build.State - The state for a module.
  • mypy.checker.CheckerScope - No class docstring; 0/1 instance variable, 2/8 methods documented
  • mypy.checkmember.MemberContext - Information and objects needed to type check attribute access.
  • mypy.checkstrformat.ConversionSpecifier - Undocumented
  • mypy.checkstrformat.StringFormatterChecker - String interpolation/formatter type checker.
  • mypy.constraints.Constraint - A representation of a type constraint.
  • mypy.dmypy_server.Server - No class docstring; 0/9 instance variable, 17/27 methods documented
  • mypy.errorcodes.ErrorCode - Undocumented
  • mypy.errors.ErrorInfo - Representation of a single error message.
  • mypy.errors.Errors - Container for compile errors.
  • mypy.fastparse.ASTConverter - No class docstring; 0/7 instance variable, 0/2 constant, 2/84 methods documented
  • mypy.fastparse.TypeConverter - No class docstring; 0/6 instance variable, 4/28 methods documented
  • mypy.fastparse2.ASTConverter - No class docstring; 0/7 instance variable, 0/2 constant, 1/73 method documented
  • mypy.find_sources.SourceFinder - No class docstring; 0/5 instance variable, 3/7 methods documented
  • mypy.fscache.FileSystemCache - No class docstring; 0/11 instance variable, 5/15 methods documented
    • mypy.test.test_find_sources.FakeFSCache - Undocumented
  • mypy.fswatcher.FileSystemWatcher - Watcher for file system changes among specific paths.
  • mypy.gclogger.GcLogger - Context manager to log GC stats and overall time.
  • mypy.ipc.IPCBase - Base class for communication between the dmypy client and server.
    • mypy.ipc.IPCClient - The client side of an IPC connection.
    • mypy.ipc.IPCServer - Undocumented
  • mypy.join.InstanceJoiner - Undocumented
  • mypy.messages.MessageBuilder - Helper class for reporting type checker error messages with parameters.
  • mypy.metastore.MetadataStore - Generic interface for metadata storage.
    • mypy.metastore.FilesystemMetadataStore - Undocumented
    • mypy.metastore.SqliteMetadataStore - Undocumented
  • mypy.modulefinder.BuildSource - A single source file.
  • mypy.modulefinder.FindModuleCache - Module finder with integrated cache.
  • mypy.moduleinspect.ModuleInspect - Perform runtime introspection of modules in a separate process.
  • mypy.moduleinspect.ModuleProperties - Undocumented
  • mypy.nodes.Context - Base type for objects that are valid as error message locations.
    • mypy.nodes.Node - Common base class for all non-type parse tree nodes.
      • mypy.nodes.Argument - A single argument in a FuncItem.
      • mypy.nodes.Expression - An expression node.
        • mypy.nodes.AssignmentExpr - Assignment expressions in Python 3.8+, like "a := 2".
        • mypy.nodes.AwaitExpr - Await expression (await ...).
        • mypy.nodes.BackquoteExpr - Python 2 expression ....
        • mypy.nodes.BytesExpr - Bytes literal
        • mypy.nodes.CallExpr - Call expression.
        • mypy.nodes.CastExpr - Cast expression cast(type, expr).
        • mypy.nodes.ComparisonExpr - Comparison expression (e.g. a < b > c < d).
        • mypy.nodes.ComplexExpr - Complex literal
        • mypy.nodes.ConditionalExpr - Conditional expression (e.g. x if y else z)
        • mypy.nodes.DictExpr - Dictionary literal expression {key: value, ...}.
        • mypy.nodes.DictionaryComprehension - Dictionary comprehension (e.g. {k: v for k, v in a}
        • mypy.nodes.EllipsisExpr - Ellipsis (...)
        • mypy.nodes.EnumCallExpr - Named tuple expression Enum('name', 'val1 val2 ...').
        • mypy.nodes.FakeExpression - A dummy expression.
        • mypy.nodes.FloatExpr - Float literal
        • mypy.nodes.GeneratorExpr - Generator expression ... for ... in ... [ for ... in ... ] [ if ... ].
        • mypy.nodes.IndexExpr - Index expression x[y].
        • mypy.nodes.IntExpr - Integer literal
        • mypy.nodes.LambdaExpr - Lambda expression
        • mypy.nodes.ListComprehension - List comprehension (e.g. [x + 1 for x in a])
        • mypy.nodes.ListExpr - List literal expression [...].
        • mypy.nodes.NamedTupleExpr - Named tuple expression namedtuple(...) or NamedTuple(...).
        • mypy.nodes.NewTypeExpr - NewType expression NewType(...).
        • mypy.nodes.OpExpr - Binary operation (other than . or [] or comparison operators, which have specific nodes).
        • mypy.nodes.PromoteExpr - Ducktype class decorator expression _promote(...).
        • mypy.nodes.RefExpr - Abstract base class for name-like constructs
          • mypy.nodes.MemberExpr - Member access expression x.y
          • mypy.nodes.NameExpr - Name expression
        • mypy.nodes.RevealExpr - Reveal type expression reveal_type(expr) or reveal_locals() expression.
        • mypy.nodes.SetComprehension - Set comprehension (e.g. {x + 1 for x in a})
        • mypy.nodes.SetExpr - Set literal expression {value, ...}.
        • mypy.nodes.SliceExpr - Slice expression (e.g. 'x:y', 'x:', '::2' or ':').
        • mypy.nodes.StarExpr - Star expression
        • mypy.nodes.StrExpr - String literal
        • mypy.nodes.SuperExpr - Expression super().name
        • mypy.nodes.TempNode - Temporary dummy node used during type checking.
        • mypy.nodes.TupleExpr - Tuple literal expression (..., ...)
        • mypy.nodes.TypeAliasExpr - Type alias expression (rvalue).
        • mypy.nodes.TypeApplication - Type application expr[type, ...]
        • mypy.nodes.TypedDictExpr - Typed dict expression TypedDict(...).
        • mypy.nodes.TypeVarLikeExpr - Base class for TypeVarExpr and ParamSpecExpr.
          • mypy.nodes.ParamSpecExpr - Undocumented
          • mypy.nodes.TypeVarExpr - Type variable expression TypeVar(...).
        • mypy.nodes.UnaryExpr - Unary operation
        • mypy.nodes.UnicodeExpr - Unicode literal (Python 2.x)
        • mypy.nodes.YieldExpr - Undocumented
        • mypy.nodes.YieldFromExpr - Undocumented
      • mypy.nodes.FuncBase - Abstract base class for function-like nodes.
        • mypy.nodes.FuncItem - Base class for nodes usable as overloaded function items.
          • mypy.nodes.FuncDef - Function definition.
          • mypy.nodes.LambdaExpr - Lambda expression
        • mypy.nodes.OverloadedFuncDef - A logical node representing all the variants of a multi-declaration function.
      • mypy.nodes.Statement - A statement node.
        • mypy.nodes.AssertStmt - Undocumented
        • mypy.nodes.AssignmentStmt - Assignment statement.
        • mypy.nodes.Block - Undocumented
        • mypy.nodes.BreakStmt - Undocumented
        • mypy.nodes.ClassDef - Class definition
        • mypy.nodes.ContinueStmt - Undocumented
        • mypy.nodes.Decorator - A decorated function.
        • mypy.nodes.DelStmt - Undocumented
        • mypy.nodes.ExecStmt - Python 2 exec statement
        • mypy.nodes.ExpressionStmt - An expression as a statement, such as print(s).
        • mypy.nodes.ForStmt - Undocumented
        • mypy.nodes.FuncDef - Function definition.
        • mypy.nodes.GlobalDecl - Declaration global x, y, ...
        • mypy.nodes.IfStmt - Undocumented
        • mypy.nodes.ImportBase - Base class for all import statements.
          • mypy.nodes.Import - import m [as n]
          • mypy.nodes.ImportAll - from m import *
          • mypy.nodes.ImportFrom - from m import x [as y], ...
        • mypy.nodes.NonlocalDecl - Declaration nonlocal x, y, ...
        • mypy.nodes.OperatorAssignmentStmt - Operator assignment statement such as x += 1
        • mypy.nodes.OverloadedFuncDef - A logical node representing all the variants of a multi-declaration function.
        • mypy.nodes.PassStmt - Undocumented
        • mypy.nodes.PrintStmt - Python 2 print statement
        • mypy.nodes.RaiseStmt - Undocumented
        • mypy.nodes.ReturnStmt - Undocumented
        • mypy.nodes.TryStmt - Undocumented
        • mypy.nodes.WhileStmt - Undocumented
        • mypy.nodes.WithStmt - Undocumented
      • mypy.nodes.SymbolNode - Nodes that can be stored in a symbol table.
        • mypy.nodes.Decorator - A decorated function.
        • mypy.nodes.FuncDef - Function definition.
        • mypy.nodes.ImportedName - Indirect reference to a fullname stored in symbol table.
        • mypy.nodes.MypyFile - The abstract syntax tree of a single source file.
        • mypy.nodes.OverloadedFuncDef - A logical node representing all the variants of a multi-declaration function.
        • mypy.nodes.PlaceholderNode - Temporary symbol node that will later become a real SymbolNode.
        • mypy.nodes.TypeAlias - A symbol node representing a type alias.
        • mypy.nodes.TypeInfo - The type structure of a single class.
          • mypy.nodes.FakeInfo - Undocumented
        • mypy.nodes.TypeVarLikeExpr - Base class for TypeVarExpr and ParamSpecExpr.
          • mypy.nodes.ParamSpecExpr - Undocumented
          • mypy.nodes.TypeVarExpr - Type variable expression TypeVar(...).
        • mypy.nodes.Var - A variable.
    • mypy.types.Type - Abstract base class for all types.
      • mypy.types.ProperType - Not a type alias.
        • mypy.types.AnyType - The type 'Any'.
        • mypy.types.CallableArgument - Represents a Arg(type, 'name') inside a Callable's type list.
        • mypy.types.DeletedType - Type of deleted variables.
        • mypy.types.EllipsisType - The type ... (ellipsis).
        • mypy.types.ErasedType - Placeholder for an erased type.
        • mypy.types.FunctionLike - Abstract base class for function types.
          • mypy.types.CallableType - Type of a non-overloaded callable object (such as function).
          • mypy.types.Overloaded - Overloaded function type T1, ... Tn, where each Ti is CallableType.
        • mypy.types.Instance - An instance type of form C[T1, ..., Tn].
        • mypy.types.LiteralType - The type of a Literal instance. Literal[Value]
        • mypy.types.NoneType - The type of 'None'.
        • mypy.types.PartialType - Type such as List[?] where type arguments are unknown, or partial None type.
        • mypy.types.PlaceholderType - Temporary, yet-unknown type during semantic analysis.
        • mypy.types.RawExpressionType - A synthetic type representing some arbitrary expression that does not cleanly translate into a type.
        • mypy.types.StarType - The star type *type_parameter.
        • mypy.types.TupleType - The tuple type Tuple[T1, ..., Tn] (at least one type argument).
        • mypy.types.TypedDictType - Type of TypedDict object {'k1': v1, ..., 'kn': vn}.
        • mypy.types.TypeList - Information about argument types and names [...].
        • mypy.types.TypeType - For types like Type[User].
        • mypy.types.TypeVarLikeType - Undocumented
          • mypy.types.ParamSpecType - Type that refers to a ParamSpec.
          • mypy.types.TypeVarType - Type that refers to a type variable.
        • mypy.types.UnboundType - Instance type that has not been bound during semantic analysis.
        • mypy.types.UninhabitedType - This type has no members.
        • mypy.types.UnionType - The union type Union[T1, ..., Tn] (at least one type argument).
      • mypy.types.RequiredType - Required[T] or NotRequired[T]. Only usable at top-level of a TypedDict definition.
      • mypy.types.TypeAliasType - A type alias to another type.
      • mypy.types.TypeGuardedType - Only used by find_isinstance_check() etc.
  • mypy.nodes.SymbolTableNode - Description of a name binding in a symbol table.
  • mypy.options.BuildType - Undocumented
  • mypy.options.Options - Options collected from flags.
  • mypy.plugin.CheckerPluginInterface - Interface for accessing type checker functionality in plugins.
    • mypy.checker.TypeChecker - Mypy type checker.
  • mypy.plugin.CommonPluginApi - A common plugin API (shared between semantic analysis and type checking phases) that all plugin hooks get independently of the context.
    • mypy.plugin.Plugin - Base class of all type checker plugins.
      • mypy.plugin.ChainedPlugin - A plugin that represents a sequence of chained plugins.
      • mypy.plugins.default.DefaultPlugin - Type checker plugin that is enabled by default.
      • mypy.suggestions.SuggestionPlugin - Plugin that records all calls to a given target.
  • mypy.plugin.SemanticAnalyzerPluginInterface - Interface for accessing semantic analyzer functionality in plugins.
    • mypy.semanal.SemanticAnalyzer - Semantically analyze parsed mypy files.
  • mypy.plugin.TypeAnalyzerPluginInterface - Interface for accessing semantic analyzer functionality in plugins.
    • mypy.typeanal.TypeAnalyser - Semantic analyzer for types.
  • mypy.plugins.attrs.Attribute - The value of an attr.ib() call.
  • mypy.plugins.attrs.Converter - Holds information about a converter= argument
  • mypy.plugins.attrs.MethodAdder - Helper to add methods to a TypeInfo.
  • mypy.plugins.dataclasses.DataclassAttribute - No class docstring; 0/9 instance variable, 1/5 method, 0/1 class method documented
  • mypy.plugins.dataclasses.DataclassTransformer - No class docstring; 0/1 instance variable, 6/9 methods documented
  • mypy.report.AbstractReporter - Undocumented
    • mypy.report.AbstractXmlReporter - Internal abstract class for reporters that work via XML.
      • mypy.report.XmlReporter - Public reporter that exports XML.
      • mypy.report.XsltHtmlReporter - Public reporter that exports HTML via XSLT.
      • mypy.report.XsltTxtReporter - Public reporter that exports TXT via XSLT.
    • mypy.report.AnyExpressionsReporter - Report frequencies of different kinds of Any types.
    • mypy.report.CoberturaXmlReporter - Reporter for generating Cobertura compliant XML.
    • mypy.report.LineCountReporter - Undocumented
    • mypy.report.LineCoverageReporter - Exact line coverage reporter.
    • mypy.report.LinePrecisionReporter - Report per-module line counts for typing precision.
    • mypy.report.MemoryXmlReporter - Internal reporter that generates XML in memory.
  • mypy.report.FileInfo - Undocumented
  • mypy.report.Reports - Undocumented
  • mypy.scope.Scope - Track which target we are processing at any given time.
  • mypy.semanal_enum.EnumCallAnalyzer - No class docstring; 0/2 instance variable, 3/7 methods documented
  • mypy.semanal_namedtuple.NamedTupleAnalyzer - No class docstring; 0/2 instance variable, 6/10 methods documented
  • mypy.semanal_newtype.NewTypeAnalyzer - No class docstring; 0/3 instance variable, 3/7 methods documented
  • mypy.semanal_shared.SemanticAnalyzerCoreInterface - A core abstract interface to generic semantic analyzer functionality.
    • mypy.semanal_shared.SemanticAnalyzerInterface - A limited abstract interface to some generic semantic analyzer pass 2 functionality.
      • mypy.semanal.SemanticAnalyzer - Semantically analyze parsed mypy files.
  • mypy.semanal_typeddict.TypedDictAnalyzer - No class docstring; 0/3 instance variable, 5/11 methods documented
  • mypy.server.update.FineGrainedBuildManager - No class docstring; 0/12 instance variable, 6/6 methods documented
  • mypy.stubdoc.ArgSig - Signature info for a single argument.
  • mypy.stubdoc.DocStringParser - Parse function signatures in documentation.
  • mypy.stubgen.ImportTracker - Record necessary imports during stub generation.
  • mypy.stubgen.Options - Represents stubgen options.
  • mypy.stubgen.StubSource - A single source for stub: can be a Python or C module.
  • mypy.stubinfo.StubInfo - Undocumented
  • mypy.stubtest.Error - No class docstring; 0/6 instance variable, 4/4 methods documented
  • mypy.stubtest.Missing - Marker object for things that are missing (from a stub or the runtime).
  • mypy.suggestions.SuggestionEngine - Engine for finding call sites and suggesting signatures.
  • mypy.test.data.DataSuite - No class docstring; 0/4 class variable, 1/2 method documented
    • mypy.test.testcheck.TypeCheckSuite - No class docstring; 1/7 method documented
    • mypy.test.testcmdline.PythonCmdlineSuite - Undocumented
    • mypy.test.testdaemon.DaemonSuite - Undocumented
    • mypy.test.testdeps.GetDependenciesSuite - Undocumented
    • mypy.test.testdiff.ASTDiffSuite - Undocumented
    • mypy.test.testerrorstream.ErrorStreamSuite - Undocumented
    • mypy.test.testfinegrained.FineGrainedSuite - No class docstring; 0/2 class variable, 3/11 methods documented
      • mypy.test.testfinegrainedcache.FineGrainedCacheSuite - Undocumented
    • mypy.test.testmerge.ASTMergeSuite - Undocumented
    • mypy.test.testparse.ParseErrorSuite - Undocumented
    • mypy.test.testparse.ParserSuite - Undocumented
    • mypy.test.testpep561.PEP561Suite - Undocumented
    • mypy.test.testpythoneval.PythonEvaluationSuite - Undocumented
    • mypy.test.testsemanal.SemAnalErrorSuite - Undocumented
    • mypy.test.testsemanal.SemAnalSuite - Undocumented
    • mypy.test.testsemanal.SemAnalSymtableSuite - No class docstring; 0/2 class variable, 1/1 method documented
    • mypy.test.testsemanal.SemAnalTypeInfoSuite - No class docstring; 0/2 class variable, 1/1 method documented
    • mypy.test.teststubgen.StubgenPythonSuite - Data-driven end-to-end test cases that generate stub files.
    • mypy.test.testtransform.TransformSuite - Undocumented
    • mypy.test.testtypegen.TypeExportSuite - Undocumented
  • mypy.test.data.TestItem - Parsed test caseitem.
  • mypy.test.helpers.Suite
    • mypy.test.testapi.APISuite - No class docstring; 0/4 instance variable, 4/6 methods documented
    • mypy.test.testargs.ArgSuite - No class docstring; 1/2 method documented
    • mypy.test.testgraph.GraphSuite - Undocumented
    • mypy.test.testinfer.MapActualsToFormalsSuite - Test cases for argmap.map_actuals_to_formals.
    • mypy.test.testinfer.OperandComparisonGroupingSuite - Test cases for checker.group_comparison_operands.
    • mypy.test.testinfer.OperandDisjointDictSuite - Test cases for checker.DisjointDict, which is used for type inference with operands.
    • mypy.test.testmodulefinder.ModuleFinderSitePackagesSuite - Undocumented
    • mypy.test.testmodulefinder.ModuleFinderSuite - No class docstring; 0/3 instance variable, 10/15 methods documented
    • mypy.test.testreports.CoberturaReportSuite - Undocumented
    • mypy.test.testsamples.SamplesSuite - Test that we can type check some sample code.
    • mypy.test.testsolve.SolveSuite - Undocumented
    • mypy.test.testsubtypes.SubtypingSuite - Undocumented
    • mypy.test.testtypes.JoinSuite - No class docstring; 0/3 instance variable, 3/37 methods documented
    • mypy.test.testtypes.MeetSuite - No class docstring; 0/1 instance variable, 1/26 method documented
    • mypy.test.testtypes.SameTypeSuite - Undocumented
    • mypy.test.testtypes.TypeOpsSuite - No class docstring; 0/3 instance variable, 1/41 method documented
    • mypy.test.testtypes.TypesSuite - Undocumented
  • mypy.test.teststubgen.TestBaseClass - Undocumented
    • mypy.test.teststubgen.TestClass - Undocumented
  • mypy.test.teststubtest.Case - Undocumented
  • mypy.test.typefixture.TypeFixture - Helper class that is used as a fixture in type-related unit tests.
    • mypy.test.typefixture.InterfaceTypeFixture - Extension of TypeFixture that contains additional generic interface types.
  • mypy.tvar_scope.TypeVarLikeScope - Scope that holds bindings for type variables and parameter specifications.
  • mypy.types.ParamSpecFlavor - Undocumented
  • mypy.types.TypeOfAny - This class describes different types of Any. Each 'Any' can be of only one type at a time.
  • mypy.types.TypeQuery[bool]
    • mypy.checkexpr.ArgInferSecondPassQuery - Query whether an argument type should be inferred in the second pass.
    • mypy.checkexpr.HasAnyType - Undocumented
    • mypy.checkexpr.HasErasedComponentsQuery - Visitor for querying whether a type has an erased component.
    • mypy.checkexpr.HasTypeVarQuery - Visitor for querying whether a type has a type variable component.
    • mypy.checkexpr.HasUninhabitedComponentsQuery - Visitor for querying whether a type has an UninhabitedType component.
  • mypy.types.TypeTranslator
    • mypy.checker.SetNothingToAny - Replace all ambiguous <nothing> types with Any (to avoid spurious extra errors).
    • mypy.erasetype.LastKnownValueEraser - Removes the Literal[...] type that may be associated with any Instance types.
    • mypy.erasetype.TypeVarEraser - Implementation of type erasure
    • mypy.semanal.MakeAnyNonExplicit - Undocumented
    • mypy.suggestions.MakeSuggestionAny - Undocumented
    • mypy.suggestions.StrToText - Undocumented
  • mypy.types.TypeVarId - Undocumented
  • mypy.typestate.TypeState - This class provides subtype caching to improve performance of subtype checks. It also holds protocol fine grained dependencies.
  • mypy.util.FancyFormatter - Apply color and bold font to terminal output.
  • mypy.util.IdMapper - Generate integer ids for objects.
  • NodeVisitor[Node]
    • mypy.treetransform.TransformVisitor - Transform a semantically analyzed AST (or subtree) to an identical copy.
      • mypy.checker.TypeTransformVisitor - Undocumented
      • mypy.test.visitors.TypeAssertTransformVisitor - Undocumented
  • NodeVisitor[None]
    • mypy.checker.TypeChecker - Mypy type checker.
    • mypy.fixup.NodeFixer - Undocumented
    • mypy.semanal.SemanticAnalyzer - Semantically analyze parsed mypy files.
    • mypy.traverser.TraverserVisitor - A parse tree visitor that traverses the parse tree during visiting.
      • mypy.freetree.TreeFreer - Undocumented
      • mypy.mixedtraverser.MixedTraverserVisitor - Recursive traversal of both Node and Type objects.
        • mypy.semanal_typeargs.TypeArgumentAnalyzer - Undocumented
        • mypy.stubgen.ReferenceFinder - Find all name references (both local and global).
      • mypy.reachability.MarkImportsMypyOnlyVisitor - Visitor that sets is_mypy_only (which affects priority).
      • mypy.reachability.MarkImportsUnreachableVisitor - Visitor that flags all imports nested within a node as unreachable.
      • mypy.renaming.VariableRenameVisitor - Rename variables to allow redefinition of variables.
      • mypy.report.FuncCounterVisitor - Undocumented
      • mypy.report.LineCoverageVisitor - No class docstring; 0/2 instance variable, 1/3 method documented
      • mypy.semanal_pass1.SemanticAnalyzerPreAnalysis - Analyze reachability of blocks and imports and other local things.
      • mypy.server.astmerge.NodeReplaceVisitor - Transform some nodes to new identities in an AST.
      • mypy.server.aststrip.NodeStripVisitor - No class docstring; 0/4 instance variable, 3/21 methods documented
      • mypy.server.deps.DependencyVisitor - No class docstring; 0/8 instance variable, 8/50 methods documented
      • mypy.server.subexpr.SubexpressionFinder - Undocumented
      • mypy.stats.StatisticsVisitor - No class docstring; 0/24 instance variable, 2/39 methods documented
      • mypy.stubgen.DefinitionFinder - Find names of things defined at the top level of a module.
      • mypy.stubgen.SelfTraverser - Undocumented
      • mypy.stubgen.StubGenerator - Generate stub text from a mypy AST.
      • mypy.suggestions.ArgUseFinder - Visitor for finding all the types of arguments that each arg is passed to.
      • mypy.suggestions.ReturnFinder - Visitor for finding all types returned from a function.
      • mypy.test.visitors.SkippedNodeSearcher - Undocumented
      • mypy.traverser.FuncCollectorBase - Undocumented
        • mypy.traverser.ReturnCollector - Undocumented
        • mypy.traverser.YieldCollector - Undocumented
      • mypy.traverser.ReturnSeeker - Undocumented
      • mypy.traverser.YieldSeeker - Undocumented
      • mypy.treetransform.FuncMapInitializer - This traverser creates mappings from nested FuncDefs to placeholder FuncDefs.
  • NodeVisitor[str]
    • mypy.strconv.StrConv - Visitor for converting a node to a human-readable string.
    • mypy.stubgen.AliasPrinter - Visitor used to collect type aliases _and_ type variable definitions.
  • object
    • mypy.report.CoberturaPackage - Container for XML and statistics mapping python modules to Cobertura package.
  • pytest.Class
    • mypy.test.data.DataSuiteCollector - No class docstring; 1/1 method documented
  • pytest.Collector
    • mypy.test.data.DataFileCollector - Represents a single .test data driven test file.
  • pytest.Item
    • mypy.test.data.DataDrivenTestCase - Holds parsed data-driven test cases, and handles directory setup and teardown.
  • StatementVisitor[T]
    • mypy.visitor.NodeVisitor - Empty base class for parse tree node visitors.
  • SyntheticTypeVisitor[None]
    • mypy.server.astmerge.TypeReplaceVisitor - Similar to NodeReplaceVisitor, but for type objects.
    • mypy.typetraverser.TypeTraverserVisitor - Visitor that traverses all components of a type
      • mypy.messages.CollectAllInstancesQuery - Undocumented
      • mypy.mixedtraverser.MixedTraverserVisitor - Recursive traversal of both Node and Type objects.
        • mypy.semanal_typeargs.TypeArgumentAnalyzer - Undocumented
        • mypy.stubgen.ReferenceFinder - Find all name references (both local and global).
      • mypy.typeanal.InstanceFixer - Undocumented
  • SyntheticTypeVisitor[str]
    • mypy.types.TypeStrVisitor - Visitor for pretty-printing types into strings.
      • mypy.stubgen.AnnotationPrinter - Visitor used to print existing annotations in a file.
      • mypy.suggestions.TypeFormatter - Visitor used to format types
  • SyntheticTypeVisitor[T]
    • mypy.type_visitor.TypeQuery - Visitor for performing queries of types.
  • SyntheticTypeVisitor[Type]
    • mypy.typeanal.TypeAnalyser - Semantic analyzer for types.
  • TypeQuery[bool]
    • mypy.checker.NothingSeeker - Find any <nothing> types resulting from failed (ambiguous) type inference.
    • mypy.constraints.CompleteTypeVisitor - Undocumented
    • mypy.semanal.HasPlaceholders - Undocumented
    • mypy.stats.HasAnyQuery - Undocumented
      • mypy.stats.HasAnyQuery2 - Undocumented
    • mypy.typeanal.HasAnyFromUnimportedType - Undocumented
    • mypy.typeanal.HasExplicitAny - Undocumented
    • mypy.types.HasTypeVars - Undocumented
  • TypeQuery[List[AnyType]]
    • mypy.typeanal.CollectAnyTypesQuery - Undocumented
  • TypeQuery[List[Type]]
    • mypy.typeanal.CollectAllInnerTypesQuery - Undocumented
  • TypeQuery[List[TypeVarType]]
    • mypy.typeops.TypeVarExtractor - Undocumented
  • TypeQuery[TypeVarLikeList]
    • mypy.typeanal.TypeVarLikeQuery - Find TypeVar and ParamSpec references in an unbound type.
  • TypeVisitor[bool]
    • mypy.sametypes.SameTypeVisitor - Visitor for checking whether two types are the 'same' type.
    • mypy.subtypes.ProperSubtypeVisitor - Undocumented
    • mypy.subtypes.SubtypeVisitor - Undocumented
  • TypeVisitor[List[Constraint]]
    • mypy.constraints.ConstraintBuilderVisitor - Visitor class for inferring type constraints.
  • TypeVisitor[List[str]]
    • mypy.server.deps.TypeTriggersVisitor - Undocumented
  • TypeVisitor[None]
    • mypy.fixup.TypeFixer - Undocumented
  • TypeVisitor[ProperType]
    • mypy.erasetype.EraseTypeVisitor - Undocumented
    • mypy.join.TypeJoinVisitor - Implementation of the least upper bound algorithm.
    • mypy.meet.TypeMeetVisitor - Undocumented
  • TypeVisitor[Set[str]]
    • mypy.indirection.TypeIndirectionVisitor - Returns all module references within a particular type.
  • TypeVisitor[SnapshotItem]
    • mypy.server.astdiff.SnapshotTypeVisitor - Creates a read-only, self-contained snapshot of a type object.
  • TypeVisitor[T]
    • mypy.type_visitor.SyntheticTypeVisitor - A TypeVisitor that also knows how to visit synthetic AST constructs.
  • TypeVisitor[Type]
    • mypy.expandtype.ExpandTypeVisitor - Visitor that substitutes type variables with values.
    • mypy.type_visitor.TypeTranslator - Identity type transformation.
      • mypy.types.InstantiateAliasVisitor - Undocumented
      • mypy.types.UnrollAliasVisitor - Undocumented
  • typing.NamedTuple
    • mypy.infer.ArgumentInferContext - Type argument inference context.
    • mypy.message_registry.ErrorMessage - Undocumented
  • unittest.TestCase
    • mypy.test.test_find_sources.SourceFinderSuite - Undocumented
    • mypy.test.testdaemon.DaemonUtilitySuite - Unit tests for helpers
    • mypy.test.testformatter.FancyErrorFormattingTestCases - Undocumented
    • mypy.test.testfscache.TestFileSystemCache - Undocumented
    • mypy.test.testipc.IPCTests - Undocumented
    • mypy.test.testmypyc.MypycTest - Undocumented
    • mypy.test.teststubgen.ArgSigSuite - Undocumented
    • mypy.test.teststubgen.IsValidTypeSuite - Undocumented
    • mypy.test.teststubgen.ModuleInspectSuite - Undocumented
    • mypy.test.teststubgen.StubgenCliParseSuite - Undocumented
    • mypy.test.teststubgen.StubgenCmdLineSuite - Test cases for processing command-line options and finding files.
    • mypy.test.teststubgen.StubgencSuite - Unit tests for stub generation from C modules using introspection.
    • mypy.test.teststubgen.StubgenHelpersSuite - Undocumented
    • mypy.test.teststubgen.StubgenUtilSuite - Unit tests for stubgen utility functions.
    • mypy.test.teststubinfo.TestStubInfo - Undocumented
    • mypy.test.teststubtest.StubtestMiscUnit - Undocumented
    • mypy.test.teststubtest.StubtestUnit - Undocumented
    • mypy.test.testutil.TestGetTerminalSize - Undocumented
  • ValueError
    • mypy.config_parser.ConfigTOMLValueError - Undocumented
API Documentation for mypy-0.930, generated by pydoctor 22.2.2.dev0 at 2022-03-04 17:21:57.