Making sense of docstrings with Python's
tokenize module and using recursion to rewrite Python's
Last week was among the busy week at work with a release. Sadly personal goals suffered.
I did manage to put some effort into issues that were pending. Let's walk through each of them one at a time:
Lynn Root, maintainer of interrogate did give a detailed description of the issue. The approach to reaching the solution makes much more sense to me now. Based on the response wrote a simple script to check
# nodocqaon docstrings i.e do not get coverage of the particular class or function. Need to check now how to implement that on interrogate.
On reading about Recursion realized, recursive algorithms are widely used to explore and manage the file system. This reminded me about Python's
os.walk()method. Did spend some time reading the implementation though the code is well documented I am still not 100% sure how it works. I guess will learn more when I finish the script that mimics
os.walk()in some manner.
That's all for the last week. Until next week. Stay safe folks.