fix python code styles