Add codeq badge
Run autopep8
More formatting fixes
Unused import
Merge pull request #23 from matt-thomson/issue21

Add code quality to build

Closes #21