From b98974234046d4bfcfb5b94af1c555f97e1c1117 Mon Sep 17 00:00:00 2001 From: Althea Denlinger Date: Tue, 1 Oct 2024 13:55:29 -0700 Subject: [PATCH 1/2] Update pre-commit dependencies --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 551e4227..4387b733 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,20 +4,20 @@ 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 # Can run individually with `flynt [file]` or `flynt [source]` - repo: https://github.com/ikamensh/flynt - rev: '0.78' + rev: '1.0.1' hooks: - id: flynt args: ["--fail-on-change", "--verbose"] @@ -27,7 +27,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=.flake8"] @@ -35,7 +35,7 @@ repos: # Can run individually with `pre-commit run mypy --all-files` - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.991 + rev: v1.11.2 hooks: - id: mypy args: ["--config=pyproject.toml", "--show-error-codes"] From 4c5cac2130f20b00bb5b341227c0ed1654730d72 Mon Sep 17 00:00:00 2001 From: Althea Denlinger Date: Tue, 1 Oct 2024 13:56:02 -0700 Subject: [PATCH 2/2] Add CI auto-update --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4387b733..03c4e3f2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,3 +41,8 @@ repos: args: ["--config=pyproject.toml", "--show-error-codes"] verbose: true additional_dependencies: ['types-requests', 'types-PyYAML'] + +# https://pre-commit.ci/#configuration +ci: + autofix_prs: false + autoupdate_schedule: monthly