summaryrefslogtreecommitdiff
path: root/backend/decky_loader/main.py
diff options
context:
space:
mode:
authorPartyWumpus <48649272+PartyWumpus@users.noreply.github.com>2024-05-05 09:46:36 +0100
committerPartyWumpus <48649272+PartyWumpus@users.noreply.github.com>2024-05-05 10:17:03 +0100
commit43b940e216e6b654e689cf791d298d57215196d4 (patch)
treeec75176ac6e960a3b5d0b273664b3a5d8152ce02 /backend/decky_loader/main.py
parent10e13571e50261193e8d6f42e60777a25bd4d7e4 (diff)
downloaddecky-loader-43b940e216e6b654e689cf791d298d57215196d4.tar.gz
decky-loader-43b940e216e6b654e689cf791d298d57215196d4.zip
remove some type: ignore and make some specific
Diffstat (limited to 'backend/decky_loader/main.py')
-rw-r--r--backend/decky_loader/main.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/decky_loader/main.py b/backend/decky_loader/main.py
index 64c76dc0..763fbd42 100644
--- a/backend/decky_loader/main.py
+++ b/backend/decky_loader/main.py
@@ -14,10 +14,10 @@ from os import path
from traceback import format_exc
import multiprocessing
-import aiohttp_cors # type: ignore
+import aiohttp_cors # pyright: ignore [reportMissingTypeStubs]
# Partial imports
from aiohttp import client_exceptions
-from aiohttp.web import Application, Response, Request, get, run_app, static # type: ignore
+from aiohttp.web import Application, Response, Request, get, run_app, static # pyright: ignore [reportUnknownVariableType]
from aiohttp_jinja2 import setup as jinja_setup
# local modules
@@ -87,7 +87,7 @@ class PluginManager:
self.web_app.add_routes([get("/auth/token", self.get_auth_token)])
for route in list(self.web_app.router.routes()):
- self.cors.add(route) # type: ignore
+ self.cors.add(route) # pyright: ignore [reportUnknownMemberType]
self.web_app.add_routes([static("/static", path.join(path.dirname(__file__), '..', 'static'))])
def exception_handler(self, loop: AbstractEventLoop, context: Dict[str, str]):