fixed a few flake8 warnings (mostly in tests)
Merge branch 'master' of github.com:JuhaniImberg/tmc.py
some formatting