mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-28 20:29:04 +03:00
0adeac1d53
actually going to be mucking with geometry. it wasnt doing anything useful anyway. also a round of clippy.
28 lines
844 B
Bash
Executable File
28 lines
844 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# https://github.com/rust-lang/rust-clippy/issues/2604
|
|
touch `find * | grep '\.rs' | grep -v target | xargs`
|
|
|
|
# TODO Remove all of these exceptions
|
|
# TODO Report issues for some of these false positives
|
|
cargo clippy -- \
|
|
-A clippy::block_in_if_condition_stmt \
|
|
-A clippy::cognitive_complexity \
|
|
-A clippy::collapsible_if \
|
|
-A clippy::expect_fun_call \
|
|
-A clippy::float_cmp \
|
|
-A clippy::if_same_then_else \
|
|
-A clippy::len_without_is_empty \
|
|
-A clippy::large_enum_variant \
|
|
-A clippy::many_single_char_names \
|
|
-A clippy::map_entry \
|
|
-A clippy::needless_pass_by_value \
|
|
-A clippy::new_ret_no_self \
|
|
-A clippy::new_without_default \
|
|
-A clippy::ptr_arg \
|
|
-A clippy::suspicious_arithmetic_impl \
|
|
-A clippy::too_many_arguments \
|
|
-A clippy::type_complexity \
|
|
-A clippy::while_let_loop \
|
|
-A clippy::wrong_self_convention
|