fixed curve animation module to comply with PEP8