Skip to content

Commit

Permalink
Add poetry hook to pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Calomme committed Jan 16, 2024
1 parent 35567db commit 40a5c50
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ repos:
# Preserve markdown hard line breaks
args: ["--markdown-linebreak-ext", "md"]

# Run poetry checks
- repo: https://github.com/python-poetry/poetry
rev: "1.7.1"
hooks:
- id: poetry-check
args: ["--lock"]

# Import-linter to check project structure
- repo: https://github.com/seddonym/import-linter/
rev: "v2.0"
Expand Down

0 comments on commit 40a5c50

Please sign in to comment.