Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False positives for dataclasses #362

Open
HeavyLvy opened this issue Sep 11, 2024 · 0 comments
Open

False positives for dataclasses #362

HeavyLvy opened this issue Sep 11, 2024 · 0 comments

Comments

@HeavyLvy
Copy link

@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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant