From 70d0e8d1a4571bc650b6dda8422179967a6519dd Mon Sep 17 00:00:00 2001 From: Althea Denlinger Date: Tue, 1 Oct 2024 13:33:53 -0700 Subject: [PATCH 1/2] Update pre-commit dependencies --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2305081d39..42734632d7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,14 +4,14 @@ fail_fast: true repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer # Can run individually with `pre-commit run isort --all-files` - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort @@ -19,7 +19,7 @@ repos: # Need to use flake8 GitHub mirror due to CentOS git issue with GitLab # https://github.com/pre-commit/pre-commit/issues/1206 - repo: https://github.com/pycqa/flake8 - rev: 6.0.0 + rev: 7.1.1 hooks: - id: flake8 args: ["--config=setup.cfg"] From 50074f467496bbf71d86b1e826f114755af39f2e Mon Sep 17 00:00:00 2001 From: Althea Denlinger Date: Tue, 1 Oct 2024 13:37:59 -0700 Subject: [PATCH 2/2] Add monthly CI update --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 42734632d7..06ec144118 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,3 +24,8 @@ repos: - id: flake8 args: ["--config=setup.cfg"] additional_dependencies: [flake8-isort] + +# https://pre-commit.ci/#configuration +ci: + autofix_prs: false + autoupdate_schedule: monthly