chore(lint): restore green gate
This commit is contained in:
@@ -8,6 +8,8 @@ from typing import TYPE_CHECKING
|
||||
if TYPE_CHECKING:
|
||||
from pathlib import Path
|
||||
|
||||
from pf1e_simulator.loaders.foundry import Json
|
||||
|
||||
from pf1e_simulator.abilities import (
|
||||
DODGE,
|
||||
IRON_WILL,
|
||||
@@ -79,7 +81,8 @@ class TestResolveFeatures:
|
||||
assert result[1] is DODGE
|
||||
|
||||
def test_filters_non_strings(self) -> None:
|
||||
result = _resolve_features(["Iron Will", 42, None, True], 1) # type: ignore[list-item]
|
||||
raw: list[Json] = ["Iron Will", 42, None, True]
|
||||
result = _resolve_features(raw, 1)
|
||||
assert len(result) == 1
|
||||
|
||||
def test_empty_list(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user