Blink Python Style Guide

Blink follows PEP-8 unless an exception is listed below. See blink/tools/blinkpy/pylintrc.

Note: We likely want to converge with Chromium style, so this style recommendation is likely to change.

Differences from PEP-8

  • Line length limit is 132

Differences from Chromium style

  • Line length limit is 132
  • Uses four-space indent
  • Uses function_name, method_name rather than FunctionName, MethodName