From b62c342434a205ef5bcde3a13b63c05fb594ce29 Mon Sep 17 00:00:00 2001 From: Sym Roe Date: Fri, 1 Dec 2023 10:54:11 +0000 Subject: [PATCH] Remove YAML formatter, add cfn-lint --- .pre-commit-config.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3a6724b..c4f10ba 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.3.0 hooks: - - id: check-yaml - id: end-of-file-fixer - id: debug-statements - id: trailing-whitespace @@ -18,3 +17,8 @@ repos: hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --extend-exclude, TCH] +- repo: https://github.com/awslabs/cfn-python-lint + rev: v0.83.3 # The version of cfn-lint to use + hooks: + - id: cfn-python-lint + files: template.yaml$