mirror of https://github.com/Textualize/rich.git
Format with black
This commit is contained in:
parent
8370e69549
commit
d27bad0e28
|
@ -54,7 +54,7 @@ if __name__ == "__main__":
|
||||||
"path",
|
"path",
|
||||||
metavar="PATH",
|
metavar="PATH",
|
||||||
help="path to file, or - for stdin",
|
help="path to file, or - for stdin",
|
||||||
nargs='?',
|
nargs="?",
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-i",
|
"-i",
|
||||||
|
@ -70,7 +70,7 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
console = Console()
|
console = Console()
|
||||||
error_console = Console(stderr=True)
|
error_console = Console(stderr=True)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if args.path is None:
|
if args.path is None:
|
||||||
json_data = sys.stdin.read()
|
json_data = sys.stdin.read()
|
||||||
|
|
Loading…
Reference in New Issue