fix: add return type annotation for full mypy compliance

This commit is contained in:
Arshdeep Singh 2025-09-25 12:52:12 -04:00
parent a9f39396b2
commit 471f011ae5

View File

@ -15,7 +15,7 @@ class PiiAction(str, Enum):
MASK = "MASK"
def test_presidio_union_type_fix():
def test_presidio_union_type_fix() -> None:
"""Test that Union[PiiEntityType, str] allows both enum and string entity types"""
# This is the core fix - mixed entity types in pii_entities_config