From 1968353a95d5b93ee27dab8f610b957a9c3edfd3 Mon Sep 17 00:00:00 2001 From: tarepan Date: Sat, 16 Mar 2024 21:57:06 +0900 Subject: [PATCH] =?UTF-8?q?=E8=BF=BD=E5=8A=A0:=20`poetry=20check`=20?= =?UTF-8?q?=E3=83=95=E3=83=83=E3=82=AF=20(#1099)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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