From 2ce9675b7238fb1a498f1ea4f5dae8a26d4b89ec Mon Sep 17 00:00:00 2001 From: Jirka Date: Thu, 30 May 2024 12:25:33 +0200 Subject: [PATCH 1/2] precommit: enable `validate-pyproject` --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 585b4f04d..02950db8c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,3 +21,8 @@ repos: - id: check-toml - id: check-yaml - id: check-merge-conflict + +- repo: https://github.com/abravalheri/validate-pyproject + rev: v0.16 + hooks: + - id: validate-pyproject \ No newline at end of file From 882425ded5ae210c7092b87f4ea6bc871784ae89 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 31 May 2024 07:24:47 +0200 Subject: [PATCH 2/2] Add missing newline in `prec-commit-config.yaml` Just to be sure the coming linting won't be disturbed by that. --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 02950db8c..fe966adad 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,4 +25,4 @@ repos: - repo: https://github.com/abravalheri/validate-pyproject rev: v0.16 hooks: - - id: validate-pyproject \ No newline at end of file + - id: validate-pyproject