URL: https://github.com/freeipa/freeipa/pull/3615 Author: tiran Title: #3615: Various pylint improvements Action: opened
PR body: """ # Enable literal-comparison linter again
The literal comparison linter checks for "value is 0" or "value is ''". Related: https://pagure.io/freeipa/issue/8057
# Fix wrong use of identity operation
Strings should not be compared with the identity operation 'is' or 'is not'.
# Add new env vars to pylint plugin
The vars api.env.host_princ and smb_princ where introduced a while ago. Sometimes parallel linting complain about the attributes. Add both to the list of known members in pylint_plugins.py. Related: https://pagure.io/freeipa/issue/3999
"""
To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/3615/head:pr3615 git checkout pr3615