Skip to content

Enable the clippy::pedantic lint group - #255

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

Enable the clippy::pedantic lint group#255
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.

Each opt-out carries its hit count, so the cost of turning one back on is visible. The one new hit outside the opt-out list (if_not_else in span.rs) is fixed here.

  • I have followed the instructions in the PR template

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.

Each opt-out carries its hit count, so the cost of turning one back on
is visible. Lints that were already enabled one-by-one here stay on.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

View snapshot changes at kitdiff

@emilk emilk added the exclude from changelog This change will NOT be included in the changelog label Aug 18, 2026
@emilk
emilk marked this pull request as ready for review August 18, 2026 08:57
@emilk
emilk merged commit 2f53d9b into main Aug 18, 2026
11 of 12 checks passed
@emilk
emilk deleted the emilk/clippy-pedantic branch August 18, 2026 09:04
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_tiles#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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exclude from changelog This change will NOT be included in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant