From d69ab6a05db55ac9435b54b308f5b73acb2f5fd5 Mon Sep 17 00:00:00 2001 From: Vignesh Kothapalli Date: Fri, 3 Sep 2021 01:21:13 -0400 Subject: [PATCH] [docs] add bazel installation step for lint checks --- docs/development.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/development.md b/docs/development.md index 25cf6c0c9..ab1563bc9 100644 --- a/docs/development.md +++ b/docs/development.md @@ -12,7 +12,11 @@ For instructions on how to configure Visual Studio Code for developing TensorFlo TensorFlow I/O's code conforms to Bazel Buildifier, Clang Format, Black, and Pyupgrade. Please use the following command to check the source code and identify lint issues: + ``` +# Install Bazel version specified in .bazelversion +$ curl -OL https://github.com/bazelbuild/bazel/releases/download/$(cat .bazelversion)/bazel-$(cat .bazelversion)-installer-darwin-x86_64.sh +$ sudo bash -x -e bazel-$(cat .bazelversion)-installer-darwin-x86_64.sh $ bazel run //tools/lint:check ```