minor pylint edit