Skip to content

Commit

Permalink
ci: update sqlfluff hook to only run on single file
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Sep 21, 2024
1 parent 8cc7663 commit a133806
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ repos:
rev: 3.1.0
hooks:
- id: sqlfluff-lint
files: ^fmtm_splitter/.*\.sql$
files: ^fmtm_splitter/fmtm_algorithm.sql
# files: ^fmtm_splitter/.*\.sql$
types: [sql]
- id: sqlfluff-fix
files: ^fmtm_splitter/.*\.sql$
files: ^fmtm_splitter/fmtm_algorithm.sql
# files: ^fmtm_splitter/.*\.sql$
types: [sql]

# Autoformat: YAML, JSON, Markdown, etc.
Expand Down

0 comments on commit a133806

Please sign in to comment.