na 1.2.79 → 1.2.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 482bb5668dec4d69c1a9fc41340f723589724730fb930ff9f45d5bbaa5bd3dd3
4
- data.tar.gz: fa3cd141c8cf0a7ad41d52f399e9f400bd35708112d3ce9cab6bf2b7795a96b1
3
+ metadata.gz: c4dc73a85eb981ab0057e442baca77e7711423d6d613e2a2325c4f010edb9d9a
4
+ data.tar.gz: 10c305c69642775ec7ad174a5e443738a62b13620a6c1ff5c24429253ba612b3
5
5
  SHA512:
6
- metadata.gz: a58d99161596166ce0b0ae34b45a35bcd86239e3606b05ec1431aed999f693475391a2e21ea3a7fdfb80bcf8d88ef2c3bcd3d20daaf34e474b2ab561d5051358
7
- data.tar.gz: 02f36b28b78d5fae3144450a34bb910c22a6097dc13512b12e35bbc34d290a2f085500865bba4f2514e55692d9d862ec26854662eb438557e2d8a50473f511e6
6
+ metadata.gz: 527ba9b2d9e437542948a258266f931eca7ee2c273120e5da3dd070e76dd6c459f83b38ed23164d78927b26704af2b52c4eff574c5b8e089a544039d0efb4cdc
7
+ data.tar.gz: '04324826716a3515782f38148350f965d9e9779f9d1802d2e2b454c0fb599af1ebbbbf75606b0383093229014c408cbb875356d0b825ebd47155c5f587cda3e4'
data/.rubocop.yml CHANGED
@@ -1,4 +1,10 @@
1
+ inherit_from: .rubocop_todo.yml
2
+
1
3
  AllCops:
2
4
  NewCops: enable
3
-
4
- inherit_from: .rubocop_todo.yml
5
+ Include:
6
+ - 'lib/na/**/*'
7
+ Exclude:
8
+ - 'pkg/**/*'
9
+ - 'test/**/*'
10
+ - 'bin/**/*'
data/.rubocop_todo.yml CHANGED
@@ -1,168 +1,11 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2025-03-17 11:03:34 UTC using RuboCop version 1.74.0.
3
+ # on 2025-10-25 12:09:08 UTC using RuboCop version 1.75.7.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
- # Offense count: 6
10
- # This cop supports safe autocorrection (--autocorrect).
11
- # Configuration parameters: Include.
12
- # Include: **/*.gemspec
13
- Gemspec/AddRuntimeDependency:
14
- Exclude:
15
- - 'na.gemspec'
16
-
17
- # Offense count: 2
18
- # Configuration parameters: EnforcedStyle, AllowedGems, Include.
19
- # SupportedStyles: Gemfile, gems.rb, gemspec
20
- # Include: **/*.gemspec, **/Gemfile, **/gems.rb
21
- Gemspec/DevelopmentDependencies:
22
- Exclude:
23
- - 'na.gemspec'
24
-
25
- # Offense count: 1
26
- # This cop supports safe autocorrection (--autocorrect).
27
- # Configuration parameters: Severity, Include.
28
- # Include: **/*.gemspec
29
- Gemspec/RequireMFA:
30
- Exclude:
31
- - 'na.gemspec'
32
-
33
- # Offense count: 1
34
- # Configuration parameters: Severity, Include.
35
- # Include: **/*.gemspec
36
- Gemspec/RequiredRubyVersion:
37
- Exclude:
38
- - 'na.gemspec'
39
-
40
- # Offense count: 1
41
- # This cop supports safe autocorrection (--autocorrect).
42
- # Configuration parameters: EnforcedStyleAlignWith.
43
- # SupportedStylesAlignWith: either, start_of_block, start_of_line
44
- Layout/BlockAlignment:
45
- Exclude:
46
- - 'lib/na/colors.rb'
47
-
48
- # Offense count: 1
49
- # This cop supports safe autocorrection (--autocorrect).
50
- Layout/ConditionPosition:
51
- Exclude:
52
- - 'bin/commands/init.rb'
53
-
54
- # Offense count: 12
55
- # This cop supports safe autocorrection (--autocorrect).
56
- Layout/ElseAlignment:
57
- Exclude:
58
- - 'bin/commands/add.rb'
59
- - 'bin/commands/find.rb'
60
- - 'bin/commands/next.rb'
61
- - 'bin/commands/tagged.rb'
62
- - 'lib/na/actions.rb'
63
-
64
- # Offense count: 2
65
- # This cop supports safe autocorrection (--autocorrect).
66
- Layout/EmptyLineAfterGuardClause:
67
- Exclude:
68
- - 'lib/na/next_action.rb'
69
- - 'lib/na/string.rb'
70
-
71
- # Offense count: 1
72
- # This cop supports safe autocorrection (--autocorrect).
73
- Layout/EmptyLinesAroundMethodBody:
74
- Exclude:
75
- - 'lib/na/next_action.rb'
76
-
77
- # Offense count: 12
78
- # This cop supports safe autocorrection (--autocorrect).
79
- # Configuration parameters: EnforcedStyleAlignWith, Severity.
80
- # SupportedStylesAlignWith: keyword, variable, start_of_line
81
- Layout/EndAlignment:
82
- Exclude:
83
- - 'bin/commands/add.rb'
84
- - 'bin/commands/find.rb'
85
- - 'bin/commands/next.rb'
86
- - 'bin/commands/tagged.rb'
87
- - 'lib/na/actions.rb'
88
-
89
- # Offense count: 1
90
- # This cop supports safe autocorrection (--autocorrect).
91
- Layout/HeredocIndentation:
92
- Exclude:
93
- - 'lib/na/action.rb'
94
-
95
- # Offense count: 1
96
- # This cop supports safe autocorrection (--autocorrect).
97
- # Configuration parameters: EnforcedStyle.
98
- # SupportedStyles: normal, indented_internal_methods
99
- Layout/IndentationConsistency:
100
- Exclude:
101
- - 'lib/na/hash.rb'
102
-
103
- # Offense count: 4
104
- # This cop supports safe autocorrection (--autocorrect).
105
- # Configuration parameters: IndentationWidth, EnforcedStyle.
106
- # SupportedStyles: spaces, tabs
107
- Layout/IndentationStyle:
108
- Exclude:
109
- - 'lib/na/hash.rb'
110
-
111
- # Offense count: 14
112
- # This cop supports safe autocorrection (--autocorrect).
113
- # Configuration parameters: Width, AllowedPatterns.
114
- Layout/IndentationWidth:
115
- Exclude:
116
- - 'bin/commands/add.rb'
117
- - 'bin/commands/find.rb'
118
- - 'bin/commands/next.rb'
119
- - 'bin/commands/tagged.rb'
120
- - 'lib/na/actions.rb'
121
- - 'lib/na/hash.rb'
122
-
123
- # Offense count: 2
124
- # This cop supports safe autocorrection (--autocorrect).
125
- Layout/SpaceAfterColon:
126
- Exclude:
127
- - 'lib/na/todo.rb'
128
-
129
- # Offense count: 1
130
- # This cop supports safe autocorrection (--autocorrect).
131
- Layout/SpaceAfterComma:
132
- Exclude:
133
- - 'na.gemspec'
134
-
135
- # Offense count: 1
136
- # This cop supports safe autocorrection (--autocorrect).
137
- # Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator, EnforcedStyleForRationalLiterals.
138
- # SupportedStylesForExponentOperator: space, no_space
139
- # SupportedStylesForRationalLiterals: space, no_space
140
- Layout/SpaceAroundOperators:
141
- Exclude:
142
- - 'na.gemspec'
143
-
144
- # Offense count: 2
145
- # This cop supports safe autocorrection (--autocorrect).
146
- # Configuration parameters: EnforcedStyle.
147
- # SupportedStyles: space, no_space
148
- Layout/SpaceInsideStringInterpolation:
149
- Exclude:
150
- - 'bin/commands/completed.rb'
151
- - 'lib/na/array.rb'
152
-
153
- # Offense count: 1
154
- # This cop supports safe autocorrection (--autocorrect).
155
- Lint/AmbiguousOperatorPrecedence:
156
- Exclude:
157
- - 'lib/na/string.rb'
158
-
159
- # Offense count: 1
160
- # This cop supports unsafe autocorrection (--autocorrect-all).
161
- # Configuration parameters: AllowSafeAssignment.
162
- Lint/AssignmentInCondition:
163
- Exclude:
164
- - 'bin/commands/init.rb'
165
-
166
9
  # Offense count: 3
