While I was working in the code, I noticed that there were some PEP8 compliance issues. The main culprits are:
Callback functions (onAnyStop, etc.). These should be using snake_case rather than camelCase.
Constants at the top of the file (mpgcodes, etc.). These should have undercase characters between words.
That's it as far as I can tell. I'll submit a PR in a bit to fix this, it's probably better to deal with it now rather than later when the code becomes bigger.
While I was working in the code, I noticed that there were some PEP8 compliance issues. The main culprits are:
onAnyStop
, etc.). These should be usingsnake_case
rather thancamelCase
.mpgcodes
, etc.). These should have undercase characters between words.That's it as far as I can tell. I'll submit a PR in a bit to fix this, it's probably better to deal with it now rather than later when the code becomes bigger.