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

Tests: error on unused imports #45

Merged
merged 2 commits into from
Oct 25, 2024
Merged

Tests: error on unused imports #45

merged 2 commits into from
Oct 25, 2024

Conversation

acl-cqc
Copy link
Collaborator

@acl-cqc acl-cqc commented Oct 25, 2024

Well, it can be a pain keeping things like import lists up-to-date, but OTOH it also makes refactoring more of a pain if they aren't, and I was trying to do a refactoring, so....

The number of imports deleted here is indicative of something, I think ;-), and this was the easiest way to find them.

We could turn more warnings on, but that'll be a big PR if we do them all, so proceeding in stages...

@acl-cqc acl-cqc requested a review from croyzor October 25, 2024 11:57
Copy link
Collaborator

@croyzor croyzor left a comment

Choose a reason for hiding this comment

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

There's got to be a tool to automate this...

@acl-cqc acl-cqc merged commit 1d99dd2 into main Oct 25, 2024
1 check passed
@acl-cqc acl-cqc deleted the tests/error_unused_import branch October 25, 2024 14:24
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.

2 participants