mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
ci: set max-complexity of cyclop as 20
This commit sets the value of max- complexity of cyclop linter as 20 Signed-off-by: Yati Padia <ypadia@redhat.com>
This commit is contained in:
parent
45b40661e2
commit
e85c0eedc4
@ -51,6 +51,8 @@ output:
|
|||||||
|
|
||||||
# all available settings of specific linters
|
# all available settings of specific linters
|
||||||
linters-settings:
|
linters-settings:
|
||||||
|
cyclop:
|
||||||
|
max-complexity: 20
|
||||||
errcheck:
|
errcheck:
|
||||||
# report about not checking of errors in type assetions:
|
# report about not checking of errors in type assetions:
|
||||||
# `a := b.(MyStruct)`;
|
# `a := b.(MyStruct)`;
|
||||||
|
Loading…
Reference in New Issue
Block a user