Some more code quality fixes

This commit is contained in:
Dave Halter committed 2020-04-11 02:23:23 +02:00
1 parent bdd4deedc1
commit 02c3d651bd
11 files changed
+10 -22

No files matched your search

-2
View File
@@ -220,8 +220,6 @@ def infer_return_types(function, arguments):
function.get_default_param_context(),
match.group(1).strip()
).execute_annotation()
if annotation is None:
return NO_VALUES
context = function.get_default_param_context()
unknown_type_vars = find_unknown_type_vars(context, annotation)