-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added jq for json querying. * Added clippy to regression. * Added error ignore and todo to kani-compiler. * Added clippy todo to cprover_bindings. * Forced failure on warnings (Werror for clippy). * Added clippy todo to compiletest. * Clippy supression for bookrunner. * Resolved metadata warnings with publish = false. * Clippy todo for kani library. * Clippy todos and publish fix for kani_macros. * Cargo fmt. * Temporally turned off clippy fail. * Moved clippy to format checks. * Moved clippy to the format check. * Added missing dependency. * Fixed yaml overwrite problem. * Gather stats on clippy warnings. * jq install for osx not needed. * Moved clippy control to a central config file. * Fixed clippy warnings under library/ * Adjusted actions to print stats by removing lint supression. * Ignored 3 clippy warnings that regressed after merge. * Forgot to remove manual -A * got rid of redundant allowed lints. * Moved jq install to workflow side. * removed .cargo from gitignore
- Loading branch information
Yoshiki Takashima
authored
Jul 26, 2022
1 parent
9f20e84
commit 542f7c4
Showing
18 changed files
with
83 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Copyright Kani Contributors | ||
# SPDX-License-Identifier: Apache-2.0 OR MIT | ||
|
||
[target.'cfg(all())'] | ||
rustflags = [ # Global lints/warnings. Need to use underscore instead of -. | ||
|
||
# Purposefully disabled lints | ||
"-Aclippy::expect_fun_call", | ||
"-Aclippy::or_fun_call", | ||
|
||
# todo address the following lints. | ||
"-Aclippy::cargo_common_metadata", | ||
"-Aclippy::derive_partial_eq_without_eq", | ||
"-Aclippy::explicit_auto_deref", | ||
"-Aclippy::if_same_then_else", | ||
"-Aclippy::iter_nth_zero", | ||
"-Aclippy::let_and_return", | ||
"-Aclippy::manual_map", | ||
"-Aclippy::manual_range_contains", | ||
"-Aclippy::manual_strip", | ||
"-Aclippy::map_entry", | ||
"-Aclippy::match_like_matches_macro", | ||
"-Aclippy::missing_safety_doc", | ||
"-Aclippy::module_inception", | ||
"-Aclippy::needless_arbitrary_self_type", | ||
"-Aclippy::needless_bool", | ||
"-Aclippy::needless_return", | ||
"-Aclippy::new_ret_no_self", | ||
"-Aclippy::new_without_default", | ||
"-Aclippy::redundant_clone", | ||
"-Aclippy::too_many_arguments", | ||
"-Aclippy::type_complexity", | ||
"-Aclippy::unnecessary_lazy_evaluations", | ||
"-Aclippy::useless_conversion", | ||
"-Aclippy::needless_borrow", | ||
"-Aclippy::unnecessary_filter_map", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters