[core] grammar checker: code cleaning (pylint)