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 e620af1 commit c0c76b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutornotes/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
)


@tutor_hooks.Filters.COMPOSE_MOUNTS.add()
@tutor_hooks.Filters.COMPOSE_MOUNTS.add() # type: ignore
def _mount_edx_notes_api(
volumes: list[tuple[str, str]], name: str
) -> list[tuple[str, str]]:
Expand Down Expand Up @@ -118,7 +118,7 @@ def _mount_edx_notes_api(


# Notes public hosts
@tutor_hooks.Filters.APP_PUBLIC_HOSTS.add()
@tutor_hooks.Filters.APP_PUBLIC_HOSTS.add() # type: ignore
def _notes_public_hosts(
hosts: list[str], context_name: t.Literal["local", "dev"]
) -> list[str]:
Expand Down

0 comments on commit c0c76b1

Please sign in to comment.