Skip to content

Commit 23bcc26

Browse files
devin-ai-integration[bot]Jayant Krishnamurthy
andcommitted
chore: add panic-related clippy lints to fortuna
Co-Authored-By: Jayant Krishnamurthy <[email protected]>
1 parent f394787 commit 23bcc26

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

apps/fortuna/Cargo.toml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,29 @@ futures-locks = "0.7.1"
4949

5050
[dev-dependencies]
5151
axum-test = "13.1.1"
52+
53+
[lints.clippy]
54+
# Panic-related lints
55+
unwrap_used = "deny"
56+
expect_used = "deny"
57+
panic = "deny"
58+
panic_in_result_fn = "deny"
59+
indexing_slicing = "deny"
60+
arithmetic_overflow = "deny"
61+
unwrap_in_result = "deny"
62+
option_unwrap_used = "deny"
63+
result_unwrap_used = "deny"
64+
todo = "deny"
65+
unimplemented = "deny"
66+
unreachable = "deny"
67+
expect_fun_call = "deny"
68+
cast_possible_truncation = "deny"
69+
cast_possible_wrap = "deny"
70+
cast_sign_loss = "deny"
71+
cast_precision_loss = "deny"
72+
unchecked_duration_subtraction = "deny"
73+
float_arithmetic = "deny"
74+
float_cmp = "deny"
75+
modulo_one = "deny"
76+
integer_division = "deny"
77+
try_err = "deny"

0 commit comments

Comments
 (0)