From f3a951a45cf6d8c09de422fbc66ea3d8e290ab31 Mon Sep 17 00:00:00 2001 From: Oliver Borchert Date: Tue, 2 Apr 2024 10:32:08 +0200 Subject: [PATCH] Update pre-commit hook definition for SQLFluff v3 Companion to https://github.com/sqlfluff/sqlfluff/pull/5739 --- .pre-commit-hooks.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index b60154d..421aecf 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -1,9 +1,8 @@ - id: sqlfluff-conda name: sqlfluff-conda description: 'Fixes sql lint errors with `SQLFluff`' - # Needs to use "--force" to disable confirmation # By default all the rules are applied - entry: sqlfluff fix --force --show-lint-violations --processes 0 + entry: sqlfluff fix --show-lint-violations --processes 0 language: conda types: [sql] require_serial: true