@@ -83,3 +83,90 @@ harness = false
8383[[bench ]]
8484name = " large_model"
8585harness = false
86+
87+ # Code in cubesql workspace is not ready for full-blown clippy
88+ # So we disable some rules to enable per-rule latch in CI, not for a whole clippy run
89+ # Feel free to remove any rule from here and fix all warnings with it
90+ # Or to write a comment why rule should stay disabled
91+ [lints .clippy ]
92+ assign_op_pattern = " allow"
93+ bool_assert_comparison = " allow"
94+ bool_comparison = " allow"
95+ borrowed_box = " allow"
96+ cast_abs_to_unsigned = " allow"
97+ clone_on_copy = " allow"
98+ cmp_owned = " allow"
99+ collapsible_if = " allow"
100+ collapsible_match = " allow"
101+ collapsible_else_if = " allow"
102+ comparison_chain = " allow"
103+ derive_ord_xor_partial_ord = " allow"
104+ expect_fun_call = " allow"
105+ explicit_auto_deref = " allow"
106+ extra_unused_lifetimes = " allow"
107+ field_reassign_with_default = " allow"
108+ filter_map_bool_then = " allow"
109+ filter_map_identity = " allow"
110+ for_kv_map = " allow"
111+ get_first = " allow"
112+ identity_op = " allow"
113+ if_same_then_else = " allow"
114+ into_iter_on_ref = " allow"
115+ iter_cloned_collect = " allow"
116+ iter_next_slice = " allow"
117+ len_without_is_empty = " allow"
118+ len_zero = " allow"
119+ let_and_return = " allow"
120+ manual_filter = " allow"
121+ manual_flatten = " allow"
122+ manual_is_ascii_check = " allow"
123+ manual_map = " allow"
124+ manual_range_contains = " allow"
125+ manual_strip = " allow"
126+ map_clone = " allow"
127+ map_flatten = " allow"
128+ map_identity = " allow"
129+ match_like_matches_macro = " allow"
130+ match_ref_pats = " allow"
131+ match_single_binding = " allow"
132+ missing_transmute_annotations = " allow"
133+ needless_borrow = " allow"
134+ needless_borrows_for_generic_args = " allow"
135+ needless_late_init = " allow"
136+ needless_lifetimes = " allow"
137+ needless_question_mark = " allow"
138+ needless_range_loop = " allow"
139+ needless_return = " allow"
140+ neg_multiply = " allow"
141+ never_loop = " allow"
142+ new_without_default = " allow"
143+ non_canonical_partial_ord_impl = " allow"
144+ nonminimal_bool = " allow"
145+ only_used_in_recursion = " allow"
146+ op_ref = " allow"
147+ option_as_ref_deref = " allow"
148+ partialeq_ne_impl = " allow"
149+ ptr_arg = " allow"
150+ redundant_closure = " allow"
151+ redundant_field_names = " allow"
152+ redundant_pattern = " allow"
153+ redundant_pattern_matching = " allow"
154+ redundant_slicing = " allow"
155+ result_large_err = " allow"
156+ single_match = " allow"
157+ should_implement_trait = " allow"
158+ to_string_in_format_args = " allow"
159+ to_string_trait_impl = " allow"
160+ too_many_arguments = " allow"
161+ type_complexity = " allow"
162+ unnecessary_cast = " allow"
163+ unnecessary_lazy_evaluations = " allow"
164+ unnecessary_mut_passed = " allow"
165+ unnecessary_to_owned = " allow"
166+ unnecessary_unwrap = " allow"
167+ unused_unit = " allow"
168+ unwrap_or_default = " allow"
169+ useless_conversion = " allow"
170+ useless_format = " allow"
171+ useless_vec = " allow"
172+ wrong_self_convention = " allow"
0 commit comments