yew1eb opened a new issue, #1910:
URL: https://github.com/apache/auron/issues/1910

   ## Overview  
   This epic aims to unify the Auron project's Rust code quality standards by 
standardizing workspace-level Clippy lint configurations. Building on the 
already enforced `clippy::unwrap_used` safety rules, it will enable full `-D 
warnings` enforcement and batch clean up all temporarily allowed non-critical 
lints in `[workspace.lints.rust]` and `[workspace.lints.clippy]`, establishing 
a consistent and robust code quality baseline for all Rust crates.
   
   ## Subtasks
   
   - Enable -D warnings and resolve related issues (Clippy auto-fix + manual 
refactoring)
   - Clean up temporarily allowed lints in [workspace.lints.rust]
         Rules: unused_variables, dead_code, unused_imports, unused_must_use, 
deprecated
   - Clean up [workspace.lints.clippy] - Unwrap/Error Handling lints
         Rules: unnecessary_unwrap, needless_question_mark, 
unnecessary_literal_unwrap, bind_instead_of_map, expect_fun_call, 
io_other_error, unnecessary_fallible_conversions
   - Clean up [workspace.lints.clippy] - Unsafe/Memory lints
         Rules: missing_transmute_annotations, declare_interior_mutable_const, 
borrow_interior_mutable_const, uninit_vec, macro_metavars_in_unsafe, ptr_arg, 
borrowed_box
   - Clean up [workspace.lints.clippy] - Iterator/Collection lints
         Rules: manual_flatten, iter_cloned_collect, into_iter_on_ref, 
box_collection, useless_vec, len_without_is_empty, len_zero, get_first, 
mem_replace_option_with_none
   - Clean up [workspace.lints.clippy] - Loop/Control Flow lints
         Rules: needless_range_loop, while_let_loop, while_let_on_iterator, 
explicit_counter_loop
   - Clean up [workspace.lints.clippy] - Format/String lints
         Rules: useless_format, uninlined_format_args, to_string_in_format_args
   - Clean up [workspace.lints.clippy] - Code Style/Redundancy (Part 1)
          Rules: needless_borrow, needless_return, redundant_closure, 
redundant_locals, redundant_pattern_matching
   - Clean up [workspace.lints.clippy] - Code Style/Redundancy (Part 2)
         Rules: unnecessary_cast, unnecessary_to_owned, useless_asref, 
clone_on_copy, unit_arg, manual_repeat_n, manual_div_ceil
   - Clean up [workspace.lints.clippy] - Condition/Logic lints
         Rules: collapsible_if, collapsible_else_if, if_same_then_else, 
match_like_matches_macro, explicit_auto_deref, bool_assert_comparison
   - Clean up [workspace.lints.clippy] - Naming/Structure/Remaining lints
         Rules: upper_case_acronyms, module_inception, too_many_arguments, 
should_implement_trait, extra_unused_lifetimes, crate_in_macro_def, 
int_plus_one, derived_hash_with_manual_eq, approx_constant, op_ref


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to