From 7e1321813f03084e9784f901fee892d1ef088280 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 9 May 2023 11:10:25 +0300 Subject: [PATCH] .pre-commit-config.yaml: autoupdate_schedule: quarterly, trailing-whitespace --- .pre-commit-config.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 579276f..107b05a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,6 +2,13 @@ # # SPDX-License-Identifier: CC0-1.0 # See https://pre-commit.com for more information + +ci: + # Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease + # the frequency of unnecessary PRs. + # https://github.com/pre-commit-ci/issues/issues/83 + autoupdate_schedule: quarterly + repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 @@ -14,6 +21,9 @@ repos: - id: detect-private-key - id: end-of-file-fixer - id: fix-byte-order-marker + - id: trailing-whitespace + exclude: ^LICENSES\/.*|LICENSE$ + exclude_types: [tsv, markdown] - repo: https://github.com/pre-commit/mirrors-prettier rev: "v3.0.0-alpha.9-for-vscode" hooks: