Enumeration of ANSI color codes for terminal output.
| 83 | |
| 84 | |
| 85 | class ANSI(Enum): |
| 86 | """Enumeration of ANSI color codes for terminal output.""" |
| 87 | |
| 88 | reset = 0 |
| 89 | bold = 1 |
| 90 | dim = 2 |
| 91 | italic = 3 |
| 92 | underline = 4 |
| 93 | invert = 7 |
| 94 | strike = 9 |
| 95 | double_underline = 21 |
| 96 | fg_black = 30 |
| 97 | fg_red = 31 |
| 98 | fg_green = 32 |
| 99 | fg_yellow = 33 |
| 100 | fg_blue = 34 |
| 101 | fg_magenta = 35 |
| 102 | fg_cyan = 36 |
| 103 | fg_white = 37 |
| 104 | bg_black = 40 |
| 105 | bg_red = 41 |
| 106 | bg_green = 42 |
| 107 | bg_yellow = 43 |
| 108 | bg_blue = 44 |
| 109 | bg_magenta = 45 |
| 110 | bg_cyan = 46 |
| 111 | bg_white = 47 |
| 112 | fg_bright_black = 90 |
| 113 | fg_bright_red = 91 |
| 114 | fg_bright_green = 92 |
| 115 | fg_bright_yellow = 93 |
| 116 | fg_bright_blue = 94 |
| 117 | fg_bright_magenta = 95 |
| 118 | fg_bright_cyan = 96 |
| 119 | fg_bright_white = 97 |
| 120 | bg_bright_black = 100 |
| 121 | bg_bright_red = 101 |
| 122 | bg_bright_green = 102 |
| 123 | bg_bright_yellow = 103 |
| 124 | bg_bright_blue = 104 |
| 125 | bg_bright_magenta = 105 |
| 126 | bg_bright_cyan = 106 |
| 127 | bg_bright_white = 107 |
| 128 | |
| 129 | |
| 130 | ANSI_INFO = ANSI.fg_bright_blue |
nothing calls this directly
no outgoing calls
no test coverage detected