From 5f3589c8ce8db83cd1635a1af2192c78ddf5bed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Pr=C3=A9vost?= Date: Wed, 4 Sep 2024 22:17:36 -0400 Subject: [PATCH] Cyclomatic is not important --- .credo.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.credo.exs b/.credo.exs index 9d234cc..a14a2ad 100644 --- a/.credo.exs +++ b/.credo.exs @@ -28,7 +28,7 @@ common_checks = [ {Credo.Check.Refactor.MapInto, false}, {Credo.Check.Refactor.MatchInCondition}, {Credo.Check.Refactor.PipeChainStart, excluded_argument_types: ~w(atom binary fn keyword)a, excluded_functions: ~w(from)}, - {Credo.Check.Refactor.CyclomaticComplexity, max_complexity: 10}, + {Credo.Check.Refactor.CyclomaticComplexity, max_complexity: 12}, {Credo.Check.Refactor.NegatedConditionsInUnless}, {Credo.Check.Refactor.NegatedConditionsWithElse}, {Credo.Check.Refactor.Nesting},