File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,15 +6,23 @@ just a few small guidelines you need to follow.
66## Formatting
77
88Starlark files should be formatted by buildifier.
9+ Otherwise the Buildkite CI will yell at you about formatting/linting violations.
910We suggest using a pre-commit hook to automate this.
1011First [ install pre-commit] ( https://pre-commit.com/#installation ) ,
1112then run
1213
1314``` shell
1415pre-commit install
1516```
17+ ### Running buildifer manually
1618
17- Otherwise the Buildkite CI will yell at you about formatting/linting violations.
19+ If you choose to run buildifier manually, run the following command:
20+
21+ ``` shell
22+ $ buildifier --lint=fix --warnings=native-py -warnings=all WORKSPACE
23+ ```
24+
25+ Replace the argument "WORKSPACE" with the file that you are linting.
1826
1927## Contributor License Agreement
2028
You can’t perform that action at this time.
0 commit comments