Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.07 KB

standards.md

File metadata and controls

33 lines (20 loc) · 1.07 KB

standards

Project and python specific standards that have been chosen and not otherwise explicitly recommended.

best practices

Where possible, follow our practices. See:

  1. django-practices

test-driven software development

Generally use Robert Martin's three laws of TDD:

  1. Only write enough of a unit test to fail.
  2. Only write production code to make a failing unit test pass.

dependencies

Where possible, minimize the number of package dependencies used to get the job done. If it's a complex task and someone else has an appropriately licensed solution which is carefully maintained and largely established, then it's a good idea.

SOLID KISS

Use SOLID design principles and keep it stupid simple.

12Factor

Generally heroku's The Twelve-Factor App guide should be followed.