Skip to content

Commit

Permalink
fix: mypy decorator typing ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
jfavellar90 authored and regisb committed Jun 19, 2024
1 parent 00b1b7f commit 3923e79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutorxqueue/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand Down Expand Up @@ -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]:
Expand Down

0 comments on commit 3923e79

Please sign in to comment.