Ran
|
Jobs
5
|
Files
72
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
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
Lines | Coverage | ∆ | File |
---|---|---|---|
25 |
93.94 |
2.64% | astroid/rebuilder.py |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
3 | 1711.3 (TOXENV=py35) | 72 |
88.49 |
Travis Job 1711.3 | |
4 | 1711.4 (TOXENV=pypy) | 72 |
89.0 |
Travis Job 1711.4 | |
5 | 1711.5 (TOXENV=py36) | 72 |
89.79 |
Travis Job 1711.5 | |
6 | 1711.6 (TOXENV=py37) | 72 |
89.89 |
Travis Job 1711.6 | |
7 | 1711.7 (TOXENV=py38) | 72 |
90.15 |
Travis Job 1711.7 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|