Terminal color definitions
| 42 | |
| 43 | # ANSI color codes |
| 44 | class Colors: |
| 45 | """Terminal color definitions""" |
| 46 | |
| 47 | RESET = "\033[0m" |
| 48 | BOLD = "\033[1m" |
| 49 | DIM = "\033[2m" |
| 50 | |
| 51 | # Foreground colors |
| 52 | BLACK = "\033[30m" |
| 53 | RED = "\033[31m" |
| 54 | GREEN = "\033[32m" |
| 55 | YELLOW = "\033[33m" |
| 56 | BLUE = "\033[34m" |
| 57 | MAGENTA = "\033[35m" |
| 58 | CYAN = "\033[36m" |
| 59 | WHITE = "\033[37m" |
| 60 | |
| 61 | # Bright colors |
| 62 | BRIGHT_BLACK = "\033[90m" |
| 63 | BRIGHT_RED = "\033[91m" |
| 64 | BRIGHT_GREEN = "\033[92m" |
| 65 | BRIGHT_YELLOW = "\033[93m" |
| 66 | BRIGHT_BLUE = "\033[94m" |
| 67 | BRIGHT_MAGENTA = "\033[95m" |
| 68 | BRIGHT_CYAN = "\033[96m" |
| 69 | BRIGHT_WHITE = "\033[97m" |
| 70 | |
| 71 | # Background colors |
| 72 | BG_RED = "\033[41m" |
| 73 | BG_GREEN = "\033[42m" |
| 74 | BG_YELLOW = "\033[43m" |
| 75 | BG_BLUE = "\033[44m" |
| 76 | |
| 77 | |
| 78 | def get_log_directory() -> Path: |
nothing calls this directly
no outgoing calls
no test coverage detected