diff --git a/rust/Earthfile b/rust/Earthfile index 2afaf65c99..03efded8e1 100644 --- a/rust/Earthfile +++ b/rust/Earthfile @@ -1,6 +1,6 @@ VERSION 0.8 -IMPORT github.com/input-output-hk/catalyst-ci/earthly/rust:v3.2.23 AS rust-ci +IMPORT github.com/input-output-hk/catalyst-ci/earthly/rust:clippy-allow-panics-in-tests AS rust-ci COPY_SRC: FUNCTION diff --git a/rust/clippy.toml b/rust/clippy.toml index 0358cdb508..7bada5473b 100644 --- a/rust/clippy.toml +++ b/rust/clippy.toml @@ -1,2 +1,3 @@ allow-unwrap-in-tests = true allow-expect-in-tests = true +allow-panic-in-tests = true diff --git a/rust/rustfmt.toml b/rust/rustfmt.toml index b0f20832c9..905bde2d0b 100644 --- a/rust/rustfmt.toml +++ b/rust/rustfmt.toml @@ -36,7 +36,7 @@ max_width = 100 # Comments: normalize_comments = true -normalize_doc_attributes = true +normalize_doc_attributes = false wrap_comments = true comment_width = 90 # small excess is okay but prefer 80 format_code_in_doc_comments = true