From 1ab6bbdce87e1a39b1f52604cc4d7690daa22c1e Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Sun, 9 Oct 2022 06:56:24 -0500 Subject: [PATCH 1/2] add pyproject validation --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bd987277c9..361a750208 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,6 +35,11 @@ repos: - id: mypy additional_dependencies: [types-requests] + - repo: https://github.com/abravalheri/validate-pyproject + rev: v0.10.1 + hooks: + - id: validate-pyproject + - repo: https://github.com/pre-commit/mirrors-prettier rev: v2.7.1 hooks: From 62bee8c7120a4f76813202dd5ddeef901bcdf98b Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Sun, 9 Oct 2022 06:56:51 -0500 Subject: [PATCH 2/2] make it a manual stage --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 361a750208..1b322d4fa4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,6 +39,7 @@ repos: rev: v0.10.1 hooks: - id: validate-pyproject + stages: [manual] - repo: https://github.com/pre-commit/mirrors-prettier rev: v2.7.1