Skip to content

concur1/sqruff-pre-commit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sqruff-pre-commit

A pre-commit hook for Sqruff.

Using sqruff with pre-commit

To run Sqruff's linter and formatter via pre-commit, add the following to your .pre-commit-config.yaml:

repos:
- repo: https://github.com/concur1/sqruff-pre-commit
  # Ruff version.
  rev: v0.26.4
  hooks:
    # Run the formatter.
    - id: sqruff-fix
    # Run the linter.
    - id: sqruff-lint

About

A pre-commit hook for sqruff.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages