From e53a586d058b20be75035a17f2092d4f51333df8 Mon Sep 17 00:00:00 2001 From: Salomon Popp Date: Mon, 8 Apr 2024 10:56:32 +0200 Subject: [PATCH] Ensure Poetry check using pre-commit --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8fa2458..bd342fe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,6 +2,13 @@ repos: - repo: local hooks: + - id: poetry-check + name: poetry-check + description: run poetry check to validate config + entry: poetry check + language: python + pass_filenames: false + files: ^(.*/)?pyproject\.toml$ - id: ruff-lint name: ruff-lint entry: ruff check