Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Add disable_skip_errors flag to ConventionChecker API #485

Merged
merged 8 commits into from
Aug 29, 2020

Conversation

plinss
Copy link
Contributor

@plinss plinss commented Jun 9, 2020

Added to ConventionChecker.check_source() and ConventionChecker.check().
This allows other systems that integrate pydocstyle,
such as flake8-docstyle, to request errors that are otherwise
skipped due to # noqa comments.

Added test for skip_errors feature in general and with this flag.

Fixes #484

Thanks for submitting a PR!

Please make sure to check for the following items:

  • Add unit tests and integration tests where applicable.
    If you've added an error code or changed an error code behavior,
    you should probably add or change a test case file under tests/test_cases/ and add
    it to the list under tests/test_definitions.py.
    If you've added or changed a command line option,
    you should probably add or change a test in tests/test_integration.py.
  • Add a line to the release notes (docs/release_notes.rst) under "Current Development Version".
    Make sure to include the PR number after you open and get one.

Please don't get discouraged as it may take a while to get a review.

Added to ConventionChecker.check_source() and ConventionChecker.check().
This allows other systems that integrate pydocstyle,
such as flake8-docstyle, to request errors that are otherwise
skipped due to # noqa comments.

Added test for skip_errors feature in general and with this flag.

Fixes PyCQA#484
@samj1912 samj1912 merged commit 779e247 into PyCQA:master Aug 29, 2020
@samj1912
Copy link
Member

Will release a new minor version tomorrow.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Add API to disable noqa support
3 participants