Skip to content

Commit

Permalink
remove RwError from disallowed list
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
  • Loading branch information
BugenZhao committed Feb 2, 2024
1 parent e91e806 commit d62a6fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
11 changes: 3 additions & 8 deletions src/batch/clippy.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
disallowed-methods = [
]
disallowed-methods = []

disallowed-types = [
{ path = "risingwave_common::error::ErrorCode", reason = "Please use per-crate error type instead." },
{ path = "risingwave_common::error::RwError", reason = "Please use per-crate error type instead." },
{ path = "risingwave_common::error::Result", reason = "Please use per-crate error type instead." },
]
disallowed-types = []

doc-valid-idents = [
"RisingWave",
Expand All @@ -16,7 +11,7 @@ doc-valid-idents = [
"PostgreSQL",
"MySQL",
"TopN",
"VNode"
"VNode",
]
avoid-breaking-exported-api = false
upper-case-acronyms-aggressive = true
Expand Down
6 changes: 1 addition & 5 deletions src/stream/clippy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ disallowed-methods = [
{ path = "risingwave_expr::expr::Expression::eval_row", reason = "Please use `NonStrictExpression::eval_row_infallible` instead." },
]

disallowed-types = [
{ path = "risingwave_common::error::ErrorCode", reason = "Please use per-crate error type instead." },
{ path = "risingwave_common::error::RwError", reason = "Please use per-crate error type instead." },
{ path = "risingwave_common::error::Result", reason = "Please use per-crate error type instead." },
]
disallowed-types = []

doc-valid-idents = [
"RisingWave",
Expand Down

0 comments on commit d62a6fc

Please sign in to comment.