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

chore: remove deprecated feature cargo-clippy #15

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Conversation

kchibisov
Copy link
Member

--

@daxpedda we have the exact same one in winit if it matters. It's just to automatically throw errors when running clippy, so they are more likely to get fixed.

@kchibisov kchibisov requested a review from daxpedda July 17, 2024 09:44
Copy link
Member

@daxpedda daxpedda left a comment

Choose a reason for hiding this comment

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

Usually done on the CLI level, but either way works for me.

Personally I find it quite annoying that I can't differentiate between errors and warnings when working with the code locally.

@kchibisov
Copy link
Member Author

The thing is that it's only for clippy, it doesn't affect regular builds/check, etc. And clippy has no notion of errors.

Unless you always just run clippy instead of check.

@kchibisov kchibisov merged commit b2471ca into main Jul 17, 2024
4 checks passed
@kchibisov kchibisov deleted the cfg-clippy branch July 17, 2024 10:17
@daxpedda
Copy link
Member

And clippy has no notion of errors.

Not sure what you mean. It certainly has a concept called "error" and functionality behind it.

Unless you always just run clippy instead of check.

Yes, that's what I do to get actual Clippy warnings while I'm developing.

@kchibisov
Copy link
Member Author

Yes, that's what I do to get actual Clippy warnings while I'm developing.

I guess it's just a workflow difference, because I tend to use check since it's far less noise and by the time I'm done with check I have very low amount of clippy issues. Doing clippy straight away is like really annoying.

given that you haven't complained about that in winit probably it was not really affecting you.

@daxpedda
Copy link
Member

given that you haven't complained about that in winit probably it was not really affecting you.

It does, but I usually don't like to suggest things that change the workflow people are already accustomed to and works for them in a project that I don't solely own.
In any case, this is all very subjective and I can totally live with it if others would prefer to continue as-is!

Thanks for the input!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants