Skip to content

Commit

Permalink
pyright
Browse files Browse the repository at this point in the history
  • Loading branch information
Incompleteusern committed Oct 26, 2023
1 parent 577c4ab commit 0dc24a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def problems_tex_filename(self) -> str:
return f"{self.code}-tex-{self.group.slug}.tex"

@property
def code(self):
def code(self) -> str:
return self.difficulty + self.group.subject + self.version


Expand Down

0 comments on commit 0dc24a7

Please sign in to comment.