Feneric / doxypypy

A more Pythonic version of doxypy, a Doxygen filter for Python.
GNU General Public License v2.0
149 stars 49 forks source link

"cls" parameter not recognized on class methods #31

Open rmcfatter opened 8 years ago

rmcfatter commented 8 years ago

For a PEP-8 compliant class method definition:

@classmethod def sample(cls, param):

Doxygen will complain (after doxypypy filtering) that "cls" wasn't documented. This should be treated the same way that "self" is for instance methods.

I notice in sample.py that the sample classmethod definition uses "self" in place of "cls", which is a violation of PEP-8.

Feneric commented 8 years ago

Good catch.