push
travis-ci
<a href="https://github.com/PyCQA/astroid/commit/<a class=hub.com/PyCQA/astroid/commit/<a class="double-link" href="https://git"><a class=hub.com/PyCQA/astroid/commit/<a class="double-link" href="https://git"><a class=hub.com/PyCQA/astroid/commit/<a class="double-link" href="https://git"><a class=hub.com/PyCQA/astroid/commit/ab9d147d71c3dff39972b7d2173aa66a616ff5b7">ab9d147d7<a href="https://github.com/PyCQA/astroid/commit/ab9d147d71c3dff39972b7d2173aa66a616ff5b7">">&lt;a href=&quot;https://github.com/PyCQA/astroid/commit/</a><a class="double-link" href="https://github.com/PyCQA/astroid/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://git">&lt;a class=</a>hub.com/PyCQA/astroid/commit/ab9d147d71c3dff39972b7d2173aa66a616ff5b7">ab9d147d7</a><a href="https://github.com/PyCQA/astroid/commit/ab9d147d71c3dff39972b7d2173aa66a616ff5b7">&lt;a href=&quot;https://github.com/PyCQA/astroid/commit/ab9d147d71c3dff39972b7d2173aa66a616ff5b7&quot;&gt;&amp;quot;&amp;gt;Allow slots added dynamically to a class</a> to still be inferred In </a><a class="double-link" href="https://github.com/PyCQA/astroid/commit/<a class="double-link" href="https://github.com/PyCQA/astroid/commit/<a class="double-link" href="https://github.com/PyCQA/astroid/commit/2aa27e9aed6ffcba4a61655e291e852ecd001549">2aa27e9ae</a>">2aa27e9ae</a>">2aa27e9ae</a><a href="https://github.com/PyCQA/astroid/commit/ab9d147d71c3dff39972b7d2173aa66a616ff5b7"> `ClassDef.igetattr` was modified to only grab the first item from the result of `getattr`, in order to avoid looking up attributes in the ancestors path when inferring attributes for a given class. This had the side effect that we&#39;d omit attribute definitions happening in the same scope, such as augmented assignments, which in turn might have affected other capabilities, such as slots inference. This commit changes the approach a bit and keeps all attributes as long as all of them</a> are from the same class (be it current or an ancestor) Close PyCQA/pylint#2334
7 of 7 new or added lines in 1 file covered. (100.0%)
7616 of 8388 relevant lines covered (90.8%)
4.47 hits per line