Skip to content

Commit

Permalink
feat: Modify rust clippy lints (#286)
Browse files Browse the repository at this point in the history
* update clippy lints

* fix dbviz
  • Loading branch information
Mr-Leshiy authored Aug 5, 2024
1 parent 8d3b43a commit fdf48b6
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions earthly/rust/stdcfgs/cargo_manifest/project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ unescaped_backticks = "deny"
pedantic = { level = "deny", priority = -1 }
unwrap_used = "deny"
expect_used = "deny"
todo = "deny"
unimplemented = "deny"
exit = "deny"
get_unwrap = "deny"
index_refutable_slice = "deny"
Expand Down
2 changes: 2 additions & 0 deletions earthly/rust/stdcfgs/cargo_manifest/workspace.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ unescaped_backticks = "deny"
pedantic = { level = "deny", priority = -1 }
unwrap_used = "deny"
expect_used = "deny"
todo = "deny"
unimplemented = "deny"
exit = "deny"
get_unwrap = "deny"
index_refutable_slice = "deny"
Expand Down
2 changes: 1 addition & 1 deletion earthly/rust/stdcfgs/clippy.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
allow-expect-in-tests = true
allow-unwrap-in-tests = true
2 changes: 2 additions & 0 deletions examples/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ unescaped_backticks = "deny"
pedantic = { level = "deny", priority = -1 }
unwrap_used = "deny"
expect_used = "deny"
todo = "deny"
unimplemented = "deny"
exit = "deny"
get_unwrap = "deny"
index_refutable_slice = "deny"
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/clippy.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
allow-expect-in-tests = true
allow-unwrap-in-tests = true
2 changes: 2 additions & 0 deletions utilities/dbviz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ unescaped_backticks = "deny"
pedantic = { level = "deny", priority = -1 }
unwrap_used = "deny"
expect_used = "deny"
todo = "deny"
unimplemented = "deny"
exit = "deny"
get_unwrap = "deny"
index_refutable_slice = "deny"
Expand Down
2 changes: 1 addition & 1 deletion utilities/dbviz/clippy.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
allow-expect-in-tests = true
allow-unwrap-in-tests = true

0 comments on commit fdf48b6

Please sign in to comment.