prepare release 0.1.2 + fix flake8 issues