blob: f37dd42e7aace89f8b3b3a7616b7b0076116eca1 [file] [log] [blame] [view]
Allen Robinson753a8062019-07-03 00:55:501# Blink Python Style Guide
2
3Blink follows [PEP-8](https://www.python.org/dev/peps/pep-0008/) unless an
4exception is listed below. See
5[blink/tools/blinkpy/pylintrc](https://chromium.googlesource.com/chromium/src/+/master/third_party/blink/tools/blinkpy/pylintrc).
6
7_Note: We likely want to converge with [Chromium style](python.md), so this
8style recommendation is likely to change._
9
10## Differences from PEP-8
11
12* Line length limit is 132
13
14## Differences from Chromium style
15
16* Line length limit is 132
17* Uses four-space indent
18* Uses `function_name`, `method_name` rather than `FunctionName`, `MethodName`