| Conditions | 1 |
| Total Lines | 12 |
| Code Lines | 4 |
| Lines | 12 |
| Ratio | 100 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | from abc import ABC |
||
| 22 | def __set_style(self): |
||
| 23 | """ |
||
| 24 | Sets the output format style used by SDoc. |
||
| 25 | """ |
||
| 26 | # Style for file system objects (e.g. file and directory names). |
||
| 27 | self.set_style('fso', fg='green', options=['bold']) |
||
| 28 | |||
| 29 | # Style for errors. |
||
| 30 | self.set_style('error', fg='red', options=['bold']) |
||
| 31 | |||
| 32 | # Style for SDoc1 notices. |
||
| 33 | self.set_style('notice', fg='yellow') |
||
| 34 | |||
| 46 |