Skip to content

Commit

Permalink
Ensure Poetry install after merge or checkout using pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
disrupted committed Apr 8, 2024
1 parent d63a833 commit 0a0f1b2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
repos:
- repo: local
hooks:
- id: poetry-install
name: poetry-install
description: run poetry install to install dependencies from the lock file
entry: poetry install
language: python
pass_filenames: false
stages: [post-checkout, post-merge]
always_run: true
- id: ruff-lint
name: ruff-lint
entry: ruff check
Expand Down

0 comments on commit 0a0f1b2

Please sign in to comment.