aboutsummaryrefslogtreecommitdiff
path: root/codegen/lib/code
diff options
context:
space:
mode:
Diffstat (limited to 'codegen/lib/code')
-rw-r--r--codegen/lib/code/entity.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/lib/code/entity.py b/codegen/lib/code/entity.py
index 1297b9f6..d10a159f 100644
--- a/codegen/lib/code/entity.py
+++ b/codegen/lib/code/entity.py
@@ -712,7 +712,7 @@ impl From<EntityDataValue> for UpdateMetadataError {
code.append("")
code_header.append("")
- code_header.append("#![allow(clippy::single_match)]")
+ code_header.append("#![allow(clippy::single_match, non_snake_case)]")
with open(METADATA_RS_DIR, "w") as f:
f.write("\n".join(code_header) + "\n\n")