<div dir="ltr">I&#39;m trying to upgrade pylint to latest so we can enjoy latest fixes<div>like this:<br><div><a href="https://github.com/PyCQA/pylint/issues/1736">https://github.com/PyCQA/pylint/issues/1736</a><br></div><div><br></div><div>Now we have some new errors, please check.</div><div><br></div><div><pre class="inbox-inbox-console-output" style="box-sizing:border-box;white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px;color:rgb(51,51,51);font-size:14px"><span style="box-sizing:border-box;color:rgb(255,255,255)"><span style="box-sizing:border-box;background-color:rgb(205,205,0)">************* Module vdsm.clientIF</span></span>
<span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.857</b> </span><b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">E</span></b>:588,16: <b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">Possible unbalanced tuple unpacking with sequence: left side has 2 label(s), right side has 0 value(s)</span></b> (<b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">unbalanced-tuple-unpacking</span></b>)</pre><pre class="inbox-inbox-console-output" style="box-sizing:border-box;white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px;color:rgb(51,51,51);font-size:14px"><br></pre><pre class="inbox-inbox-console-output" style="box-sizing:border-box;word-wrap:break-word;margin-top:0px;margin-bottom:0px"><font color="#333333"><span style="font-size:14px;white-space:pre-wrap">587             if eventid == libvirt.VIR_DOMAIN_EVENT_ID_LIFECYCLE:
588                 event, detail = args[:-1]                                                                                                                                                 
589                 v.onLibvirtLifecycleEvent(event, detail, None)</span></font><span style="color:rgb(51,51,51);font-size:14px;white-space:pre-wrap">
</span></pre><div><br></div><div>Code is indeed incorrect, should be:</div><div><br></div><div>    <span style="font-size:14px;white-space:pre-wrap;color:rgb(51,51,51)">event, detail = args[:2] </span></div><pre class="inbox-inbox-console-output" style="box-sizing:border-box;white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px;color:rgb(51,51,51);font-size:14px"><span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box"><br></b></span></pre><pre class="inbox-inbox-console-output" style="box-sizing:border-box;white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px;color:rgb(51,51,51);font-size:14px"><span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.859</b> </span><b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">E</span></b>:593,16: <b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">Possible unbalanced tuple unpacking with sequence: left side has 1 label(s), right side has 0 value(s)</span></b> (<b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">unbalanced-tuple-unpacking</span></b>)
<span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.861</b> </span><b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">E</span></b>:596,16: <b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">Possible unbalanced tuple unpacking with sequence: left side has 4 label(s), right side has 0 value(s)</span></b> (<b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">unbalanced-tuple-unpacking</span></b>)
<span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.863</b> </span><b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">E</span></b>:599,16: <b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">Possible unbalanced tuple unpacking with sequence: left side has 5 label(s), right side has 0 value(s)</span></b> (<b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">unbalanced-tuple-unpacking</span></b>)
<span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.867</b> </span><b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">E</span></b>:610,16: <b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">Possible unbalanced tuple unpacking with sequence: left side has 1 label(s), right side has 0 value(s)</span></b> (<b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">unbalanced-tuple-unpacking</span></b>)
<span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.869</b> </span><b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">E</span></b>:615,16: <b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">Possible unbalanced tuple unpacking with sequence: left side has 1 label(s), right side has 0 value(s)</span></b> (<b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">unbalanced-tuple-unpacking</span></b>)
<span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.872</b> </span><b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">E</span></b>:618,16: <b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">Possible unbalanced tuple unpacking with sequence: left side has 4 label(s), right side has 0 value(s)</span></b> (<b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">unbalanced-tuple-unpacking</span></b>)
<span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.873</b> </span><span style="box-sizing:border-box;background-color:currentcolor"><span style="box-sizing:border-box;color:rgb(255,255,255)"></span></span><span style="box-sizing:border-box;color:rgb(255,255,255)"><span style="box-sizing:border-box;background-color:rgb(205,205,0)">************* Module vdsm.v2v</span></span>
<span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.874</b> </span><b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">E</span></b>:1368,27: <b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">Instance of &#39;closing&#39; has no &#39;read&#39; member</span></b> (<b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">no-member</span></b>)
<span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.876</b> </span><span style="box-sizing:border-box;background-color:currentcolor"><span style="box-sizing:border-box;color:rgb(255,255,255)"></span></span><span style="box-sizing:border-box;color:rgb(255,255,255)"><span style="box-sizing:border-box;background-color:rgb(205,205,0)">************* Module vdsm.tool.configurator</span></span>
<span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.878</b> </span><b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">E</span></b>:118,12: <b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">No value for argument &#39;action&#39; in function call</span></b> (<b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">no-value-for-parameter</span></b>)
<span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.880</b> </span><b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">E</span></b>:158,12: <b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">No value for argument &#39;action&#39; in function call</span></b> (<b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">no-value-for-parameter</span></b>)
<span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.881</b> </span><b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">E</span></b>:193,12: <b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">No value for argument &#39;action&#39; in function call</span></b> (<b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">no-value-for-parameter</span></b>)
<span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.883</b> </span><b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">E</span></b>:215,12: <b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">No value for argument &#39;action&#39; in function call</span></b> (<b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">no-value-for-parameter</span></b>)
<span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.885</b> </span><span style="box-sizing:border-box;background-color:currentcolor"><span style="box-sizing:border-box;color:rgb(255,255,255)"></span></span><span style="box-sizing:border-box;color:rgb(255,255,255)"><span style="box-sizing:border-box;background-color:rgb(205,205,0)">************* Module vdsm.virt.vm_migrate_hook</span></span>
<span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.886</b> </span><b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">E</span></b>:199, 4: <b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">No value for argument &#39;domain&#39; in function call</span></b> (<b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">no-value-for-parameter</span></b>)
<span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.888</b> </span><b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">E</span></b>:199, 4: <b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">No value for argument &#39;event&#39; in function call</span></b> (<b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">no-value-for-parameter</span></b>)
<span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.890</b> </span><b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">E</span></b>:199, 4: <b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">No value for argument &#39;phase&#39; in function call</span></b> (<b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">no-value-for-parameter</span></b>)
<span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.892</b> </span><span style="box-sizing:border-box;background-color:currentcolor"><span style="box-sizing:border-box;color:rgb(255,255,255)"></span></span><span style="box-sizing:border-box;color:rgb(255,255,255)"><span style="box-sizing:border-box;background-color:rgb(205,205,0)">************* Module vdsm.network.netlink.monitor</span></span>
<span class="inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:06:53.893</b> </span><b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">E</span></b>:172,58: <b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">Instance of &#39;closing&#39; has no &#39;poll&#39; member</span></b> (<b style="box-sizing:border-box"><span style="box-sizing:border-box;color:rgb(205,0,0)">no-member</span></b>)</pre></div></div></div>