|
120 | 120 | }
|
121 | 121 |
|
122 | 122 |
|
123 |
| -PYTHON_STYLES = { |
124 |
| - "python.background": Style(), |
125 |
| - "python.foreground": Style(), |
126 |
| - "python.keyword": Style(), |
127 |
| - "python.operator": Style(), |
128 |
| - "python.endmarker": Style(), |
129 |
| - "python.name": Style(), |
130 |
| - "python.number": Style(), |
131 |
| - "python.string": Style(), |
132 |
| - "python.newline": Style(), |
133 |
| - "python.indent": Style(), |
134 |
| - "python.dedent": Style(), |
135 |
| - "python.lpar": Style(), |
136 |
| - "python.rpar": Style(), |
137 |
| - "python.lsqb": Style(), |
138 |
| - "python.rsqb": Style(), |
139 |
| - "python.colon": Style(), |
140 |
| - "python.comma": Style(), |
141 |
| - "python.semi": Style(), |
142 |
| - "python.plus": Style(), |
143 |
| - "python.minus": Style(), |
144 |
| - "python.star": Style(), |
145 |
| - "python.slash": Style(), |
146 |
| - "python.vbar": Style(), |
147 |
| - "python.amper": Style(), |
148 |
| - "python.less": Style(), |
149 |
| - "python.greater": Style(), |
150 |
| - "python.equal": Style(), |
151 |
| - "python.dot": Style(), |
152 |
| - "python.percent": Style(), |
153 |
| - "python.lbrace": Style(), |
154 |
| - "python.rbrace": Style(), |
155 |
| - "python.eqequal": Style(), |
156 |
| - "python.notequal": Style(), |
157 |
| - "python.lessequal": Style(), |
158 |
| - "python.greaterequal": Style(), |
159 |
| - "python.tilde": Style(), |
160 |
| - "python.circumflex": Style(), |
161 |
| - "python.leftshift": Style(), |
162 |
| - "python.rightshift": Style(), |
163 |
| - "python.doublestar": Style(), |
164 |
| - "python.plusequal": Style(), |
165 |
| - "python.minequal": Style(), |
166 |
| - "python.starequal": Style(), |
167 |
| - "python.slashequal": Style(), |
168 |
| - "python.percentequal": Style(), |
169 |
| - "python.amperequal": Style(), |
170 |
| - "python.vbarequal": Style(), |
171 |
| - "python.circumflexequal": Style(), |
172 |
| - "python.leftshiftequal": Style(), |
173 |
| - "python.rightshiftequal": Style(), |
174 |
| - "python.doublestarequal": Style(), |
175 |
| - "python.doubleslash": Style(), |
176 |
| - "python.doubleslashequal": Style(), |
177 |
| - "python.at": Style(), |
178 |
| - "python.atequal": Style(), |
179 |
| - "python.rarrow": Style(), |
180 |
| - "python.ellipsis": Style(), |
181 |
| - "python.colonequal": Style(), |
182 |
| - "python.op": Style(), |
183 |
| - "python.await": Style(), |
184 |
| - "python.async": Style(), |
185 |
| - "python.type_ignore": Style(), |
186 |
| - "python.type_comment": Style(), |
187 |
| - "python.errortoken": Style(), |
188 |
| - "python.comment": Style(), |
189 |
| - "python.nl": Style(), |
190 |
| - "python.encoding": Style(), |
191 |
| - "python.n_tokens": Style(), |
192 |
| - "python.nt_offset": Style(), |
193 |
| -} |
194 |
| - |
195 | 123 | DEFAULT_STYLES.update(MARKDOWN_STYLES)
|
196 |
| -DEFAULT_STYLES.update(PYTHON_STYLES) |
197 |
| - |
198 | 124 |
|
199 |
| -if __name__ == "__main__": |
| 125 | +if __name__ == "__main__": # pragma: no cover |
200 | 126 | import token
|
201 | 127 |
|
202 | 128 | for name in token.tok_name.values():
|
|
0 commit comments