Is there an ON coding style guide for python? My question (for now) is specifically about indentation width: must it be 4 spaces or 8 spaces wide? The .py files under usr/src/tools/onbld/Checks (for example) seem to use both. See
[indent = 8 spaces] http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/tools/onbld/Checks/Cddl.py [indent = 4 spaces] http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/tools/onbld/Checks/Keywords.py Also, should indentation use tabs or only whitespace? The code I looked at seems to use only the latter, but I thought I'd ask. Thanks, -Ravindra.