167
10
  # Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches, IgnoreDuplicateElseBranch.
168
11
  Lint/DuplicateBranch:
@@ -171,195 +14,86 @@ Lint/DuplicateBranch:
171
14
  - 'lib/na/colors.rb'
172
15
 
173
16
  # Offense count: 1
174
- # Configuration parameters: AllowComments, AllowEmptyLambdas.
175
- Lint/EmptyBlock:
176
- Exclude:
177
- - 'Rakefile'
178
-
179
- # Offense count: 1
180
- # This cop supports unsafe autocorrection (--autocorrect-all).
181
- Lint/IncompatibleIoSelectWithFiberScheduler:
182
- Exclude:
183
- - 'lib/na/pager.rb'
184
-
185
- # Offense count: 1
186
- # This cop supports safe autocorrection (--autocorrect).
187
- Lint/RedundantStringCoercion:
17
+ Lint/SelfAssignment:
188
18
  Exclude:
189
19
  - 'lib/na/string.rb'
190
20
 
191
- # Offense count: 2
192
- # This cop supports safe autocorrection (--autocorrect).
193
- # Configuration parameters: AutoCorrect, IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
194
- Lint/UnusedBlockArgument:
195
- Exclude:
196
- - 'bin/commands/edit.rb'
197
- - 'bin/commands/tag.rb'
198
-
199
- # Offense count: 4
21
+ # Offense count: 1
200
22
  # This cop supports safe autocorrection (--autocorrect).
201
23
  # Configuration parameters: AutoCorrect, AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods, NotImplementedExceptions.
202
24
  # NotImplementedExceptions: NotImplementedError
203
25
  Lint/UnusedMethodArgument:
204
26
  Exclude:
205
- - 'lib/na/help_monkey_patch.rb'
206
- - 'lib/na/next_action.rb'
207
27
  - 'lib/na/string.rb'
208
28
 
209
- # Offense count: 1
210
- # This cop supports safe autocorrection (--autocorrect).
211
- # Configuration parameters: AutoCorrect.
212
- Lint/UselessAssignment:
213
- Exclude:
214
- - 'na.gemspec'
215
-
216
- # Offense count: 31
29
+ # Offense count: 35
217
30
  # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
218
31
  Metrics/AbcSize:
219
- Max: 181
32
+ Max: 274
220
33
 
221
- # Offense count: 31
34
+ # Offense count: 10
222
35
  # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
223
36
  # AllowedMethods: refine
224
37
  Metrics/BlockLength:
225
- Max: 208
38
+ Max: 141
226
39
 
227
- # Offense count: 12
40
+ # Offense count: 4
228
41
  # Configuration parameters: CountComments, CountAsOne.
229
42
  Metrics/ClassLength:
230
- Max: 711
43
+ Max: 788
231
44
 
232
- # Offense count: 20
45
+ # Offense count: 22
233
46
  # Configuration parameters: AllowedMethods, AllowedPatterns.
234
47
  Metrics/CyclomaticComplexity:
235
- Max: 51
48
+ Max: 73
236
49
 
