Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

twistedchecker warns on methods of inner classes that don't have docstrings #75

Closed
glyph opened this Issue Apr 23, 2014 · 0 comments

Comments

Projects
None yet
1 participant
Owner

glyph commented Apr 23, 2014

If I do this:

def foo():
    """
    a nice docstring
    """
    blub = blub()
    @implementer(ISomePublicInterface)
    class Bar(object):
        def baz(self):
            return blub
    return Bar()

I should not need to write a docstring for Bar.baz; it's just tedious makework. Our coding standard definitely doesn't require docstrings for callbacks, and methods on inner classes are in the same category of thing.

@glyph glyph closed this in #86 Nov 30, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment