improve style (pylint)