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
@@ -111,7 +111,7 @@ class File:
else:
filename = getattr(fp, 'name', 'untitled')
self._filename, filename_spoiler = _strip_spoiler(filename)
self._filename, filename_spoiler = _strip_spoiler(filename) # type: ignore # pyright doesn't understand the above getattr
if spoiler is MISSING:
spoiler = filename_spoiler