Skip to content

devoteamgcloud/pre-commit-dataform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pre-commit hook for Dataform

This repository contains a pre-commit hook that allows you to automate the formatting of SQL and JS code in your Dataform project before each commit. The hook uses the dataform format command to format SQLX and JS files.

It also includes a hook that runs dataform compile before each commit to ensure that your Dataform project compiles successfully.

How to Use

- repo: https://github.com/devoteamgcloud/pre-commit-dataform
  rev: [Fill with latest release]
  hooks:
    - id: dataform_format
    - id: dataform_compile