chore(clippy): enforce coding standards via workspace lints

This commit is contained in:
Dylan M. Taylor
2026-10-27 01:36:41 +00:00
parent eb0e99a553
commit 4b01349164
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -116,6 +116,9 @@ webbrowser = "1"
unsafe_code = "deny"
[workspace.lints.clippy]
cognitive_complexity = "deny"
too_many_arguments = "deny"
wildcard_imports = "deny"
dbg_macro = "warn"
# VectorCraft never crashes: shipped code returns `Result`/`Option` instead of panicking (see
# AGENTS.md › Robustness). Tests may unwrap (clippy.toml).
+1
View File
@@ -3,3 +3,4 @@
allow-unwrap-in-tests = true
allow-expect-in-tests = true
allow-panic-in-tests = true
cognitive-complexity-threshold = 30