-
Notifications
You must be signed in to change notification settings - Fork 187
fix: do not pass file names with pre-commit #610
Conversation
This is the only way pydocstyle will obey its own match rules.
This change is causing pre-commit to emit a warning:
It looks like the correct spelling of the option is Is this change actually working as expected? |
Also, this appears to change the documented behavior here:
If that's changing then the documentation needs an update and possibly instructions for how to get the old behavior:
|
Should I move my comments here to a new issue? I noticed that a revert commit has been opened and closed a couple times now. |
This commit has been reverted. |
Thanks! By the way, I discovered accidentally that the underlying issue that motivated this PR might have already been addressed. Please see my comment here: |
Aha, I was still seeing the error in pre-commit because this:
gets the broken config from the 6.2.3 release. Reverting my config to 6.2.2 works around the problem. |
This is the only way pydocstyle will obey its own match rules.
Thanks for submitting a PR!
Please make sure to check for the following items:
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 addit 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
.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.