From d9ef5a92e585af6b9e4b1cbaacc5cb5681c8682a Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Fri, 27 Sep 2024 07:45:39 -0500 Subject: [PATCH] Update pre-commit dependencies --- .pre-commit-config.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7a8413fe5..4e52531a9 100755 --- 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=setup.cfg"] @@ -35,9 +35,14 @@ 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=setup.cfg", "--show-error-codes"] verbose: true additional_dependencies: ['types-requests'] + +# https://pre-commit.ci/#configuration +ci: + autofix_prs: false + autoupdate_schedule: monthly