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

Commit 4108644

Browse files
committed
fix: do not pass file names with pre-commit
This is the only way pydocstyle will obey its own match rules.
1 parent a6fe422 commit 4108644

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.pre-commit-hooks.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
entry: pydocstyle
55
language: python
66
types: [python]
7+
pass_file_names: false

docs/release_notes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ New Features
1818
Bug Fixes
1919

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

2223
6.1.1 - May 17th, 2021
2324
---------------------------

0 commit comments

Comments
 (0)