From 3923e79c54645deb539632bf7e04fbdf3dd28f48 Mon Sep 17 00:00:00 2001 From: jfavellar90 Date: Sun, 9 Jun 2024 18:18:46 -0500 Subject: [PATCH] fix: mypy decorator typing ignore --- tutorxqueue/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorxqueue/plugin.py b/tutorxqueue/plugin.py index a237460..f349fb6 100644 --- a/tutorxqueue/plugin.py +++ b/tutorxqueue/plugin.py @@ -78,7 +78,7 @@ ) -@tutor_hooks.Filters.COMPOSE_MOUNTS.add() +@tutor_hooks.Filters.COMPOSE_MOUNTS.add() # type: ignore def _mount_xqueue(volumes: list[tuple[str, str]], name: str) -> list[tuple[str, str]]: """ When mounting xqueue with `--mount=/path/to/xqueue`, @@ -306,7 +306,7 @@ def request( ######################################## -@tutor_hooks.Filters.APP_PUBLIC_HOSTS.add() +@tutor_hooks.Filters.APP_PUBLIC_HOSTS.add() # type: ignore def _xqueue_public_hosts( hosts: list[str], context_name: Literal["local", "dev"] ) -> list[str]: