Partially pylint checkpassword

Actually should be reviewed