File: .rubocop_todo.yml

package info (click to toggle)
ruby-fog-aliyun 0.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 620 kB
  • sloc: ruby: 5,181; makefile: 6; sh: 3
file content (150 lines) | stat: -rw-r--r-- 5,015 bytes parent folder | download | duplicates (3)
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2018-06-22 19:29:12 -0300 using RuboCop version 0.57.2.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 4
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
  Exclude:
    - 'lib/fog/aliyun/requests/compute/create_server.rb'
    - 'lib/fog/aliyun/requests/compute/delete_server.rb'

# Offense count: 4
Lint/RandOne:
  Exclude:
    - 'lib/fog/aliyun/requests/compute/list_images.rb'
    - 'lib/fog/aliyun/requests/compute/list_route_tables.rb'
    - 'lib/fog/aliyun/requests/compute/list_servers.rb'
    - 'lib/fog/aliyun/requests/compute/list_vrouters.rb'

# Offense count: 1
Lint/UnreachableCode:
  Exclude:
    - 'lib/fog/aliyun/models/storage/directory.rb'

# Offense count: 26
Lint/UriEscapeUnescape:
  Enabled: false

# Offense count: 37
Lint/UselessAssignment:
  Exclude:
    - 'lib/fog/aliyun/requests/compute/create_server.rb'
    - 'lib/fog/aliyun/requests/compute/list_disks.rb'
    - 'lib/fog/aliyun/requests/compute/list_security_groups.rb'
    - 'lib/fog/aliyun/requests/storage/delete_object.rb'
    - 'lib/fog/aliyun/requests/storage/get_bucket.rb'
    - 'lib/fog/aliyun/requests/storage/get_container.rb'
    - 'lib/fog/aliyun/requests/storage/get_containers.rb'
    - 'lib/fog/aliyun/requests/storage/get_object_http_url.rb'
    - 'lib/fog/aliyun/requests/storage/get_object_https_url.rb'
    - 'lib/fog/aliyun/requests/storage/list_buckets.rb'
    - 'lib/fog/aliyun/requests/storage/list_objects.rb'
    - 'lib/fog/aliyun/requests/storage/put_bucket.rb'
    - 'lib/fog/aliyun/requests/storage/put_object.rb'
    - 'lib/fog/aliyun/storage.rb'

# Offense count: 7
# Configuration parameters: CountComments.
Metrics/ClassLength:
  Max: 154

# Offense count: 87
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
  Max: 247

# Offense count: 1
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
  Max: 6

# Offense count: 17
Metrics/PerceivedComplexity:
  Max: 19

# Offense count: 7
# Configuration parameters: EnforcedStyle.
# SupportedStyles: snake_case, camelCase
Naming/MethodName:
  Exclude:
    - 'lib/fog/aliyun/compute.rb'
    - 'lib/fog/aliyun/requests/storage/get_bucket.rb'

# Offense count: 48
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: io, id, to, by, on, in, at
Naming/UncommunicativeMethodParamName:
  Enabled: false

# Offense count: 5
Performance/Caller:
  Exclude:
    - 'lib/fog/aliyun/models/compute/images.rb'
    - 'lib/fog/aliyun/models/compute/snapshots.rb'
    - 'lib/fog/aliyun/models/compute/volumes.rb'
    - 'lib/fog/aliyun/models/compute/vpcs.rb'
    - 'lib/fog/aliyun/models/compute/vrouters.rb'

# Offense count: 1
Style/ClassVars:
  Exclude:
    - 'lib/fog/bin/aliyun.rb'

# Offense count: 7
# Configuration parameters: EnforcedStyle.
# SupportedStyles: each, for
Style/For:
  Exclude:
    - 'lib/fog/aliyun/models/storage/files.rb'
    - 'lib/fog/aliyun/requests/compute/list_images.rb'
    - 'lib/fog/aliyun/requests/compute/list_route_tables.rb'
    - 'lib/fog/aliyun/requests/compute/list_servers.rb'
    - 'lib/fog/aliyun/requests/compute/list_vrouters.rb'
    - 'lib/fog/aliyun/requests/storage/put_object.rb'

# Offense count: 4
# Configuration parameters: AllowedVariables.
Style/GlobalVars:
  Exclude:
    - 'lib/fog/aliyun/models/compute/server.rb'
    - 'lib/fog/aliyun/models/compute/vpcs.rb'
    - 'lib/fog/aliyun/models/compute/vrouter.rb'
    - 'lib/fog/aliyun/models/compute/vswitch.rb'

# Offense count: 11
# Configuration parameters: MinBodyLength.
Style/GuardClause:
  Exclude:
    - 'lib/fog/aliyun/models/compute/security_groups.rb'
    - 'lib/fog/aliyun/models/compute/snapshots.rb'
    - 'lib/fog/aliyun/models/compute/volumes.rb'
    - 'lib/fog/aliyun/models/storage/file.rb'
    - 'lib/fog/aliyun/requests/compute/delete_security_group.rb'
    - 'lib/fog/aliyun/requests/compute/delete_server.rb'
    - 'lib/fog/aliyun/requests/compute/delete_vpc.rb'
    - 'lib/fog/aliyun/requests/compute/delete_vpn_connection.rb'
    - 'lib/fog/aliyun/requests/compute/delete_vpn_customergateway.rb'
    - 'lib/fog/aliyun/requests/compute/delete_vswitch.rb'
    - 'lib/fog/aliyun/requests/compute/list_security_group_rules.rb'

# Offense count: 2
Style/IdenticalConditionalBranches:
  Exclude:
    - 'lib/fog/aliyun/models/storage/files.rb'

# Offense count: 1
Style/IfInsideElse:
  Exclude:
    - 'lib/fog/aliyun/models/compute/security_group_rule.rb'

# Offense count: 2
Style/MultipleComparison:
  Exclude:
    - 'lib/fog/aliyun/requests/storage/get_object_http_url.rb'
    - 'lib/fog/aliyun/requests/storage/get_object_https_url.rb'