Skip to content

Commit d91e44f

Browse files
committed
feat: Create pre-commit hook #2
1 parent 68ec3bc commit d91e44f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.pre-commit-config.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
repos:
2+
- repo: https://github.com/jorisroovers/gitlint
3+
rev: v0.19.1
4+
hooks:
5+
- id: gitlint
6+
7+
- repo: https://github.com/psf/black
8+
rev: 23.9.0
9+
hooks:
10+
- id: black
11+
language_version: python3.11
12+
13+
- repo: https://github.com/python-poetry/poetry
14+
rev: 1.6.0
15+
hooks:
16+
- id: poetry-check
17+
- id: poetry-lock
18+
- id: poetry-export
19+
args: ["--without-hashes", "-f", "requirements.txt", "-o", "requirements.txt"]

0 commit comments

Comments
 (0)