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

Commit

Permalink
fix: do not pass file names with pre-commit
Browse files Browse the repository at this point in the history
This is the only way pydocstyle will obey its own match rules.
  • Loading branch information
yajo committed Nov 7, 2022
1 parent a6fe422 commit 4108644
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
entry: pydocstyle
language: python
types: [python]
pass_file_names: false
1 change: 1 addition & 0 deletions docs/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ New Features
Bug Fixes

* Fix ``--match`` option to only consider filename when matching full paths (#550).
* Obey match rules in pre-commit usage (#610).

6.1.1 - May 17th, 2021
---------------------------
Expand Down

0 comments on commit 4108644

Please sign in to comment.