Update pyright version

This commit is contained in:
Josh authored and GitHub committed 2024-02-20 13:36:02 -05:00
1 parent 76666fbcf4
commit 4e03b170ef
17 files changed
+39 -35

No files matched your search

+1 -1
View File
@@ -175,7 +175,7 @@ class Colour:
return cls.from_rgb(*(int(x * 255) for x in rgb))
@classmethod
def from_str(cls, value: str) -> Self:
def from_str(cls, value: str) -> Colour:
"""Constructs a :class:`Colour` from a string.
The following formats are accepted: