From dd9682f25bcc071115174ab511575738a39b31fb Mon Sep 17 00:00:00 2001 From: Omkar Khatavkar Date: Wed, 1 Nov 2023 17:54:30 +0530 Subject: [PATCH] enabled the precommit-ci and remove pre-commit GH action (#1016) (cherry picked from commit 7740de47e247cd4e2623402435f6756b6e330313) --- .github/workflows/pull_request.yml | 3 --- .pre-commit-config.yaml | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 7ff92f95b..468dfe1d8 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -30,9 +30,6 @@ jobs: pip install -U pip pip install -U -r requirements.txt -r requirements-optional.txt - - name: Pre Commit Checks - uses: pre-commit/action@v2.0.0 - - name: Analysis (git diff) if: failure() run: git diff diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9a5de8f8c..d3d80b961 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,8 @@ # configuration for pre-commit git hooks +ci: + autofix_prs: false # disable autofixing PRs + repos: - repo: https://github.com/psf/black rev: 23.3.0