Skip to content

Commit c5a8839

Browse files
Make pre-commit hook regex more precise (#285)
1 parent 8c83d26 commit c5a8839

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.pre-commit-hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
language: python
66
language_version: python3
77
pass_filenames: false
8-
files: ^poetry.lock$
8+
files: ^(.*/)?poetry\.lock$
99
args: ["-f", "requirements.txt", "-o", "requirements.txt"]

0 commit comments

Comments
 (0)