Skip to content

Commit

Permalink
ci: pass latest pyright
Browse files Browse the repository at this point in the history
  • Loading branch information
vEnhance committed Nov 8, 2023
1 parent b323585 commit 8c63a57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def setup(self, request: HttpRequest, *args: Any, **kwargs: Any):
def get_queryset(self):
return Hint.objects.filter(problem__puid=self.kwargs["puid"]).order_by("number")

def get_context_data(self, **kwargs: dict[str, Any]):
def get_context_data(self, **kwargs: Any):
context = super().get_context_data(**kwargs)
context["problem"] = self.problem
context["statement"] = self.problem.get_statement()
Expand Down
2 changes: 1 addition & 1 deletion rpg/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def get_queryset(self) -> QuerySet[Achievement]:

return achievements

def get_context_data(self, **kwargs: dict[str, Any]):
def get_context_data(self, **kwargs: Any):
context = super().get_context_data(**kwargs)
context["pk"] = self.request.user.pk
try:
Expand Down

0 comments on commit 8c63a57

Please sign in to comment.