| Conditions | 1 |
| Total Lines | 14 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | from typing import Union |
||
| 13 | def __init__(self, input_object: Input, output_object: Output) -> None: |
||
| 14 | """ |
||
| 15 | Object constructor. |
||
| 16 | 1 | ||
| 17 | :param Input input_object: The input object. |
||
| 18 | :param Output output_object: The output object. |
||
| 19 | """ |
||
| 20 | CleoStyle.__init__(self, input_object, output_object) |
||
| 21 | |||
| 22 | # Create style notes. |
||
| 23 | 1 | output_object.get_formatter().add_style('note', 'yellow', None, ['bold']) |
|
| 24 | |||
| 25 | # Create style for file and directory names. |
||
| 26 | 1 | output_object.get_formatter().add_style('fso', 'white', None, ['bold']) |
|
| 27 | |||
| 39 |