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

clippy dependency? #243

Closed
martinlindhe opened this issue Dec 9, 2017 · 1 comment
Closed

clippy dependency? #243

martinlindhe opened this issue Dec 9, 2017 · 1 comment

Comments

@martinlindhe
Copy link

martinlindhe commented Dec 9, 2017

Hi! Checking out the project, I ran into #235 and got to ask;

How come clippy is a dependency of the project?
No code seems to be used, and dropping it would fix #235.

Invoking something like cargo install clippy && cargo clippy in https://github.com/citybound/citybound/blob/master/.travis.yml should help you guard against any clippy issues hitting master.

From https://github.com/rust-lang-nursery/rust-clippy#usage:

Since this is a tool for helping the developer of a library or application write better code, it is recommended not to include clippy as a hard dependency.

Another option is to make clippy an optional feature (change https://github.com/citybound/citybound/blob/master/Cargo.toml#L68) etc, but I am guessing you want to keep people from submitting code with clippy issues?

If that is the intention, I think it should happen in CI instead.

@aeplay
Copy link
Member

aeplay commented Aug 10, 2018

Clippy is no longer a direct dependency. Thanks!

@aeplay aeplay closed this as completed Aug 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants