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: make linter and clippy happy #793

Conversation

matthiasgoergens
Copy link
Contributor

@matthiasgoergens matthiasgoergens commented May 23, 2024

Via repeated application of

cargo fix --allow-dirty
cargo clippy --allow-dirty --fix --all -- -D warnings -D clippy::pedantic
cargo fmt

until we reach a fixed point.

@matthiasgoergens
Copy link
Contributor Author

I suggest reviewing this via re-running the same commands against dev and checking if you get the same result. (Just to check that there's no funny business going on.)

@matthiasgoergens matthiasgoergens changed the title Make clippy even happier chore: Make clippy even happier May 23, 2024
@matthiasgoergens matthiasgoergens changed the title chore: Make clippy even happier chore: make clippy even happier May 23, 2024
@matthiasgoergens matthiasgoergens changed the title chore: make clippy even happier chore: make clippy happy May 23, 2024
Via repeated application of
```bash
cargo fix --allow-dirty
cargo clippy --allow-dirty --fix --all -- -D warnings -D clippy::pedantic
cargo fmt
```
@matthiasgoergens matthiasgoergens force-pushed the matthias/make-clippy-even-happier branch from fc5e634 to 82fe4e4 Compare May 23, 2024 02:46
@matthiasgoergens matthiasgoergens changed the title chore: make clippy happy chore: make linter and clippy happy May 23, 2024
@jtguibas jtguibas enabled auto-merge May 23, 2024 21:29
@jtguibas
Copy link
Contributor

It seems like CI fails for some reason. I will investigate.

@matthiasgoergens
Copy link
Contributor Author

matthiasgoergens commented May 23, 2024

Looks like your clippy version has more suggestions.

You can probably just ask it for automated fixes?

auto-merge was automatically disabled May 24, 2024 00:33

Merge queue setting changed

@jtguibas
Copy link
Contributor

jtguibas commented Jul 2, 2024

Closing this for now as the branch has gotten a bit out of sync.

@jtguibas jtguibas closed this Jul 2, 2024
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