1
0
mirror of https://github.com/httpie/cli.git synced 2026-04-24 19:53:55 +02:00

Prioritize pie styles.

This commit is contained in:
Batuhan Taskaya
2022-04-29 13:02:59 +03:00
parent 977f97d070
commit 28e61e472f
2 changed files with 4 additions and 2 deletions
+4 -1
View File
@@ -32,7 +32,10 @@ BUNDLED_STYLES = {
def get_available_styles():
return sorted(BUNDLED_STYLES | set(pygments.styles.get_all_styles()))
return [
*PIE_STYLE_NAMES,
*sorted(BUNDLED_STYLES | set(pygments.styles.get_all_styles()))
]
class ColorFormatter(FormatterPlugin):
-1
View File
@@ -1,5 +1,4 @@
import re
import textwrap
from typing import AbstractSet, Iterable, Optional, Tuple
from rich.console import RenderableType