From 6316f330d343a19435e187cc40f36b9c43efc2c1 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Fri, 25 Sep 2026 20:47:10 +0300 Subject: [PATCH] chore: update the pre-commit hooks quarterly pre-commit.ci checks for new hook versions every week by default and opens a pull request whenever there is one, and each needs a review. Once a quarter is enough for linters and formatters, and it is what cpp-linter/cpp-linter already does. A hook can still be updated by hand with `pre-commit autoupdate` when needed. This repository had no `ci` settings, so it also gets the ones the other repositories use, which give pre-commit.ci's pull requests and commits conventional titles. --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2dbed7d0..d5d9d10b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,9 @@ +ci: + autofix_prs: true + autofix_commit_msg: 'chore: auto fixes from pre-commit.com hooks' + autoupdate_commit_msg: 'chore: pre-commit autoupdate' + autoupdate_schedule: quarterly + repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0