From 72f7d860e1fd989321c896713e87e54880bbdb64 Mon Sep 17 00:00:00 2001 From: tarepan Date: Fri, 1 Mar 2024 10:34:44 +0000 Subject: [PATCH] add: `poetry check` hook --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 86ef0cba9..59afb6d42 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,6 +10,12 @@ repos: types: [file, python] stages: [push] pass_filenames: false + - id: poetry-check # `pyproject.toml` と `poetry.lock` が整合する + name: poetry-check + entry: poetry check + language: python + stages: [push] + pass_filenames: false - id: poetry-export name: poetry-export entry: poetry export --without-hashes -o requirements.txt