From 88a025477f7f52a4c71e27d068ea2cc247b7f7d2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 17 Oct 2023 13:34:09 +0000 Subject: [PATCH] DX: reduce pre-commit.ci update frequency (#20) * MAINT: bundle repos with multiple hooks at config top --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Remco de Boer <29308176+redeboer@users.noreply.github.com> --- .pre-commit-config.yaml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b304805..36cd30c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,7 @@ +ci: + autoupdate_commit_msg: "MAINT: update pre-commit config file" + autoupdate_schedule: quarterly + repos: - repo: meta hooks: @@ -14,13 +18,6 @@ repos: - id: mixed-line-ending - id: trailing-whitespace - - repo: https://github.com/psf/black - rev: 23.9.1 - hooks: - - id: black-jupyter - args: [--line-length=85] - types_or: [jupyter] - - repo: https://github.com/ComPWA/repo-maintenance rev: 0.1.0 hooks: @@ -44,6 +41,13 @@ repos: - id: nbqa-pyupgrade args: [--py37-plus] + - repo: https://github.com/psf/black + rev: 23.9.1 + hooks: + - id: black-jupyter + args: [--line-length=85] + types_or: [jupyter] + - repo: https://github.com/editorconfig-checker/editorconfig-checker.python rev: 2.7.2 hooks: