huskies: merge 1251 story script/check gates duplication and cognitive complexity
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# cognitive_complexity is allow-by-default in clippy; script/check enables it
|
||||
# with `-W clippy::cognitive_complexity`. This threshold is set well above
|
||||
# clippy's own default (25) to accommodate existing large dispatch functions
|
||||
# (e.g. Matrix bot command routing) without requiring an unrelated refactor;
|
||||
# it still gates against genuinely runaway complexity introduced going
|
||||
# forward.
|
||||
cognitive-complexity-threshold = 200
|
||||
Reference in New Issue
Block a user