gocognit: Lower complexity threshold to 100, fix a few complexity issues (#10542)

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
Preston Van Loon
2022-04-19 09:12:24 +02:00
committed by GitHub
parent 32ebe94515
commit 80ebbcf03e
4 changed files with 23 additions and 28 deletions

View File

@@ -176,7 +176,9 @@
"external/.*": "Third party code",
"rules_go_work-.*": "Third party code",
".*\\.pb.*.go": "Generated code is ok",
".*generated\\.ssz\\.go": "Generated code is ok"
".*generated\\.ssz\\.go": "Generated code is ok",
".*_test\\.go": "Tests are ok (for now)",
"tools/analyzers/ineffassign/ineffassign\\.go": "3rd party code with a massive switch statement"
}
}
}