Skip to content

Commit b15312e

Browse files
committed
fix: adapt to 0.9 updates
1 parent 1f7a2d0 commit b15312e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.nimalyzer.cfg

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ showSummary true
55
# check hasPragma all contractual "raises: [*"
66
# explanation Contracts helps in testing the program and all declared procedures should have declared contracts for them. The procedures should avoid raising exceptions and handle each possible exception by themselves for greater stability of the program.
77

8-
check paramsUsed procedures
9-
explanation Unused parameters only clutter the source code and can cause confusion.
10-
11-
check paramsUsed macros
8+
check params used all
129
explanation Unused parameters only clutter the source code and can cause confusion.
1310

1411
# TODO
@@ -55,7 +52,7 @@ explanation Short case statements can be replaced by if statements for better re
5552
check ifStatements max 3
5653
explanation Long if statements can be replaced by case statements for better readability.
5754

58-
check complexity cyclomatic all 40
55+
check complexity all 40
5956
explanation A code with high cyclomatic complexity is hard to understand and maintain. Please reduce the amount of the code branches (like, loops, if or case statements).
6057

6158
check not trystatements empty

0 commit comments

Comments
 (0)