Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
NewSoupVi committed Aug 8, 2024
1 parent 4777a26 commit d0878ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions worlds/witness/test/test_misc.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from dataclasses import fields
from typing import cast
from typing import Any, cast

from Options import Option
from worlds.AutoWorld import call_all
from worlds.witness import TheWitnessOptions, witness_option_groups
from worlds.witness.options import TheWitnessOptions, witness_option_groups
from worlds.witness.test import WitnessTestBase

_hint_option_groups = {"Hints"}
Expand All @@ -15,7 +15,7 @@
_hint_option_names = [
option.name for option in fields(TheWitnessOptions)
if option.type in _hint_options
and cast(Option, option.type).supports_weighting
and cast(Option[Any], option.type).supports_weighting
]


Expand Down

0 comments on commit d0878ab

Please sign in to comment.