Skip to content

Conversation

@cirras
Copy link
Collaborator

@cirras cirras commented Mar 17, 2025

This PR adds an exclusion to UnusedType for types that are annotated with custom attributes.

It's unclear why this wasn't already the case, as the same exclusion is already present in UnusedRoutine, UnusedProperty, and UnusedField.

@cirras cirras requested a review from fourls March 17, 2025 22:52
@cirras cirras force-pushed the unused_type_attributes branch from 06e25f1 to 67988e6 Compare March 17, 2025 23:02
@cirras cirras force-pushed the unused_type_attributes branch from 67988e6 to 7c354ba Compare March 23, 2025 22:48
Copy link
Collaborator

@fourls fourls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! This will definitely improve the experience for RTTI-heavy projects.

@cirras cirras merged commit 0d5f5e2 into master Mar 27, 2025
4 checks passed
@cirras cirras deleted the unused_type_attributes branch March 28, 2025 05:56
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

Successfully merging this pull request may close these issues.

3 participants