File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ def get_dependencies(target: MypyFile,
106
106
python_version : Tuple [int , int ]) -> Dict [str , Set [str ]]:
107
107
"""Get all dependencies of a node, recursively."""
108
108
visitor = DependencyVisitor (type_map , python_version )
109
- visitor .alias_deps = target .alias_deps
109
+ visitor .alias_deps = set () # target.alias_deps
110
110
target .accept (visitor )
111
111
return visitor .map
112
112
@@ -119,7 +119,7 @@ def get_dependencies_of_target(module_id: str,
119
119
"""Get dependencies of a target -- don't recursive into nested targets."""
120
120
# TODO: Add tests for this function.
121
121
visitor = DependencyVisitor (type_map , python_version )
122
- visitor .alias_deps = module_tree .alias_deps
122
+ visitor .alias_deps = set () # module_tree.alias_deps
123
123
visitor .scope .enter_file (module_id )
124
124
if isinstance (target , MypyFile ):
125
125
# Only get dependencies of the top-level of the module. Don't recurse into
You can’t perform that action at this time.
0 commit comments