chore(lint): restore green gate

This commit is contained in:
2026-09-04 22:55:49 +02:00
parent bc5bf918b5
commit 7336109ab2
9 changed files with 733 additions and 540 deletions
+4 -1
View File
@@ -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: