-
Notifications
You must be signed in to change notification settings - Fork 91
/
.reek.yml
100 lines (100 loc) · 3.15 KB
/
.reek.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Auto generated by Reeks --todo flag
---
detectors:
Attribute:
exclude:
- Transitions::Machine#events
- Transitions::Machine#initial_state
- Transitions::Machine#state_index
- Transitions::Machine#states
BooleanParameter:
exclude:
- Transitions#update_current_state
ControlParameter:
exclude:
- Transitions#update_current_state
DataClump:
exclude:
- Transitions::Machine
DuplicateMethodCall:
exclude:
- ActiveModel::Transitions#read_state
- ActiveModel::Transitions#reload
- ActiveModel::Transitions#set_initial_state
- Transitions::Event#fire
- Transitions::Event#initialize
- Transitions::Event#update
- Transitions::Machine#handle_event_success_callback
- Transitions::Machine#initial_state
- Transitions::State#define_state_query_method
FeatureEnvy:
exclude:
- Transitions::Event#can_execute_transition_from_state?
- Transitions::Event#default_timestamp_name
- Transitions::Event#error_message_for_invalid_transitions
InstanceVariableAssumption:
exclude:
- Transitions::Machine
- Transitions::State
IrresponsibleModule:
exclude:
- ActiveModel::Transitions
- Transitions::Machine
- Transitions::Presenter
- Transitions::State
- Transitions::StateTransition
- Transitions
- Transitions::ClassMethods
- Transitions::InvalidMethodOverride
- Transitions::InvalidTransition
LongParameterList:
exclude:
- Transitions::Event#can_execute_transition_from_state?
- Transitions::Event#fire
- Transitions::Machine#fire_event
- Transitions::Machine#transition_to_new_state
- Transitions::StateTransition#perform_guard
ManualDispatch:
exclude:
- Transitions::Event#default_timestamp_name
- Transitions::Event#error_message_for_invalid_transitions
- Transitions::Machine#fire_event
- Transitions::Machine#handle_event_failed_callback
- Transitions::Machine#handle_event_fired_callback
- Transitions::Machine#include_scopes
- Transitions::StateTransition#perform_guard
NestedIterators:
exclude:
- Transitions::Event#build_success_callback
NilCheck:
exclude:
- ActiveModel::Transitions#state_not_set?
- Transitions::Event#timestamp_defined?
- Transitions::StateTransition#execute
- Transitions#current_state
TooManyInstanceVariables:
exclude:
- Transitions::Event
- Transitions::Machine
- Transitions::StateTransition
TooManyStatements:
exclude:
- initialize
- Transitions::Event#build_success_callback
- Transitions::Event#fire
- Transitions::Machine#fire_event
- Transitions#current_state
UncommunicativeVariableName:
exclude:
- ActiveModel::Transitions#state_included?
- Transitions::Event#can_execute_transition_from_state?
- Transitions::Event#fire
- Transitions::Event#transitions
- Transitions::Event#transitions_from_state?
- Transitions::Machine#fire_event
- Transitions::StateTransition#executable?
UtilityFunction:
exclude:
- Transitions::Machine#handle_event_failed_callback
- Transitions::Machine#handle_event_fired_callback
- Transitions::StateTransition#perform_guard