From 89dd4adcb6885e657d674f480d8517f229605bba Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Wed, 11 Dec 2024 09:14:00 +0100 Subject: [PATCH] Improve pre-commit configuration * Python 3 is the default nowadays, no need to specify it. * Update pre-commmit less often that the "weekly" default. --- .pre-commit-config.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 929272fd..37b3802b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,10 @@ exclude: ^doc/reference/autofiles/ ci: autoupdate_commit_msg: "Update pre-commit hooks" + autoupdate_schedule: "monthly" autofix_commit_msg: "Apply pre-commit fixes" autofix_prs: false default_stages: [pre-commit, pre-push] -default_language_version: - python: python3 repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0