huskies: merge 1251 story script/check gates duplication and cognitive complexity

This commit is contained in:
Huskies Agent
2026-07-21 16:15:10 +00:00
parent 14331127b8
commit 5c3b433e7d
4 changed files with 42 additions and 4 deletions
+7
View File
@@ -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