Skip to content

Commit

Permalink
fix: Apply suggested fix at source
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned committed Sep 16, 2024
1 parent cafd696 commit 0bb7a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/generate_schema_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ class Value(TypedDict, Generic[T]):
def is_color_hex(obj: Any) -> TypeIs[ColorHex]:
"""Return ``True`` if the object is a hexadecimal color code."""
# NOTE: Extracts compiled pattern from metadata,
# to avoid defining in multiple places.
# to avoid defining in multiple places.
it = iter(get_args(ColorHex))
next(it)
pattern: re.Pattern[str] = next(it)
Expand Down

0 comments on commit 0bb7a86

Please sign in to comment.