From 24eaed269c4de6e1cce5d744f3910812778aed84 Mon Sep 17 00:00:00 2001 From: Keith Stevens Date: Mon, 26 Dec 2022 13:57:03 +0900 Subject: [PATCH] Adding description for why skipping some copilot yaml files --- .pre-commit-config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c388cc43..cc858eea 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,6 +10,10 @@ repos: - id: trailing-whitespace - id: check-ast - id: check-yaml + # Always check YAML but skip a few YAML files that are auto-generated + # and which break the standard YAML check. The alternative would be to + # skip any unsafe errors (and thus break YAML compatibility) or use + # some other checker that may not work in general. exclude: copilot/web/addons/* - id: check-json - id: check-case-conflict