Ran
|
Jobs
5
|
Files
7
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
push
travis-ci-com
<a href="https://github.com/OCA/pylint-odoo/commit/<a class=hub.com/OCA/pylint-odoo/commit/27ad80ea937bf8afc85c3d719a62ea95efd4cb52">27ad80ea9<a href="https://github.com/OCA/pylint-odoo/commit/27ad80ea937bf8afc85c3d719a62ea95efd4cb52">">[ADD] context-overridden: Better using kwargs instead of dictionary (#256) More info about see docstring of the method: - https://github.com/odoo/odoo/blob/</a><a class="double-link" href="https://github.com/OCA/pylint-odoo/commit/<a class="double-link" href="https://github.com/OCA/pylint-odoo/commit/ff3064258a320e4008b3fb52a149e6751ae1e7f5">ff3064258</a>">ff3064258</a><a href="https://github.com/OCA/pylint-odoo/commit/27ad80ea937bf8afc85c3d719a62ea95efd4cb52">/odoo/models.py#L5086-L5105 Using - `self.with_context({'key': 'value'})` The original context is overridden It should be: - `self.with_context(**{'key': 'value'})` - `self.with_context(key='value')` If you need to override the full context only silent this check using: - `self.with_context({'key': 'value'}) # pylint: disable=context-overridden` In order to allow an explicit overridden
2 of 2 new or added lines in 1 file covered. (100.0%)
1486 of 1490 relevant lines covered (99.73%)
4.94 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 1060.1 (TOXENV=pylint) | 7 |
98.66 |
Travis Job 1060.1 | |
2 | 1060.2 (TOXENV=pylint) | 7 |
98.86 |
Travis Job 1060.2 | |
3 | 1060.3 (TOXENV=pylint DEPLOY="1") | 7 |
98.72 |
Travis Job 1060.3 | |
4 | 1060.4 (TOXENV=pylint) | 7 |
98.74 |
Travis Job 1060.4 | |
5 | 1060.5 (TOXENV=pylint) | 7 |
98.74 |
Travis Job 1060.5 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|