Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ fail_under = 90
# The whitelist names the indirectly-used symbols vulture cannot see; listing
# them explicitly keeps the ignores tight instead of relying on wide globs.
paths = ["src", "packages", "tests", "vulture_whitelist.py"]
# Skip build artifacts under packages, which duplicate the real source and would
# otherwise report every package symbol twice.
exclude = ["*/build/*"]
# Show the largest unused blocks first; they are the highest-value removals.
sort_by_size = true

Expand Down
9 changes: 1 addition & 8 deletions vulture_whitelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
_._accept_hex_string
_._validate_byte_list_data
_._validate_decomposition
_._require_index_matches_position
_.validate_state_length
_.validate_target
_.validate_rejection_is_declared
Expand All @@ -68,10 +69,6 @@
_._serialize_data
_._serialize_as_hex

# Fork-upgrade protocol method, invoked polymorphically on a fork transition.
# A single-fork tree has no transition yet, so there is no call site.
_.upgrade_state

# Signature parameters mandated by external protocols we cannot rename.
# The pydantic core-schema hook, the pytest session-finish hook, and the
# prometheus metric stub interface.
Expand Down Expand Up @@ -170,10 +167,6 @@
slot_number
_.slot_number

# Access tier recorded on every route entry to document the route, not yet
# read back by the registration path.
is_admin

# Attribute assignment in slotted-class tests that proves new attributes are
# rejected; the assignment is the action under test, never read back.
_.extra_field
Loading