clippy: Disallow lint `enum_variant_names`

We just need one exception.
This commit is contained in:
Lorenz Leutgeb 2026-04-15 01:28:05 +02:00
parent ae55d935bc
commit ffc81154e4
No known key found for this signature in database
2 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,6 @@ git-ref-format-core = { version = "0.6.0", default-features = false }
radicle-surf = "0.27.1"
[workspace.lints.clippy]
enum_variant_names = "allow"
fallible_impl_from = "deny"
fn_params_excessive_bools = "deny"
indexing_slicing = "deny"

View File

@ -139,6 +139,7 @@ impl FromStr for ReviewAction {
/// A single review item. Can be a hunk or eg. a file move.
/// Files are usually split into multiple review items.
#[derive(Debug)]
#[allow(clippy::enum_variant_names)]
pub enum ReviewItem {
FileAdded {
path: PathBuf,