We follow the standard Python PEP8 style guide.
Additionally, we give the YAPF formatter the final say in formatting code.
- Please run
yapf
on all files in your changes before sending a Pull Request. - The
tools/format.sh
script will automatically determine which files have changed, and runyapf
on them. - See YAPF's FAQ for details on disabling the formatter on select portions of the source.