Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 37424d1

Browse files
gvanrossumddfisher
authored andcommitted
Log mypy version instead of fixed string "Using new dependency manager". (#1880)
1 parent 774d6f4 commit 37424d1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

mypy/build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
from mypy.options import Options
3939
from mypy.parse import parse
4040
from mypy.stats import dump_type_stats
41+
from mypy.version import __version__
4142

4243

4344
# We need to know the location of this file to load data, but
@@ -1332,7 +1333,7 @@ def write_cache(self) -> None:
13321333

13331334

13341335
def dispatch(sources: List[BuildSource], manager: BuildManager) -> None:
1335-
manager.log("Using new dependency manager")
1336+
manager.log("Mypy version %s" % __version__)
13361337
graph = load_graph(sources, manager)
13371338
manager.log("Loaded graph with %d nodes" % len(graph))
13381339
process_graph(graph, manager)

0 commit comments

Comments
 (0)