Skip to content

Commit 9bae231

Browse files
huitseekerbors-libra
authored andcommitted
Let clippy complain if the # of arguments grows out of hand
The # of fns with large > of arguments is growing fast\ (record is new in event_processor) Calls with >7 arguments in consensus: https://gist.github.com/huitseeker/ec8d79f88cbcbacde5e3a21a6b207358 Closes: #1033 Approved by: bmwill
1 parent dfcbbe7 commit 9bae231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ cognitive-complexity-threshold = 100
33
# types are used for safety encoding
44
type-complexity-threshold = 10000
55
# manipulating complex states machines in consensus
6-
too-many-arguments-threshold = 15
6+
too-many-arguments-threshold = 13

0 commit comments

Comments
 (0)