Noita: Do some cleanup to make mypy happy (#3114)

This commit is contained in:
Scipio Wright
2024-04-13 19:21:20 -04:00
committed by GitHub
parent 56ec0e902d
commit feaae1db12
4 changed files with 5 additions and 5 deletions

View File

@@ -38,7 +38,7 @@ class NoitaWorld(World):
web = NoitaWeb()
def generate_early(self):
def generate_early(self) -> None:
if not self.multiworld.get_player_name(self.player).isascii():
raise Exception("Noita yaml's slot name has invalid character(s).")