Reformat with black

And also run freshly-installed pre-commit hooks (hence ISO8601Highlighter
moving in the import list).
This commit is contained in:
Dave Pearson 2022-10-11 16:25:22 +01:00
parent 59a60f830d
commit 4df597e560
No known key found for this signature in database
GPG Key ID: B413E0EF113D4ABF
1 changed files with 5 additions and 5 deletions

View File

@ -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",