mirror of https://github.com/Textualize/rich.git
Reformat with black
And also run freshly-installed pre-commit hooks (hence ISO8601Highlighter moving in the import list).
This commit is contained in:
parent
59a60f830d
commit
4df597e560
|
@ -5,10 +5,10 @@ from typing import List
|
|||
import pytest
|
||||
|
||||
from rich.highlighter import (
|
||||
ISO8601Highlighter,
|
||||
JSONHighlighter,
|
||||
NullHighlighter,
|
||||
ReprHighlighter,
|
||||
ISO8601Highlighter,
|
||||
)
|
||||
from rich.text import Span, Text
|
||||
|
||||
|
@ -37,8 +37,8 @@ highlight_tests = [
|
|||
Span(1, 5, "repr.tag_name"),
|
||||
Span(5, 8, "repr.tag_contents"),
|
||||
Span(8, 9, "repr.tag_end"),
|
||||
Span(6, 8, "repr.number")
|
||||
]
|
||||
Span(6, 8, "repr.number"),
|
||||
],
|
||||
),
|
||||
(
|
||||
"<foo: <bar: 23>>",
|
||||
|
@ -47,8 +47,8 @@ highlight_tests = [
|
|||
Span(1, 5, "repr.tag_name"),
|
||||
Span(5, 15, "repr.tag_contents"),
|
||||
Span(15, 16, "repr.tag_end"),
|
||||
Span(12, 14, "repr.number")
|
||||
]
|
||||
Span(12, 14, "repr.number"),
|
||||
],
|
||||
),
|
||||
(
|
||||
"False True None",
|
||||
|
|
Loading…
Reference in New Issue