From: Stephen Finucane Date: Tue, 16 Jan 2024 15:57:39 +0000 (+0000) Subject: pre-commit: Add vacuum X-Git-Tag: v3.2.0~42 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=308776e78abd8fa297dce94b006a805cbe3601b4;p=thirdparty%2Fpatchwork.git pre-commit: Add vacuum Lint our OpenAPI specs. Signed-off-by: Stephen Finucane --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fdcd4012..2114b236 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,6 +28,11 @@ repos: rev: 2.1.1 hooks: - id: bashate + - repo: https://github.com/daveshanley/vacuum + rev: v0.7.2 + hooks: + - id: vacuum + files: ^docs/api/schemas/(latest|v\d\.\d)/patchwork.yaml - repo: https://github.com/psf/black rev: 23.12.1 hooks: