Skip to content

Enable the clippy::pedantic lint group - #236

Merged
emilk merged 1 commit into
mainfrom
emilk/clippy-pedantic
Aug 18, 2026
Merged

emilk merged 1 commit into
mainfrom
emilk/clippy-pedantic

Conversation

@emilk

@emilk emilk commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Instead of opting in to pedantic lints one by one, enable the whole group and opt out of the noisy ones, mirroring emilk/egui#8429.

Lints that were already enabled here one-by-one stay enabled, so this only adds coverage.

Clippy is clean with this.

Instead of opting in to pedantic lints one by one, enable the whole
group and opt out of the noisy ones, like in
emilk/egui#8429.

Lints that were already enabled one-by-one here stay enabled.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@emilk
emilk marked this pull request as ready for review August 18, 2026 08:58
@emilk
emilk merged commit 16a0239 into main Aug 18, 2026
25 checks passed
rerun-sync Bot pushed a commit to rerun-io/rerun that referenced this pull request Aug 19, 2026
### Related
Same pattern as:
* emilk/egui#8429
* emilk/eframe_template#236
* emilk/egui_plot#255
* rerun-io/egui_table#63
* rerun-io/egui_crates#155
* rerun-io/rerun_template#43

### What
Instead of opting in to pedantic lints one by one, enable the whole
group in both the `rerun` and the `dataplatform` workspace, and opt out
of the noisy ones.

This deletes 91 explicit lint lines per workspace and picks up new
pedantic lints for free. Each opt-out carries its hit count, so the cost
of turning one back on is visible. `restriction` and `nursery` stay
opt-in per lint.

One commit per lint fixed.

---------

Source-Ref: 9b69ee8f23610b9b427da62f8ab9f6cf782a9a3d
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
ntjohnson1 pushed a commit to rerun-io/rerun_template that referenced this pull request Aug 25, 2026
Instead of opting in to pedantic lints one by one, enable the whole
group and opt out of the noisy ones, mirroring
emilk/egui#8429.

Lints that were already enabled here one-by-one stay enabled, so this
only adds coverage. Clippy is clean with this.

Matching PRs:
* rerun-io/egui_table#63
* rerun-io/egui_crates#155
* emilk/egui_plot#255
* emilk/eframe_template#236.

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.

1 participant