Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False positive for missing class docstring #3301

Closed
pchanial opened this issue Dec 10, 2019 · 0 comments
Closed

False positive for missing class docstring #3301

pchanial opened this issue Dec 10, 2019 · 0 comments
Labels
Bug 🪲 Good first issue Friendly and approachable by new contributors

Comments

@pchanial
Copy link

pchanial commented Dec 10, 2019

Steps to reproduce

class A:
    """The docstring for class A."""

class B(A):
    __doc__ = A.__doc__

Current behavior

Class B triggers: C0115: Missing class docstring (missing-class-docstring)

Expected behavior

No reporting

pylint --version output

pylint 2.3.1
astroid 2.2.5
Python 3.7.3 (default, Mar 27 2019, 22:11:17)
[GCC 7.3.0]

@PCManticore PCManticore added Bug 🪲 Good first issue Friendly and approachable by new contributors labels Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🪲 Good first issue Friendly and approachable by new contributors
Projects
None yet
Development

No branches or pull requests

2 participants