Re: [code-quality] inference ordering

2014-05-25 Thread George Schneeloch
This is my code in progress: https://github.com/bostonbusmap/docstring-inference/blob/master/docstring_inference.py Is there any faculty for type mismatches in astroid currently? I am looking to infer a return value from a function the default way, and the return value from a function's docstring,

Re: [code-quality] inference ordering

2014-05-21 Thread Sylvain Thénault
Hi George, On 16 mai 11:34, George Schneeloch wrote: > I've been working on a pylint-brain plugin to do inference based on > docstring type information. I'd like to set the order of type inference > such that, if there is a type already found it uses that, else it uses > what's in the docstring. I