[cli] code cleaning (pylint)