Skip to content

Commit d186c95

Browse files
dimblebyneersighted
authored andcommitted
provide the poetry-export pre-commit hook
1 parent bb1264c commit d186c95

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.pre-commit-hooks.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
- id: poetry-export
2+
name: poetry-export
3+
description: run poetry export to sync lock file with requirements.txt
4+
entry: poetry export
5+
language: python
6+
language_version: python3
7+
pass_filenames: false
8+
files: ^poetry.lock$
9+
args: ["-f", "requirements.txt", "-o", "requirements.txt"]

0 commit comments

Comments
 (0)