mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 06:11:59 +00:00
remove some type: ignore and make some specific
This commit is contained in:
@@ -75,7 +75,7 @@ class UnixSocket:
|
||||
try:
|
||||
line.extend(await reader.readuntil())
|
||||
except asyncio.LimitOverrunError:
|
||||
line.extend(await reader.read(reader._limit)) # type: ignore
|
||||
line.extend(await reader.read(reader._limit)) # pyright: ignore [reportUnknownMemberType, reportUnknownArgumentType, reportAttributeAccessIssue]
|
||||
continue
|
||||
except asyncio.IncompleteReadError as err:
|
||||
line.extend(err.partial)
|
||||
@@ -142,4 +142,4 @@ if ON_WINDOWS:
|
||||
pass
|
||||
else:
|
||||
class LocalSocket (UnixSocket):
|
||||
pass
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user