| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The build manager (mypy/build.py) is responsible for orchestrating a mypy run.
The main entry point is the function mypy.build.build. It is given a set of files to process and the options/flags.
The build manager does these primary things:
Assume these properties:
Now we have an SCC dependency graph that looks like this:
a → (b ↔ c) → d
Modules a and d form single-file SCCs. Modules b and c together form another SCC, since they depend on each other and form an import cycle.
Mypy will process the SCCs in this order:
(Each build will also include the builtins module and a few other stdlib modules, but we've omitted them from the above example for brevity.)
| Back | FazBrowse Home | New Git URL |