Skip to content

Commit

Permalink
Update Clippy and rustfmt configs
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-tkach committed Dec 12, 2024
1 parent ca89c66 commit 041b3c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust/Earthfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions rust/clippy.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
allow-unwrap-in-tests = true
allow-expect-in-tests = true
allow-panic-in-tests = true
2 changes: 1 addition & 1 deletion rust/rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 041b3c7

Please sign in to comment.