nixers-projects/ricerous — pull request #5 by Foggalong (2014-09-27 21:52:25+00:00)
Title: PEP 8, Organisation, and Sane Updater

This is a continuation of #4. There's a fair bit of stuff here, but the main two things are the pep8 compliance, organisation, and saner updating.

## PEP 8
I'd not actually seen the tool linked to in #2 before but was familiar with the style guides, so thought I'd give it a spin. Sure enough it makes following the style guides a breeze. Here are the changes:

* One newline at EOF
* One newline between definitions
* Two newlines between classes
* Removed trailing whitespace
* ```var=$VAR``` to ```var = $VAR```
* ```#comment``` to ```# Comment```
* ```[ item1,item2 ]``` to ```[item1, item2]```
* ```function(arg1,arg2)``` to ```function(arg1, arg2)```
* ```function(arg1 = "val1")``` to ```function(arg1="val1)```
* ```var1$OPERATORvar2``` to ```var1 $OPERATOR var2```
* ```conditional_statement :``` to ```conditional_statement:```
* Turned long lines into multi-line commands
* Correctly aligned existing multi-line commands

## Organisation
I've moved some files from the root directory which didn't need to be there:

* JSON files have been moved into ```json/```
* Python script and pad file which generate the JSON are in ```json/```
* In lieu of a better place, the class diagram is in backend

## Sane Updater

* Remove need for md5 and time modules
* Fetches files from raw-github rather than the Nixers server
* Uses comparison of time tags rather than hashes to determine most up to date file