From 5c3224b74985004edbbb3d934c2320b559e4f0a5 Mon Sep 17 00:00:00 2001 From: Antony Milne <49395058+antonymilne@users.noreply.github.com> Date: Mon, 23 Sep 2024 10:24:55 +0100 Subject: [PATCH 1/2] [Tidy] Make vale pre-commit hook run in verbose mode --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 96cbd803b..97c4eecd5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -109,6 +109,11 @@ repos: hooks: - id: vale args: [--config=.vale/.vale.ini] + # There's no way to automatically convert vale suggestions/warnings to errors, and so they won't appear at all unless + # there's an error raised. + # pre-commit's verbose mode means that suggestions and warnings are always shown even if there's no error raised. + # See https://github.com/errata-ai/vale/issues/575. + verbose: true # Configuration for https://pre-commit.ci/. ci: From 256a5966179a77397a412941aedeb1442a929778 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 09:28:24 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .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 97c4eecd5..eb11a399a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -110,7 +110,7 @@ repos: - id: vale args: [--config=.vale/.vale.ini] # There's no way to automatically convert vale suggestions/warnings to errors, and so they won't appear at all unless - # there's an error raised. + # there's an error raised. # pre-commit's verbose mode means that suggestions and warnings are always shown even if there's no error raised. # See https://github.com/errata-ai/vale/issues/575. verbose: true