237
- # Offense count: 36
50
+ # Offense count: 38
238
51
  # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
239
52
  Metrics/MethodLength:
240
- Max: 122
53
+ Max: 170
241
54
 
242
55
  # Offense count: 2
243
56
  # Configuration parameters: CountComments, CountAsOne.
244
57
  Metrics/ModuleLength:
245
- Max: 713
58
+ Max: 790
246
59
 
247
60
  # Offense count: 4
248
61
  # Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
249
62
  Metrics/ParameterLists:
250
63
  Max: 19
251
64
 
252
- # Offense count: 18
65
+ # Offense count: 21
253
66
  # Configuration parameters: AllowedMethods, AllowedPatterns.
254
67
  Metrics/PerceivedComplexity:
255
- Max: 57
256
-
257
- # Offense count: 1
258
- Security/Eval:
259
- Exclude:
260
- - 'Rakefile'
261
-
262
- # Offense count: 11
263
- # This cop supports unsafe autocorrection (--autocorrect-all).
264
- Security/IoMethods:
265
- Exclude:
266
- - 'Rakefile'
267
- - 'bin/commands/undo.rb'
268
- - 'lib/na/editor.rb'
269
- - 'lib/na/next_action.rb'
270
- - 'lib/na/string.rb'
271
- - 'lib/na/theme.rb'
272
- - 'scripts/fixreadme.rb'
68
+ Max: 87
273
69
 
274
- # Offense count: 1
70
+ # Offense count: 3
275
71
  # This cop supports unsafe autocorrection (--autocorrect-all).
276
72
  Security/YAMLLoad:
277
73
  Exclude:
278
- - 'lib/na/theme.rb'
279
-
280
- # Offense count: 4
281
- # This cop supports safe autocorrection (--autocorrect).
282
- # Configuration parameters: AllowOnConstant, AllowOnSelfClass.
283
- Style/CaseEquality:
284
- Exclude:
285
- - 'lib/na/hash.rb'
286
-
287
- # Offense count: 4
288
- # This cop supports safe autocorrection (--autocorrect).
289
- Style/ComparableBetween:
290
- Exclude:
291
- - 'lib/na/colors.rb'
292
-
293
- # Offense count: 1
294
- # This cop supports unsafe autocorrection (--autocorrect-all).
295
- Style/ConcatArrayLiterals:
296
- Exclude:
297
- - 'bin/commands/next.rb'
298
-
299
- # Offense count: 5
300
- # This cop supports safe autocorrection (--autocorrect).
301
- # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
302
- # SupportedStyles: assign_to_condition, assign_inside_condition
303
- Style/ConditionalAssignment:
304
- Exclude:
305
- - 'bin/commands/add.rb'
306
- - 'bin/commands/completed.rb'
307
- - 'lib/na/editor.rb'
308
74
  - 'lib/na/next_action.rb'
75
+ - 'lib/na/theme.rb'
309
76
 
310
- # Offense count: 27
77
+ # Offense count: 8
311
78
  # Configuration parameters: AllowedConstants.
312
79
  Style/Documentation:
313
- Enabled: false
314
-
315
- # Offense count: 2
316
- # This cop supports unsafe autocorrection (--autocorrect-all).
317
- Style/EnvHome:
318
80
  Exclude:
81
+ - 'spec/**/*'
82
+ - 'test/**/*'
319
83
  - 'lib/na/action.rb'
