From e258a0e9cd196567ec78869b76512cfc70375b4d Mon Sep 17 00:00:00 2001 From: Malte Tashiro Date: Mon, 28 Oct 2024 04:52:20 +0000 Subject: [PATCH] Bump pre-commit versions and pin pre-commit version The docformatter hook of pre-commit currently does not work with pre-commit >=v4.0.0, so pin to an old version for now. See https://github.com/PyCQA/docformatter/issues/293 --- .pre-commit-config.yaml | 4 ++-- requirements.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 00798bb..9d70403 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,12 +20,12 @@ repos: - id: docformatter args: [--in-place, --wrap-summaries, '88', --wrap-descriptions, '88'] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: double-quote-string-fixer - id: mixed-line-ending args: ['--fix', 'lf'] - repo: https://github.com/PyCQA/flake8 - rev: 7.0.0 + rev: 7.1.1 hooks: - id: flake8 diff --git a/requirements.txt b/requirements.txt index 54fbbb7..07e17b2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18,7 +18,7 @@ flatdict requests_futures autopep8 flake8 -pre-commit +pre-commit==3.8.0 PyGithub clickhouse_driver pyspark