Skip to content

Need a way to avoid adding docstring for __init__Β #15

@aannara

Description

@aannara

Currently if __init__ does not have a docstring. We get this error: DCO010 docstring should be defined for a function/ method/ class, more information: https://github.com/jdkandersson/flake8-docstrings-complete#fix-dco010.

Need an ability to avoid adding docstring for __init__.

If this linter is able to detect __init__ and other dunder/magic methods, then it can be added as a new DOC rule and it can be ignored either by flake8 or by the tool itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions