Skip to content

Commit

Permalink
Reformat with black
Browse files Browse the repository at this point in the history
And also run freshly-installed pre-commit hooks (hence ISO8601Highlighter
moving in the import list).
  • Loading branch information
davep committed Oct 11, 2022
1 parent 59a60f8 commit 4df597e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_highlighter.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
import pytest

from rich.highlighter import (
ISO8601Highlighter,
JSONHighlighter,
NullHighlighter,
ReprHighlighter,
ISO8601Highlighter,
)
from rich.text import Span, Text

Expand Down Expand Up @@ -37,8 +37,8 @@ def test_wrong_type():
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>>",
Expand All @@ -47,8 +47,8 @@ def test_wrong_type():
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",
Expand Down

0 comments on commit 4df597e

Please sign in to comment.