| 97 | |
| 98 | |
| 99 | class Config: |
| 100 | default_colors = { |
| 101 | "keyword": "y", |
| 102 | "name": "c", |
| 103 | "comment": "b", |
| 104 | "string": "m", |
| 105 | "error": "r", |
| 106 | "number": "G", |
| 107 | "operator": "Y", |
| 108 | "punctuation": "y", |
| 109 | "token": "C", |
| 110 | "background": "d", |
| 111 | "output": "w", |
| 112 | "main": "c", |
| 113 | "paren": "R", |
| 114 | "prompt": "c", |
| 115 | "prompt_more": "g", |
| 116 | "right_arrow_suggestion": "K", |
| 117 | } |
| 118 | |
| 119 | defaults: dict[str, dict[str, Any]] = { |
| 120 | "general": { |
| 121 | "arg_spec": True, |
| 122 | "auto_display_list": True, |
| 123 | "autocomplete_mode": default_completion, |
| 124 | "color_scheme": "default", |
| 125 | "complete_magic_methods": True, |
| 126 | "dedent_after": 1, |
| 127 | "default_autoreload": False, |
| 128 | "editor": default_editor(), |
| 129 | "flush_output": True, |
| 130 | "import_completion_skiplist": ":".join( |
| 131 | ( |
| 132 | # version tracking |
| 133 | ".git", |
| 134 | ".svn", |
| 135 | ".hg" |
| 136 | # XDG |
| 137 | ".config", |
| 138 | ".local", |
| 139 | ".share", |
| 140 | # nodejs |
| 141 | "node_modules", |
| 142 | # PlayOnLinux |
| 143 | "PlayOnLinux's virtual drives", |
| 144 | # wine |
| 145 | "dosdevices", |
| 146 | # Python byte code cache |
| 147 | "__pycache__", |
| 148 | ) |
| 149 | ), |
| 150 | "highlight_show_source": True, |
| 151 | "hist_duplicates": True, |
| 152 | "hist_file": "~/.pythonhist", |
| 153 | "hist_length": 1000, |
| 154 | "paste_time": 0.02, |
| 155 | "pastebin_confirm": True, |
| 156 | "pastebin_expiry": "1week", |
no test coverage detected