320
- - 'lib/na/string.rb'
321
-
322
- # Offense count: 11
323
- # This cop supports safe autocorrection (--autocorrect).
324
- # Configuration parameters: AllowedVars.
325
- Style/FetchEnvVar:
326
- Exclude:
327
- - 'bin/commands/changes.rb'
328
- - 'bin/commands/prompt.rb'
329
- - 'bin/na'
330
- - 'lib/na/action.rb'
331
- - 'lib/na/editor.rb'
332
- - 'lib/na/pager.rb'
333
- - 'lib/na/string.rb'
334
-
335
- # Offense count: 6
336
- # This cop supports unsafe autocorrection (--autocorrect-all).
337
- # Configuration parameters: EnforcedStyle.
338
- # SupportedStyles: always, always_true, never
339
- Style/FrozenStringLiteralComment:
340
- Exclude:
341
- - '**/*.arb'
342
- - 'Rakefile'
84
+ - 'lib/na/array.rb'
85
+ - 'lib/na/benchmark.rb'
343
86
  - 'lib/na/editor.rb'
344
- - 'lib/na/version.rb'
345
- - 'na.gemspec'
346
- - 'test/default_test.rb'
347
- - 'test/test_helper.rb'
87
+ - 'lib/na/hash.rb'
88
+ - 'lib/na/project.rb'
89
+ - 'lib/na/theme.rb'
90
+ - 'lib/na/todo.rb'
348
91
 
349
- # Offense count: 5
92
+ # Offense count: 2
350
93
  # This cop supports safe autocorrection (--autocorrect).
351
94
  Style/IfUnlessModifier:
352
95
  Exclude:
353
- - 'bin/commands/add.rb'
354
- - 'bin/commands/edit.rb'
355
- - 'bin/commands/move.rb'
356
- - 'bin/commands/update.rb'
357
- - 'lib/na/next_action.rb'
358
-
359
- # Offense count: 1
360
- # This cop supports unsafe autocorrection (--autocorrect-all).
361
- Style/MapIntoArray:
362
- Exclude:
96
+ - 'lib/na/benchmark.rb'
363
97
  - 'lib/na/colors.rb'
364
98
 
365
99
  # Offense count: 1
@@ -370,254 +104,15 @@ Style/ModuleFunction:
370
104
  Exclude:
371
105
  - 'lib/na/colors.rb'
372
106
 
