This is some initial reformatting of the code (removing/adding whitespace) and general readability enhancements. Please test this as I haven't had time to set up my test environment (or know what I'd be testing for yet). These are mostly stylistic changes, though there were a few instances where I moved a global to the top of a function, and prefixed some lines with TODO: (one TODO I wasn't certain of, so I put a (?) after it).
I realize the diff makes this look like a lot of changes, but it really is like 99% whitespace.
Please let me know if there are any style conventions you think we should be following. It seemed like most of the codebase followed the 4 spaces per indent rule, so I went with that.
This is some initial reformatting of the code (removing/adding whitespace) and general readability enhancements. Please test this as I haven't had time to set up my test environment (or know what I'd be testing for yet). These are mostly stylistic changes, though there were a few instances where I moved a global to the top of a function, and prefixed some lines with
TODO:
(oneTODO
I wasn't certain of, so I put a(?)
after it).I realize the diff makes this look like a lot of changes, but it really is like 99% whitespace.
Please let me know if there are any style conventions you think we should be following. It seemed like most of the codebase followed the 4 spaces per indent rule, so I went with that.