False positives for dataclasses
HeavyLvy opened this issue · 0 comments
HeavyLvy commented
@dataclass
class User:
name: str
user_id: str = field(default_factory=generate_uuid4)
PS G:\projects\testing_tools> vulture
src\main.py:47: unused variable 'name' (60% confidence)
src\main.py:48: unused variable 'user_id' (60% confidence)