[core] Fix PEP8 errors

Issue #125