[graphspell] code cleaning (pylint)