File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -75,3 +75,29 @@ float_cmp = "deny"
7575modulo_one = " deny"
7676integer_division = " deny"
7777try_err = " deny"
78+
79+ # Allow panic-related lints in tests
80+ [lints .clippy .tests ]
81+ unwrap_used = " allow"
82+ expect_used = " allow"
83+ panic = " allow"
84+ panic_in_result_fn = " allow"
85+ indexing_slicing = " allow"
86+ arithmetic_overflow = " allow"
87+ unwrap_in_result = " allow"
88+ option_unwrap_used = " allow"
89+ result_unwrap_used = " allow"
90+ todo = " allow"
91+ unimplemented = " allow"
92+ unreachable = " allow"
93+ expect_fun_call = " allow"
94+ cast_possible_truncation = " allow"
95+ cast_possible_wrap = " allow"
96+ cast_sign_loss = " allow"
97+ cast_precision_loss = " allow"
98+ unchecked_duration_subtraction = " allow"
99+ float_arithmetic = " allow"
100+ float_cmp = " allow"
101+ modulo_one = " allow"
102+ integer_division = " allow"
103+ try_err = " allow"
You can’t perform that action at this time.
0 commit comments