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
- Undocumentedargparse.RawDescriptionHelpFormatter
mypy.dmypy.client.AugmentedHelpFormatter
- Undocumentedmypy.main.AugmentedHelpFormatter
- UndocumentedDict[str, SymbolTableNode]
mypy.nodes.SymbolTable
- Static representation of a namespace dictionary.Dict[str, TypeInfo]
mypy.test.testsemanal.TypeInfoMap
- Undocumentedenum.Enum
mypy.modulefinder.ModuleNotFoundReason
- Undocumentedmypy.nodes.ArgKind
- UndocumentedException
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
- Undocumentedmypy.mro.MroError
- Raised if a consistent mro cannot be determined for a class.mypy.stubutil.CantImport
- Undocumentedmypy.suggestions.SuggestionFailure
- Undocumentedmypy.util.DecodeError
- Exception raised when a file cannot be decoded due to an unknown encoding type.ExpressionVisitor[Optional[Key]]
mypy.literals._Hasher
- UndocumentedExpressionVisitor[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 documentedmypy.type_visitor.TypeVisitor
- Visitor class for types (Type subclasses).mypy.visitor.ExpressionVisitor
- Undocumentedmypy.visitor.NodeVisitor
- Empty base class for parse tree node visitors.mypy.visitor.StatementVisitor
- UndocumentedGeneric[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 summarymypy.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 documentedmypy.checkmember.MemberContext
- Information and objects needed to type check attribute access.mypy.checkstrformat.ConversionSpecifier
- Undocumentedmypy.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 documentedmypy.errorcodes.ErrorCode
- Undocumentedmypy.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 documentedmypy.fastparse.TypeConverter
- No class docstring; 0/6 instance variable, 4/28 methods documentedmypy.fastparse2.ASTConverter
- No class docstring; 0/7 instance variable, 0/2 constant, 1/73 method documentedmypy.find_sources.SourceFinder
- No class docstring; 0/5 instance variable, 3/7 methods documentedmypy.fscache.FileSystemCache
- No class docstring; 0/11 instance variable, 5/15 methods documentedmypy.test.test_find_sources.FakeFSCache
- Undocumentedmypy.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
- Undocumentedmypy.join.InstanceJoiner
- Undocumentedmypy.messages.MessageBuilder
- Helper class for reporting type checker error messages with parameters.mypy.metastore.MetadataStore
- Generic interface for metadata storage.mypy.metastore.FilesystemMetadataStore
- Undocumentedmypy.metastore.SqliteMetadataStore
- Undocumentedmypy.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
- Undocumentedmypy.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 literalmypy.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 literalmypy.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 literalmypy.nodes.GeneratorExpr
- Generator expression ... for ... in ... [ for ... in ... ] [ if ... ].mypy.nodes.IndexExpr
- Index expression x[y].mypy.nodes.IntExpr
- Integer literalmypy.nodes.LambdaExpr
- Lambda expressionmypy.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 constructsmypy.nodes.MemberExpr
- Member access expression x.ymypy.nodes.NameExpr
- Name expressionmypy.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 expressionmypy.nodes.StrExpr
- String literalmypy.nodes.SuperExpr
- Expression super().namemypy.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
- Undocumentedmypy.nodes.TypeVarExpr
- Type variable expression TypeVar(...).mypy.nodes.UnaryExpr
- Unary operationmypy.nodes.UnicodeExpr
- Unicode literal (Python 2.x)mypy.nodes.YieldExpr
- Undocumentedmypy.nodes.YieldFromExpr
- Undocumentedmypy.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 expressionmypy.nodes.OverloadedFuncDef
- A logical node representing all the variants of a multi-declaration function.mypy.nodes.Statement
- A statement node.mypy.nodes.AssertStmt
- Undocumentedmypy.nodes.AssignmentStmt
- Assignment statement.mypy.nodes.Block
- Undocumentedmypy.nodes.BreakStmt
- Undocumentedmypy.nodes.ClassDef
- Class definitionmypy.nodes.ContinueStmt
- Undocumentedmypy.nodes.Decorator
- A decorated function.mypy.nodes.DelStmt
- Undocumentedmypy.nodes.ExecStmt
- Python 2 exec statementmypy.nodes.ExpressionStmt
- An expression as a statement, such as print(s).mypy.nodes.ForStmt
- Undocumentedmypy.nodes.FuncDef
- Function definition.mypy.nodes.GlobalDecl
- Declaration global x, y, ...mypy.nodes.IfStmt
- Undocumentedmypy.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 += 1mypy.nodes.OverloadedFuncDef
- A logical node representing all the variants of a multi-declaration function.mypy.nodes.PassStmt
- Undocumentedmypy.nodes.PrintStmt
- Python 2 print statementmypy.nodes.RaiseStmt
- Undocumentedmypy.nodes.ReturnStmt
- Undocumentedmypy.nodes.TryStmt
- Undocumentedmypy.nodes.WhileStmt
- Undocumentedmypy.nodes.WithStmt
- Undocumentedmypy.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
- Undocumentedmypy.nodes.TypeVarLikeExpr
- Base class for TypeVarExpr and ParamSpecExpr.mypy.nodes.ParamSpecExpr
- Undocumentedmypy.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
- Undocumentedmypy.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
- Undocumentedmypy.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=
argumentmypy.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 documentedmypy.plugins.dataclasses.DataclassTransformer
- No class docstring; 0/1 instance variable, 6/9 methods documentedmypy.report.AbstractReporter
- Undocumentedmypy.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
- Undocumentedmypy.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
- Undocumentedmypy.report.Reports
- Undocumentedmypy.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 documentedmypy.semanal_namedtuple.NamedTupleAnalyzer
- No class docstring; 0/2 instance variable, 6/10 methods documentedmypy.semanal_newtype.NewTypeAnalyzer
- No class docstring; 0/3 instance variable, 3/7 methods documentedmypy.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 documentedmypy.server.update.FineGrainedBuildManager
- No class docstring; 0/12 instance variable, 6/6 methods documentedmypy.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
- Undocumentedmypy.stubtest.Error
- No class docstring; 0/6 instance variable, 4/4 methods documentedmypy.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 documentedmypy.test.testcheck.TypeCheckSuite
- No class docstring; 1/7 method documentedmypy.test.testcmdline.PythonCmdlineSuite
- Undocumentedmypy.test.testdaemon.DaemonSuite
- Undocumentedmypy.test.testdeps.GetDependenciesSuite
- Undocumentedmypy.test.testdiff.ASTDiffSuite
- Undocumentedmypy.test.testerrorstream.ErrorStreamSuite
- Undocumentedmypy.test.testfinegrained.FineGrainedSuite
- No class docstring; 0/2 class variable, 3/11 methods documentedmypy.test.testfinegrainedcache.FineGrainedCacheSuite
- Undocumentedmypy.test.testmerge.ASTMergeSuite
- Undocumentedmypy.test.testparse.ParseErrorSuite
- Undocumentedmypy.test.testparse.ParserSuite
- Undocumentedmypy.test.testpep561.PEP561Suite
- Undocumentedmypy.test.testpythoneval.PythonEvaluationSuite
- Undocumentedmypy.test.testsemanal.SemAnalErrorSuite
- Undocumentedmypy.test.testsemanal.SemAnalSuite
- Undocumentedmypy.test.testsemanal.SemAnalSymtableSuite
- No class docstring; 0/2 class variable, 1/1 method documentedmypy.test.testsemanal.SemAnalTypeInfoSuite
- No class docstring; 0/2 class variable, 1/1 method documentedmypy.test.teststubgen.StubgenPythonSuite
- Data-driven end-to-end test cases that generate stub files.mypy.test.testtransform.TransformSuite
- Undocumentedmypy.test.testtypegen.TypeExportSuite
- Undocumentedmypy.test.data.TestItem
- Parsed test caseitem.mypy.test.helpers.Suite
mypy.test.testapi.APISuite
- No class docstring; 0/4 instance variable, 4/6 methods documentedmypy.test.testargs.ArgSuite
- No class docstring; 1/2 method documentedmypy.test.testgraph.GraphSuite
- Undocumentedmypy.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
- Undocumentedmypy.test.testmodulefinder.ModuleFinderSuite
- No class docstring; 0/3 instance variable, 10/15 methods documentedmypy.test.testreports.CoberturaReportSuite
- Undocumentedmypy.test.testsamples.SamplesSuite
- Test that we can type check some sample code.mypy.test.testsolve.SolveSuite
- Undocumentedmypy.test.testsubtypes.SubtypingSuite
- Undocumentedmypy.test.testtypes.JoinSuite
- No class docstring; 0/3 instance variable, 3/37 methods documentedmypy.test.testtypes.MeetSuite
- No class docstring; 0/1 instance variable, 1/26 method documentedmypy.test.testtypes.SameTypeSuite
- Undocumentedmypy.test.testtypes.TypeOpsSuite
- No class docstring; 0/3 instance variable, 1/41 method documentedmypy.test.testtypes.TypesSuite
- Undocumentedmypy.test.teststubgen.TestBaseClass
- Undocumentedmypy.test.teststubgen.TestClass
- Undocumentedmypy.test.teststubtest.Case
- Undocumentedmypy.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
- Undocumentedmypy.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
- Undocumentedmypy.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 erasuremypy.semanal.MakeAnyNonExplicit
- Undocumentedmypy.suggestions.MakeSuggestionAny
- Undocumentedmypy.suggestions.StrToText
- Undocumentedmypy.types.TypeVarId
- Undocumentedmypy.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
- Undocumentedmypy.test.visitors.TypeAssertTransformVisitor
- UndocumentedNodeVisitor[None]
mypy.checker.TypeChecker
- Mypy type checker.mypy.fixup.NodeFixer
- Undocumentedmypy.semanal.SemanticAnalyzer
- Semantically analyze parsed mypy files.mypy.traverser.TraverserVisitor
- A parse tree visitor that traverses the parse tree during visiting.mypy.freetree.TreeFreer
- Undocumentedmypy.mixedtraverser.MixedTraverserVisitor
- Recursive traversal of both Node and Type objects.mypy.semanal_typeargs.TypeArgumentAnalyzer
- Undocumentedmypy.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
- Undocumentedmypy.report.LineCoverageVisitor
- No class docstring; 0/2 instance variable, 1/3 method documentedmypy.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 documentedmypy.server.deps.DependencyVisitor
- No class docstring; 0/8 instance variable, 8/50 methods documentedmypy.server.subexpr.SubexpressionFinder
- Undocumentedmypy.stats.StatisticsVisitor
- No class docstring; 0/24 instance variable, 2/39 methods documentedmypy.stubgen.DefinitionFinder
- Find names of things defined at the top level of a module.mypy.stubgen.SelfTraverser
- Undocumentedmypy.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
- Undocumentedmypy.traverser.FuncCollectorBase
- Undocumentedmypy.traverser.ReturnCollector
- Undocumentedmypy.traverser.YieldCollector
- Undocumentedmypy.traverser.ReturnSeeker
- Undocumentedmypy.traverser.YieldSeeker
- Undocumentedmypy.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 documentedpytest.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 typemypy.messages.CollectAllInstancesQuery
- Undocumentedmypy.mixedtraverser.MixedTraverserVisitor
- Recursive traversal of both Node and Type objects.mypy.semanal_typeargs.TypeArgumentAnalyzer
- Undocumentedmypy.stubgen.ReferenceFinder
- Find all name references (both local and global).mypy.typeanal.InstanceFixer
- UndocumentedSyntheticTypeVisitor[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 typesSyntheticTypeVisitor[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
- Undocumentedmypy.semanal.HasPlaceholders
- Undocumentedmypy.stats.HasAnyQuery
- Undocumentedmypy.stats.HasAnyQuery2
- Undocumentedmypy.typeanal.HasAnyFromUnimportedType
- Undocumentedmypy.typeanal.HasExplicitAny
- Undocumentedmypy.types.HasTypeVars
- UndocumentedTypeQuery[List[AnyType]]
mypy.typeanal.CollectAnyTypesQuery
- UndocumentedTypeQuery[List[Type]]
mypy.typeanal.CollectAllInnerTypesQuery
- UndocumentedTypeQuery[List[TypeVarType]]
mypy.typeops.TypeVarExtractor
- UndocumentedTypeQuery[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
- Undocumentedmypy.subtypes.SubtypeVisitor
- UndocumentedTypeVisitor[List[Constraint]]
mypy.constraints.ConstraintBuilderVisitor
- Visitor class for inferring type constraints.TypeVisitor[List[str]]
mypy.server.deps.TypeTriggersVisitor
- UndocumentedTypeVisitor[None]
mypy.fixup.TypeFixer
- UndocumentedTypeVisitor[ProperType]
mypy.erasetype.EraseTypeVisitor
- Undocumentedmypy.join.TypeJoinVisitor
- Implementation of the least upper bound algorithm.mypy.meet.TypeMeetVisitor
- UndocumentedTypeVisitor[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
- Undocumentedmypy.types.UnrollAliasVisitor
- Undocumentedtyping.NamedTuple
mypy.infer.ArgumentInferContext
- Type argument inference context.mypy.message_registry.ErrorMessage
- Undocumentedunittest.TestCase
mypy.test.test_find_sources.SourceFinderSuite
- Undocumentedmypy.test.testdaemon.DaemonUtilitySuite
- Unit tests for helpersmypy.test.testformatter.FancyErrorFormattingTestCases
- Undocumentedmypy.test.testfscache.TestFileSystemCache
- Undocumentedmypy.test.testipc.IPCTests
- Undocumentedmypy.test.testmypyc.MypycTest
- Undocumentedmypy.test.teststubgen.ArgSigSuite
- Undocumentedmypy.test.teststubgen.IsValidTypeSuite
- Undocumentedmypy.test.teststubgen.ModuleInspectSuite
- Undocumentedmypy.test.teststubgen.StubgenCliParseSuite
- Undocumentedmypy.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
- Undocumentedmypy.test.teststubgen.StubgenUtilSuite
- Unit tests for stubgen utility functions.mypy.test.teststubinfo.TestStubInfo
- Undocumentedmypy.test.teststubtest.StubtestMiscUnit
- Undocumentedmypy.test.teststubtest.StubtestUnit
- Undocumentedmypy.test.testutil.TestGetTerminalSize
- UndocumentedValueError
mypy.config_parser.ConfigTOMLValueError
- Undocumented