.. index:: codingconventions
The following coding conventions are designed to ensure that the Socorro code is easy to read, hack, test, and deploy.
- Python should follow PEP 8 with 4 space indents
- PHP code follows the PEAR coding standard
- JavaScript is indented by four spaces
- :ref:`unittesting-chapter` is strongly encouraged
New checkins that are non-trivial should be reviewed by one of the core hackers. The commit message should indicate the reviewer and the issue number if applicable.
Any features that are only available to admins should be tested to ensure that only non-admin users to not have access.
Before checking in changes to the socorro python code, be sure to run the unit tests.