pylint37 recreate: .tox/pylint37 pylint37 installdeps: ipaclient[csrgen,otptoken_yubikey], ipaplatform, custodia, dbus-python, dogtag-pki, jwcrypto, lxml, netaddr, python-augeas, python-dateutil, git+https://github.com/PyCQA/astroid, git+https://github.com/PyCQA/pylint pylint37 installed: asn1crypto==0.24.0,astroid==2.0.0.dev4,certifi==2018.4.16,cffi==1.11.5,chardet==3.0.4,cryptography==2.2.2,custodia==0.6.0,dbus-python==1.2.8,decorator==4.3.0,dnspython==1.15.0,dogtag-pki==10.3.5.1,gssapi==1.5.0,idna==2.7,ipaclient==4.6.90rc2.dev201807110822+gitf7818ff38,ipalib==4.6.90rc2.dev201807110822+gitf7818ff38,ipaplatform==4.6.90rc2.dev201807110822+gitf7818ff38,ipapython==4.6.90rc2.dev201807110822+gitf7818ff38,isort==4.3.4,Jinja2==2.10,jwcrypto==0.5.0,lazy-object-proxy==1.3.1,lxml==4.2.3,MarkupSafe==1.0,mccabe==0.6.1,netaddr==0.7.19,netifaces==0.10.7,pyasn1==0.4.3,pyasn1-modules==0.2.2,pycparser==2.18,pylint==2.0.0.dev2,python-augeas==1.0.3,python-dateutil==2.7.3,python-ldap==3.1.0,python-nss==1.0.1,python-yubico==1.3.2,pyusb==1.0.2,qrcode==6.0,requests==2.19.1,six==1.11.0,urllib3==1.23,wrapt==1.10.11 pylint37 runtests: PYTHONHASHSEED='1750150498' pylint37 runtests: commands[0] | .tox/pylint37/bin/python -m pylint --rcfile=pylintrc --load-plugins pylint_plugins --output-format=text ipaserver ipaclient ipalib ipapython ipaplatform ************* Module ipaserver.dcerpc ipaserver/dcerpc.py:1733: [C0330(bad-continuation), ] Wrong hanging indentation. ) | | ^) ipaserver/dcerpc.py:71: [C0414(useless-import-alias), ] Import alias does not rename original package) ************* Module ipaserver.plugins.automember ipaserver/plugins/automember.py:454: [R1715(consider-using-get), automember_remove_condition.pre_callback] Consider using dict.get for getting values from a dict if a key is present or a default if not) ************* Module ipaserver.p11helper ipaserver/p11helper.py:477: [E0705(try-except-raise), loadLibrary] The except handler raises immediately) ************* Module ipaserver.plugins.role ipaserver/plugins/role.py:250: [C0330(bad-continuation), ] Wrong continued indentation. ), ^ ||) ************* Module ipaserver.plugins.permission ipaserver/plugins/permission.py:1302: [R1715(consider-using-get), permission_find.post_callback] Consider using dict.get for getting values from a dict if a key is present or a default if not) ************* Module ipaserver.plugins.krbtpolicy ipaserver/plugins/krbtpolicy.py:229: [W1655(dict-keys-not-iterating), krbtpolicy_reset.execute] dict.keys referenced when not iterating) ipaserver/plugins/krbtpolicy.py:229: [W1655(dict-keys-not-iterating), krbtpolicy_reset.execute] dict.keys referenced when not iterating) ************* Module ipaserver.plugins.user ipaserver/plugins/user.py:836: [W1662(comprehension-escape), user_find.post_callback] Using a variable that was bound inside a comprehension) ************* Module ipaserver.plugins.privilege ipaserver/plugins/privilege.py:248: [C0330(bad-continuation), ] Wrong continued indentation. ), ^ ||) ************* Module ipaserver.plugins.dogtag ipaserver/plugins/dogtag.py:342: [R1714(consider-using-in), parse_and_set_boolean_xml] Consider merging these comparisons with "in" to "value in ('true', 'yes')") ipaserver/plugins/dogtag.py:344: [R1714(consider-using-in), parse_and_set_boolean_xml] Consider merging these comparisons with "in" to "value in ('false', 'no')") ************* Module ipaserver.plugins.pwpolicy ipaserver/plugins/pwpolicy.py:390: [W1113(keyword-arg-before-vararg), pwpolicy.validate_lifetime] Keyword argument before variable positional arguments list in the definition of validate_lifetime function) ************* Module ipaserver.plugins.baseldap ipaserver/plugins/baseldap.py:1076: [R1718(consider-using-set-comprehension), BaseLDAPCommand.process_attr_options] Consider using a set comprehension) ipaserver/plugins/baseldap.py:2346: [W0715(raising-format-tuple), BaseLDAPModAttribute._update_attrs] Exception arguments suggest string formatting might be intended) ************* Module ipaserver.plugins.cert ipaserver/plugins/cert.py:1695: [R1716(chained-comparison), cert_find.execute] Simplify chained comparison between the operands) ************* Module ipaserver.plugins.dns ipaserver/plugins/dns.py:691: [W1113(keyword-arg-before-vararg), DNSRecord.__init__] Keyword argument before variable positional arguments list in the definition of __init__ function) ************* Module ipaserver.install.installutils ipaserver/install/installutils.py:212: [R1714(consider-using-in), verify_fqdn] Consider merging these comparisons with "in" to "address in ('127.0.0.1', '::1')") ************* Module ipaserver.dnssec.bindmgr ipaserver/dnssec/bindmgr.py:93: [R1714(consider-using-in), BINDMgr.ldap_event] Consider merging these comparisons with "in" to "op in ('add', 'del', 'mod')") ************* Module ipaserver.dnssec.odsmgr ipaserver/dnssec/odsmgr.py:109: [R1714(consider-using-in), LDAPZoneListReader.process_ipa_zone] Consider merging these comparisons with "in" to "op in ('add', 'del')") ipaserver/dnssec/odsmgr.py:180: [R1714(consider-using-in), ODSMgr.ldap_event] Consider merging these comparisons with "in" to "op in ('add', 'del')") ************* Module ipaserver.install.server.replicainstall ipaserver/install/server/replicainstall.py:875: [W1306(missing-format-attribute), install_check] Missing format attribute 'host' in format specifier 'env.host') ipaserver/install/server/replicainstall.py:1121: [W1306(missing-format-attribute), promote_check] Missing format attribute 'host' in format specifier 'env.host') ************* Module ipaclient.plugins.automember ipaclient/plugins/automember.py:34: [C0330(bad-continuation), ] Wrong continued indentation. ), ^ ||) ************* Module ipaclient.plugins.vault ipaclient/plugins/vault.py:673: [E0705(try-except-raise), ModVaultData._do_internal] The except handler raises immediately) ************* Module ipaclient.install.client ipaclient/install/client.py:2084: [R1714(consider-using-in), install_check] Consider merging these comparisons with "in" to "hostname in ('localhost', 'localhost.localdomain')") ************* Module ipalib.aci ipalib/aci.py:116: [R1714(consider-using-in), ACI._parse_target] Consider merging these comparisons with "in" to "operator not in ('=', '!=')") ipalib/aci.py:119: [R1714(consider-using-in), ACI._parse_target] Consider merging these comparisons with "in" to "operator not in ('=', '!=')") ************* Module ipalib.backend ipalib/backend.py:142: [E0705(try-except-raise), Executioner.execute] The except handler raises immediately) ************* Module ipalib.cli ipalib/cli.py:679: [R1716(chained-comparison), textui.select_entry] Simplify chained comparison between the operands) ************* Module ipapython.graph ipapython/graph.py:58: [R1714(consider-using-in), Graph.remove_vertex] Consider merging these comparisons with "in" to 'vertex not in (e[0], e[1])') ************* Module ipapython.admintool ipapython/admintool.py:179: [E1111(assignment-from-no-return), AdminTool.execute] Assigning to function call which doesn't return) ************* Module ipalib.rpc ipalib/rpc.py:1074: [E0705(try-except-raise), RPCClient.create_connection] The except handler raises immediately) ************* Module ipapython.install.util ipapython/install/util.py:86: [C0204(bad-mcs-classmethod-argument), InnerClassMeta.__new__] Metaclass class method __new__ should have 'cls' as first argument) ************* Module ipapython.install.common ipapython/install/common.py:37: [E1111(assignment-from-no-return), Installable._get_components] Assigning to function call which doesn't return) ************* Module ipapython.install.core ipapython/install/core.py:313: [E0705(try-except-raise), Configurable.__init__] The except handler raises immediately) ipapython/install/core.py:332: [E1111(assignment-from-no-return), Configurable._reset] Assigning to function call which doesn't return) ipapython/install/core.py:493: [E1111(assignment-from-no-return), ComponentBase.group] Assigning to function call which doesn't return) ************* Module ipapython.ipautil ipapython/ipautil.py:516: [W1509(subprocess-popen-preexec-fn), run] Using preexec_fn keyword which may be unsafe in the presence of threads) ************* Module ipaplatform.base.services ipaplatform/base/services.py:370: [C0113(unneeded-not), SystemdService.is_installed] Consider changing "not self.service_instance('') in svar" to "self.service_instance('') not in svar") ************* Module ipapython.ipaldap ipapython/ipaldap.py:211: [E0705(try-except-raise), SchemaCache._retrieve_schema_from_server] The except handler raises immediately) ----------------------------------- Your code has been rated at 9.99/10 ERROR: InvocationError: '.tox/pylint37/bin/python -m pylint --rcfile=pylintrc --load-plugins pylint_plugins --output-format=text ipaserver ipaclient ipalib ipapython ipaplatform' ___________________________________ summary ____________________________________ ERROR: pylint37: commands failed