• Stars
    star
    3
  • Rank 3,963,521 (Top 79 %)
  • Language
    Python
  • License
    MIT License
  • Created over 2 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

pre-commit hook to automatically download buildifier and run it

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.0.2
    hooks:
    -   id: buildifier

run with specific buildifier version and args:

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