On Sunday, January 24, 2016 at 4:34:30 PM UTC-6, Edward K. Ream wrote: > > This post introduces the stand-alone make_stub_files.py script, explaining > what it does, how it works and why it is important. >
GvR sent this reply: I really appreciate your writing this tool! We actually do have a stub > generator as part of mypy now (most of the code is in > https://github.com/JukkaL/mypy/blob/master/mypy/stubgen.py; it has a few > options) but yours has the advantage of providing a way to tune the > generated signatures based on argument conventions. This allows for a nice > iterative way of developing stubs... > I also have some wishes, e.g. I wonder if you couldn't do a better job with > the return values (maybe a pattern on the function name, or match on the > variable used for the return value as if it were an argument); and it would > be nice if it took an alternative config file on the command line. But > generally, I really appreciate your work here! > I'll be working on his suggestions soon. EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
