I would like to find all functions that return an explicit tuple. E.g.,
...
return x, y
would be in, but
...
return {"x":x, "y":y}
would be out, so regexp searching for return .*,
would return too many false positives.
I suspect that pylint
/astroid
might do what I want, but I am open to all suggestions.
PS. There are no type annotations - I would rather have something generate them automatically, like in ocaml
.