Skip to content

chore(lint) check unused_qualifications#2839

Merged
blackmwk merged 2 commits into
apache:mainfrom
xanderbailey:xb/check_unused_qualifications
Jul 17, 2026
Merged

chore(lint) check unused_qualifications#2839
blackmwk merged 2 commits into
apache:mainfrom
xanderbailey:xb/check_unused_qualifications

Conversation

@xanderbailey

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

We have inconsistency across the repo when it comes to using used_qualifications which makes code harder to read and maintain in a consistent style.

I did an audit of some popular crate to see if other folks enforce this lint and I found that our friends in the Datafusion community do use this apache/datafusion#13086. But also aware that repos like tokio choose not to.

  • Closes #.

What changes are included in this PR?

This PR adds unused_qualifications = "deny" to the root Cargo.toml

Are these changes tested?

@xanderbailey xanderbailey changed the title chore(lint) check unused qualifications chore(lint) check unused_qualifications Jul 17, 2026
@xanderbailey
xanderbailey force-pushed the xb/check_unused_qualifications branch from 26e6f19 to a0e82b0 Compare July 17, 2026 07:52

@blackmwk blackmwk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @xanderbailey for this pr, I want it for a long time, relly appreciate it!

Comment thread bindings/python/Cargo.toml
@xanderbailey
xanderbailey force-pushed the xb/check_unused_qualifications branch from 5c268eb to 545b32e Compare July 17, 2026 08:00
@xanderbailey
xanderbailey requested a review from blackmwk July 17, 2026 08:28

@blackmwk blackmwk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @xanderbailey for this pr!

@blackmwk
blackmwk merged commit d472b19 into apache:main Jul 17, 2026
22 checks passed
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