Skip to content

Commit af0a2d4

Browse files
authored
[docs] add bazel installation step for lint checks (#1522)
1 parent 85168ce commit af0a2d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/development.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ For instructions on how to configure Visual Studio Code for developing TensorFlo
1212

1313
TensorFlow I/O's code conforms to Bazel Buildifier, Clang Format, Black, and Pyupgrade.
1414
Please use the following command to check the source code and identify lint issues:
15+
1516
```
17+
# Install Bazel version specified in .bazelversion
18+
$ curl -OL https://github.com/bazelbuild/bazel/releases/download/$(cat .bazelversion)/bazel-$(cat .bazelversion)-installer-darwin-x86_64.sh
19+
$ sudo bash -x -e bazel-$(cat .bazelversion)-installer-darwin-x86_64.sh
1620
$ bazel run //tools/lint:check
1721
```
1822

0 commit comments

Comments
 (0)