Hi all,
I've tried to run some kwalitee checks on my code, and it shows a few warnings:
$ python modules/miscutil/lib/kwalitee.py --check-docstrings
modules/webtag/lib/webtag.py
>>> Checking Python docstrings compliance...
modules/miscutil/lib/kwalitee.py:668: DeprecationWarning: os.popen3 is
deprecated. Use the subprocess module.
"--check %s" % filename)
*** modules/webtag/lib/webtag.py
Warning: Undocumented:
- webtag.CFG_SITE_LANG
- webtag.LAST_MYSQL_CHARACTER
- webtag.TAG_MAX_LENGTH
- webtag.__warningregistry__
>>> Done.
(These are nonsensical, because the uppercased variables are imported,
and __warningregistry__ is not defined.)
The real issue is that the message is completely different from what
epydoc itself returns (I copied the command line from
kwalitee.cmd_check_docstrings():
$ epydoc -v --simple-term --check modules/webtag/lib/webtag_config.py
[.........................................................................]
I don't understand how the two end up with such completely different output.
--
Victor Engmark