Open albertas opened 1 year ago
Its a common practice to use Meta class to set options in frameworks. e.g.:
Meta
from marshmallow import Schema, EXCLUDE class MySchema(Schema): class Meta: unknown = EXCLUDE
When calling vulture with vulture . --ignore-names=Meta, I get this error message:
vulture
vulture . --ignore-names=Meta
example.py:5: unused variable 'unknown' (60% confidence)
I imagine that an option ignore_attrs_of_classes=Meta could be added.
ignore_attrs_of_classes=Meta
Its a common practice to use
Meta
class to set options in frameworks. e.g.:When calling
vulture
withvulture . --ignore-names=Meta
, I get this error message:I imagine that an option
ignore_attrs_of_classes=Meta
could be added.