Skip to content

pre-commit hook to automatically download buildifier and run it

License

Notifications You must be signed in to change notification settings

SabreOSS/pre-commit-buildifier

 
 

Repository files navigation

pre-commit-buildifier

pre-commit hook which automatically downloads buildifier and runs it.

Example:

repos:
-   repo: https://github.com/warchant/pre-commit-buildifier
    rev: 0.1.1
    hooks:
    -   id: buildifier

run with specific buildifier version and args:

repos:
-   repo: https://github.com/warchant/pre-commit-buildifier
    rev: 0.1.1
    hooks:
    -   id: buildifier
        args: [--version, "v6.3.2", -mode=fix]

About

pre-commit hook to automatically download buildifier and run it

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%