From 99198e3d9d62f5e940eb706e89c14328f8e51c2f Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Mon, 30 Sep 2024 10:34:38 -0500 Subject: [PATCH 1/2] Update pre-commit dependencies --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f54a9561c0fd..40982de4eb5a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ files: ^components/omega/ repos: - repo: https://github.com/Takishima/cmake-pre-commit-hooks - rev: v1.9.5 + rev: v1.9.6 hooks: - id: clang-format # - id: clang-tidy @@ -10,7 +10,7 @@ repos: # - id: include-what-you-use - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -34,7 +34,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: 7.0.0 + rev: 7.1.1 hooks: - id: flake8 args: ["--config=components/omega/python_lint.cfg"] @@ -42,7 +42,7 @@ repos: # Can run individually with `pre-commit run mypy --all-files` - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.9.0 + rev: v1.11.2 hooks: - id: mypy args: ["--config=components/omega/python_lint.cfg", "--show-error-codes"] From 6ec101572704ce51a1aff00a350ccb169d312d04 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Mon, 30 Sep 2024 10:36:54 -0500 Subject: [PATCH 2/2] Add pre-commit ci to (hopefully) update deps monthly --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 40982de4eb5a..8179b1c351f0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -48,3 +48,9 @@ repos: args: ["--config=components/omega/python_lint.cfg", "--show-error-codes"] verbose: true additional_dependencies: ['types-requests'] + + +# https://pre-commit.ci/#configuration +ci: + autofix_prs: false + autoupdate_schedule: monthly