-
pip install requests pyline yapf
-
clang-format: Compatible with
clang-format-3.8 - 6.0
- Ubuntu:
sudo apt install clang-format-${VERSION}
- macOS:
brew install clang-format ln -s /usr/local/share/clang/clang-format-diff.py /usr/local/bin/clang-format-diff
cd SparkVIO
git submodule update --init
echo "source $(realpath ./dev_tools/linter/setup_linter.sh)" >> ~/.bashrc
# Or the matching file for your shell
bash
Finally, initialize linter:
cd SparkVIO
init_linter_git_hooks
For more information about the linter, check here.
Go back to Readme.