| Conditions | 1 |
| Total Lines | 20 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | """ |
||
| 18 | 1 | def __init__(self, io, config): |
|
|
1 ignored issue
–
show
|
|||
| 19 | """ |
||
| 20 | Object constructor. |
||
| 21 | |||
| 22 | :param cleo.styles.output_style.OutputStyle io: The IO object. |
||
| 23 | :param configparser.SectionProxy config: The section in the config file for the target_format. |
||
| 24 | """ |
||
| 25 | 1 | self._io = io |
|
| 26 | """ |
||
| 27 | The IO object. |
||
| 28 | |||
| 29 | :type: cleo.styles.output_style.OutputStyle |
||
| 30 | """ |
||
| 31 | |||
| 32 | 1 | self._errors = 0 |
|
| 33 | 1 | """ |
|
| 34 | The error count. |
||
| 35 | |||
| 36 | :type: int |
||
| 37 | """ |
||
| 38 | |||
| 60 |
Abstract classes which are used only once can usually be inlined into the class which already uses this abstract class.