From 10232026342159ec2ad335dbec26b0d37af47303 Mon Sep 17 00:00:00 2001 From: "Yingbo (Max) Wang" <maxwyb@gmail.com> Date: Sun, 30 Sep 2018 14:30:12 -0700 Subject: [PATCH] Update instructions on using ./tools/format.py in README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 6bb89a25ff..572b0f4818 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,12 @@ submodule. However, you need to install separately: # Format code. ./tools/format.py +Before running `./tools/format.py`, make sure you have `yapf` installed for the +current Python and `rustfmt` for Rust. They can be installed by: + + pip install yapf + rustup component add rustfmt-preview + Other useful commands: # Call ninja manually.