373
- # Offense count: 3
374
- # This cop supports unsafe autocorrection (--autocorrect-all).
375
- # Configuration parameters: EnforcedStyle.
376
- # SupportedStyles: literals, strict
377
- Style/MutableConstant:
378
- Exclude:
379
- - 'lib/na/colors.rb'
380
- - 'lib/na/version.rb'
381
-
382
- # Offense count: 1
383
- # This cop supports safe autocorrection (--autocorrect).
384
- # Configuration parameters: EnforcedStyle.
385
- # SupportedStyles: both, prefix, postfix
386
- Style/NegatedIf:
387
- Exclude:
388
- - 'lib/na/next_action.rb'
389
-
390
- # Offense count: 2
391
- # This cop supports safe autocorrection (--autocorrect).
392
- Style/NestedTernaryOperator:
393
- Exclude:
394
- - 'lib/na/hash.rb'
395
-
396
- # Offense count: 1
397
- # This cop supports unsafe autocorrection (--autocorrect-all).
398
- # Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
399
- # SupportedStyles: predicate, comparison
400
- Style/NumericPredicate:
401
- Exclude:
402
- - 'spec/**/*'
403
- - 'lib/na/editor.rb'
404
-
405
- # Offense count: 1
406
- # This cop supports safe autocorrection (--autocorrect).
407
- Style/OperatorMethodCall:
408
- Exclude:
409
- - 'bin/commands/add.rb'
410
-
411
- # Offense count: 5
412
- # This cop supports safe autocorrection (--autocorrect).
413
- # Configuration parameters: PreferredDelimiters.
414
- Style/PercentLiteralDelimiters:
415
- Exclude:
416
- - 'bin/commands/completed.rb'
417
- - 'bin/commands/find.rb'
418
- - 'bin/na'
419
-
420
- # Offense count: 1
421
- # This cop supports unsafe autocorrection (--autocorrect-all).
422
- # Configuration parameters: EnforcedStyle, AllowedCompactTypes.
423
- # SupportedStyles: compact, exploded
424
- Style/RaiseArgs:
425
- Exclude:
426
- - 'Rakefile'
427
-
428
- # Offense count: 11
429
- # This cop supports unsafe autocorrection (--autocorrect-all).
430
- # Configuration parameters: Methods.
431
- Style/RedundantArgument:
432
- Exclude:
433
- - 'bin/commands/find.rb'
434
- - 'bin/commands/next.rb'
435
- - 'bin/commands/tagged.rb'
436
- - 'lib/na/colors.rb'
437
- - 'lib/na/next_action.rb'
438
- - 'lib/na/string.rb'
439
-
440
- # Offense count: 1
441
- # This cop supports safe autocorrection (--autocorrect).
442
- Style/RedundantFileExtensionInRequire:
443
- Exclude:
444
- - 'na.gemspec'
445
-
446
- # Offense count: 1
447
- # This cop supports unsafe autocorrection (--autocorrect-all).
448
- Style/RedundantInterpolation:
449
- Exclude:
450
- - 'bin/commands/next.rb'
451
-
452
- # Offense count: 38
453
- # This cop supports safe autocorrection (--autocorrect).
454
- Style/RedundantRegexpArgument:
455
- Exclude:
456
- - 'bin/commands/next.rb'
457
- - 'bin/commands/undo.rb'
458
- - 'lib/na/action.rb'
459
- - 'lib/na/colors.rb'
460
- - 'lib/na/editor.rb'
461
- - 'lib/na/next_action.rb'
462
- - 'lib/na/string.rb'
463
- - 'lib/na/todo.rb'
464
-
465
- # Offense count: 2
466
- # This cop supports safe autocorrection (--autocorrect).
467
- Style/RedundantRegexpEscape:
468
- Exclude:
469
- - 'scripts/fixreadme.rb'
470
-
471
- # Offense count: 2
472
- # This cop supports safe autocorrection (--autocorrect).
473
- Style/RedundantStringEscape:
474
- Exclude:
475
- - 'lib/na/next_action.rb'
476
-
477
- # Offense count: 12
478
- # This cop supports unsafe autocorrection (--autocorrect-all).
479
- # Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
480
- # AllowedMethods: present?, blank?, presence, try, try!
481
- Style/SafeNavigation:
482
- Exclude:
483
- - 'bin/commands/edit.rb'
484
- - 'bin/commands/move.rb'
485
- - 'bin/commands/tag.rb'
486
- - 'bin/commands/update.rb'
487
- - 'bin/na'
488
- - 'lib/na/actions.rb'
489
- - 'lib/na/next_action.rb'
490
-
491
- # Offense count: 1
492
- # Configuration parameters: Max.
493
- Style/SafeNavigationChainLength:
494
- Exclude:
495
- - 'lib/na/next_action.rb'
496
-
497
- # Offense count: 1
498
- # This cop supports unsafe autocorrection (--autocorrect-all).
499
- Style/SlicingWithRange:
500
- Exclude:
501
- - 'lib/na/editor.rb'
502
-
503
- # Offense count: 1
504
- # This cop supports unsafe autocorrection (--autocorrect-all).
505
- # Configuration parameters: RequireEnglish, EnforcedStyle.
506
- # SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
507
- Style/SpecialGlobalVars:
508
- Exclude:
509
- - 'lib/na/editor.rb'
510
-
511
- # Offense count: 2
512
- # This cop supports safe autocorrection (--autocorrect).
513
- Style/StderrPuts:
514
- Exclude:
515
- - 'lib/na/next_action.rb'
516
-
517
- # Offense count: 4
518
- # This cop supports unsafe autocorrection (--autocorrect-all).
519
- Style/StringChars:
520
- Exclude:
521
- - 'lib/na/colors.rb'
522
- - 'lib/na/string.rb'
523
-
524
- # Offense count: 1
525
- # This cop supports unsafe autocorrection (--autocorrect-all).
526
- # Configuration parameters: Mode.
527
- Style/StringConcatenation:
528
- Exclude:
529
- - 'lib/na/string.rb'
530
-
531
- # Offense count: 366
532
- # This cop supports safe autocorrection (--autocorrect).
533
- # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
534
- # SupportedStyles: single_quotes, double_quotes
535
- Style/StringLiterals:
536
- Exclude:
537
- - 'Gemfile'
538
- - 'Rakefile'
539
- - 'bin/commands/add.rb'
540
- - 'bin/commands/find.rb'
541
- - 'bin/commands/next.rb'
542
- - 'bin/commands/tagged.rb'
543
- - 'lib/na/actions.rb'
544
- - 'lib/na/editor.rb'
545
- - 'lib/na/project.rb'
546
- - 'lib/na/string.rb'
547
- - 'test/default_test.rb'
548
- - 'test/test_helper.rb'
549
-
550
- # Offense count: 16
551
- # This cop supports safe autocorrection (--autocorrect).
552
- # Configuration parameters: EnforcedStyle.
553
- # SupportedStyles: single_quotes, double_quotes
554
- Style/StringLiteralsInInterpolation:
555
- Exclude:
556
- - 'bin/commands/add.rb'
557
- - 'bin/commands/find.rb'
558
- - 'bin/commands/next.rb'
559
- - 'lib/na/actions.rb'
560
-
561
107
  # Offense count: 1
