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

COMP: simplify script for fetching Clippy lints #6305

Merged
merged 1 commit into from
Oct 28, 2020

Conversation

Kobzol
Copy link
Member

@Kobzol Kobzol commented Oct 27, 2020

I noticed in the Rust Analyzer changelog that they also added lint completion a few days ago (what a coincidence! :D ). They use a JSON with all Clippy lints that I didn't know of. It's a much simpler solution than cloning the clippy repository, which is what I have done in the original PR.

Theoretically, the Python script could now be moved back into build.gradle.kts, but I don't think it's worth it.

@Kobzol Kobzol added the internal Pull requests about internal improvements/fixes that don't affect users directly label Oct 27, 2020
scripts/fetch_lints.py Outdated Show resolved Hide resolved
Copy link
Member

@Undin Undin left a comment

Choose a reason for hiding this comment

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

Thanks!
bors r+

@Undin Undin added this to the v135 milestone Oct 28, 2020
@bors
Copy link
Contributor

bors bot commented Oct 28, 2020

Build succeeded:

@bors bors bot merged commit 4e02ba8 into intellij-rust:master Oct 28, 2020
@Kobzol Kobzol deleted the comp-fetch-clippy branch October 28, 2020 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Pull requests about internal improvements/fixes that don't affect users directly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants