This guide is for singa devoloper who should sanitize the code before merging into the main branch.
Install cpplint for C++: pip install cpplint
Install pylint for Python: pip install pylint
For C++ code: cpplint path/to/file
For Python Code: pylint path/to/file
usage: bash tool/linting/py.sh
usage: bash tool/linting/cpp.sh
Currently the configuration are customized to respect google style. Update of configuration could be done at .pylintrc
and CPPLINT.cfg