From 04c3e69ca3c20a16cdb7d0bceb004f30e43d3ea4 Mon Sep 17 00:00:00 2001 From: Mike Hendricks Date: Tue, 4 Apr 2023 15:22:55 -0700 Subject: [PATCH] Disable pre-commit auto update Set pre-commit versions of black/flake8 to the same version used by other blur code. This way users IDE implementations can be consistent. --- .pre-commit-config.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fbe6eb4..017b682 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,18 +1,21 @@ --- +ci: + autofix_prs: false + repos: - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 22.12.0 hooks: - id: black - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + rev: 5.0.4 hooks: - id: flake8 additional_dependencies: - flake8-bugbear==22.12.6 - - pep8-naming==0.13.0 + - pep8-naming==0.13.3 - repo: https://github.com/asottile/setup-cfg-fmt rev: v2.2.0