Zillion: some typing fixes (#2534)

`colorama` has type stubs when it didn't before

`ZillionDeltaPatch.hash` annotated type could be `None` but md5s doesn't allow `None`

type of `CollectionState.prog_items` changed

`WorldTestBase` moved

all of the following are related to this issue:
https://github.com/python/typing/discussions/1486

CommonContext for `command_processor` (is invalid without specifying immutable - but I don't need it anyway)

ZillionWorld options and settings (is invalid without specifying immutable - but I do need it)
This commit is contained in:
Doug Hoskisson
2023-12-06 09:23:43 -08:00
committed by GitHub
parent 597f94dc22
commit d8004f82ef
4 changed files with 10 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
from typing import cast
from test.TestBase import WorldTestBase
from test.bases import WorldTestBase
from worlds.zillion import ZillionWorld