562
108
  # This cop supports safe autocorrection (--autocorrect).
563
- Style/SuperArguments:
564
- Exclude:
565
- - 'Rakefile'
566
-
567
- # Offense count: 2
568
- # This cop supports unsafe autocorrection (--autocorrect-all).
569
- # Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
570
- # AllowedMethods: define_method
571
- Style/SymbolProc:
109
+ Style/YAMLFileRead:
572
110
  Exclude:
573
- - 'lib/na/next_action.rb'
574
-
575
- # Offense count: 1
576
- # This cop supports safe autocorrection (--autocorrect).
577
- # Configuration parameters: EnforcedStyle, AllowSafeAssignment.
578
- # SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
579
- Style/TernaryParentheses:
580
- Exclude:
581
- - 'bin/commands/todos.rb'
582
-
583
- # Offense count: 2
584
- # This cop supports safe autocorrection (--autocorrect).
585
- # Configuration parameters: EnforcedStyleForMultiline.
586
- # SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
587
- Style/TrailingCommaInArrayLiteral:
588
- Exclude:
589
- - 'bin/commands/find.rb'
590
- - 'bin/commands/next.rb'
591
-
592
- # Offense count: 12
593
- # This cop supports safe autocorrection (--autocorrect).
594
- # Configuration parameters: EnforcedStyleForMultiline.
595
- # SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
596
- Style/TrailingCommaInHashLiteral:
597
- Exclude:
598
- - 'bin/commands/add.rb'
599
- - 'bin/commands/find.rb'
600
- - 'bin/commands/next.rb'
601
- - 'bin/commands/tagged.rb'
602
- - 'lib/na/actions.rb'
603
-
604
- # Offense count: 1
605
- # This cop supports safe autocorrection (--autocorrect).
606
- # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethods.
607
- # AllowedMethods: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
608
- Style/TrivialAccessors:
609
- Exclude:
610
- - 'lib/na/pager.rb'
611
-
612
- # Offense count: 1
613
- # This cop supports unsafe autocorrection (--autocorrect-all).
614
- Style/ZeroLengthPredicate:
615
- Exclude:
616
- - 'lib/na/next_action.rb'
111
+ - 'lib/na/theme.rb'
617
112
 
618
- # Offense count: 37
113
+ # Offense count: 19
619
114
  # This cop supports safe autocorrection (--autocorrect).
620
115
  # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
621
116
  # URISchemes: http, https
622
117
  Layout/LineLength:
623
- Max: 176
118
+ Max: 293