From dc4c1f189a1f31bbd3de1f510fb65083722c85b9 Mon Sep 17 00:00:00 2001 From: Anton Maminov Date: Thu, 11 Apr 2024 20:07:00 +0300 Subject: [PATCH] Update .ameba.yml --- .ameba.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.ameba.yml b/.ameba.yml index 23ebf93..2815a78 100644 --- a/.ameba.yml +++ b/.ameba.yml @@ -1,16 +1,27 @@ # This configuration file was generated by `ameba --gen-config` -# on 2024-03-29 12:41:29 UTC using Ameba version 1.6.1. +# on 2024-04-11 17:06:41 UTC using Ameba version 1.6.1. # The point is for the user to remove these configuration records # one by one as the reported problems are removed from the code base. -# Problems found: 4 +# Problems found: 2 +# Run `ameba --only Lint/NotNil` for details +Lint/NotNil: + Description: Identifies usage of `not_nil!` calls + Excluded: + - benchmark/benchmark.cr + Enabled: true + Severity: Warning + +# Problems found: 3 # Run `ameba --only Naming/BlockParameterName` for details Naming/BlockParameterName: Description: Disallows non-descriptive block parameter names MinNameLength: 3 AllowNamesEndingInNumbers: true Excluded: + - benchmark/benchmark.cr - src/kd_tree.cr + - spec/kd_tree_spec.cr AllowedNames: - _ - e