| Conditions | 1 |
| Total Lines | 15 |
| Code Lines | 5 |
| Lines | 15 |
| Ratio | 100 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | 1 | from abc import ABC |
|
| 12 | 1 | def __set_style(self): |
|
| 13 | """ |
||
| 14 | Sets the output format style used by SDoc. |
||
| 15 | """ |
||
| 16 | # Style for file system objects (e.g. file and directory names). |
||
| 17 | 1 | self.add_style('fso', fg='green', options=['bold']) |
|
| 18 | |||
| 19 | # Style for errors. |
||
| 20 | 1 | self.add_style('error', fg='red', options=['bold']) |
|
| 21 | |||
| 22 | # Style for SDoc notices. |
||
| 23 | 1 | self.add_style('notice', fg='yellow') |
|
| 24 | |||
| 25 | # Style for titles. |
||
| 26 | 1 | self.add_style('title', fg='yellow') |
|
| 27 | |||
| 45 |