Product Analytics/Style guide

In order to speed code exchange and review, the Product Analytics team follows these style guides. We encourage others involved in the Wikimedia analytics ecosystem to follow them as well, or suggest other style guide we should converge with.

SQL
We follow Kickstarter's SQL style guide.

Key points:
 * Indent using 2 spaces, not tabs.
 * Write SQL keywords in all caps (e.g., ,  )
 * Variable names are lowercase, with spaces represented by underscores (e.g., not ).
 * goes at the beginning of a line, not at the end.

Python
We follow MediaWiki's Python coding conventions, which for the most part points to PEP-8.

However, we deviate by indenting with 2 spaces instead of 4.