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

Wrong handling of ignored pydocstyle errors #86

Open
apuignav opened this issue Dec 16, 2016 · 0 comments
Open

Wrong handling of ignored pydocstyle errors #86

apuignav opened this issue Dec 16, 2016 · 0 comments

Comments

@apuignav
Copy link

apuignav commented Dec 16, 2016

Usually errors D203, D212, D213 and D404 are ignored in pydocstyle (see http://www.pydocstyle.org/en/latest/error_codes.html#default-checks). However, pylama seems to ignore this.

Using a MWE:

"""Doc."""

def func():
    """First line.

    Extra line.

    """

I see

$ pylama -lpydocstyle test.py
test.py:3:1: D213 Multi-line docstring summary should start at the second line [pydocstyle]
$ pylama -lpydocstyle --ignore=D213 test.py
$

Testing with pydocstyle directly gives

$ pydocstyle test.py
$
$ pydocstyle --select=D213 test.py
test.py:3 in public function `func`:
        D213: Multi-line docstring summary should start at the second line

Is this intended behavior?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40151744-wrong-handling-of-ignored-pydocstyle-errors?utm_campaign=plugin&utm_content=tracker%2F394650&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F394650&utm_medium=issues&utm_source=github).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant