I highly, highly recommend using Autopep8 (ignoring rule E501). It keeps your formatting consistent and helps prevent certain bugs.
I fixed a whole bunch of formatting issues and made some minor improvements to the code.
I also noticed a potential issue in AMP_cog.py at line 280 and marked it with a TODO.
The changes are all in individual commits to help with cherry-picking/noise.
Going to PR to a new branch for testing purpose. I want to look through the changes further and do testing as to not conflict with my "devtesting" branch.
I highly, highly recommend using Autopep8 (ignoring rule E501). It keeps your formatting consistent and helps prevent certain bugs.
I fixed a whole bunch of formatting issues and made some minor improvements to the code. I also noticed a potential issue in AMP_cog.py at line 280 and marked it with a TODO.
The changes are all in individual commits to help with cherry-picking/noise.