[core] pep8ify config.py

issue #125