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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559 | ************* Module cloudinit.warnings
W:133, 4: Using deprecated method warn() (deprecated-method)
W:136, 8: Specify string format arguments as logging function parameters (logging-not-lazy)
************* Module cloudinit.url_helper
W:471, 0: Bad indentation. Found 16 spaces, expected 12 (bad-indentation)
E: 33, 4: Unable to import 'httplib' (import-error)
W: 94, 0: Unused argument 'args' (unused-argument)
W: 94, 0: Unused argument 'kwargs' (unused-argument)
W:158,12: Using deprecated method warn() (deprecated-method)
W:347,19: Catching too general exception Exception (broad-except)
W:418,12: Using deprecated method warn() (deprecated-method)
W:424,15: Catching too general exception Exception (broad-except)
W:425,12: Using deprecated method warn() (deprecated-method)
W:433,12: Using deprecated method warn() (deprecated-method)
W:496, 4: Unused variable 'uri' (unused-variable)
W:496,25: Unused variable 'body' (unused-variable)
************* Module cloudinit.netinfo
W:155,11: Catching too general exception Exception (broad-except)
W:168,11: Catching too general exception Exception (broad-except)
W:189,11: Catching too general exception Exception (broad-except)
************* Module cloudinit.ec2_utils
W: 41,16: Using deprecated method warn() (deprecated-method)
W:128,16: Using deprecated method warn() (deprecated-method)
W:134,39: Unused argument '_request_args' (unused-argument)
W:161,11: Catching too general exception Exception (broad-except)
W:190,11: Catching too general exception Exception (broad-except)
************* Module cloudinit.serial
W: 20,18: Unused argument 'data' (unused-argument)
W: 35,17: Unused argument 'size' (unused-argument)
W: 6, 4: Unused Serial imported from serial (unused-import)
************* Module cloudinit.templater
W:106,12: Using deprecated method warn() (deprecated-method)
W:112,12: Using deprecated method warn() (deprecated-method)
W:142, 4: Unused variable 'template_type' (unused-variable)
************* Module cloudinit.cloud
W: 59,12: Using deprecated method warn() (deprecated-method)
************* Module cloudinit.user_data
W:153, 0: TODO(harlowja): Should this be happening, shouldn't (fixme)
W:251, 0: TODO(harlowja) raise? (fixme)
W:112,20: Using deprecated method warn() (deprecated-method)
W:169,19: Catching too general exception Exception (broad-except)
W:231,20: Using deprecated method warn() (deprecated-method)
************* Module cloudinit.gpg
W: 46, 8: Using deprecated method warn() (deprecated-method)
************* Module cloudinit.log
W: 95,15: Catching too general exception Exception (broad-except)
************* Module cloudinit.helpers
W: 43,33: Unused argument '_clear_on_fail' (unused-argument)
W:129,12: Specify string format arguments as logging function parameters (logging-not-lazy)
W:129,12: Using deprecated method warn() (deprecated-method)
W:210,19: Catching too general exception Exception (broad-except)
W:221,19: Catching too general exception Exception (broad-except)
W:242,23: Catching too general exception Exception (broad-except)
W:259,23: Catching too general exception Exception (broad-except)
W:378,12: Using deprecated method warn() (deprecated-method)
************* Module cloudinit.patcher
W: 32,20: Unused argument 'self' (unused-argument)
************* Module cloudinit.mergers
W: 27,51: Unused argument '_merge_with' (unused-argument)
W: 27,30: Unused argument '_meth_wanted' (unused-argument)
************* Module cloudinit.stages
W:403, 0: TODO(harlowja) Hmmm, should we dynamically import these?? (fixme)
W:771, 0: TODO(harlowja): possibly check the module (fixme)
W:533, 0: Bad indentation. Found 16 spaces, expected 12 (bad-indentation)
W:537, 0: Bad indentation. Found 16 spaces, expected 12 (bad-indentation)
W:166,12: Using deprecated method warn() (deprecated-method)
W:303,15: Catching too general exception Exception (broad-except)
W:336,15: Catching too general exception Exception (broad-except)
W:460,23: Catching too general exception Exception (broad-except)
W:450,24: Using deprecated method warn() (deprecated-method)
W:518,23: Catching too general exception Exception (broad-except)
W:571,12: Using deprecated method warn() (deprecated-method)
W:637,15: Catching too general exception Exception (broad-except)
W:635,12: Specify string format arguments as logging function parameters (logging-not-lazy)
W:638,12: Using deprecated method warn() (deprecated-method)
W:654,12: Using deprecated method warn() (deprecated-method)
W:740,16: Using deprecated method warn() (deprecated-method)
W:747,16: Using deprecated method warn() (deprecated-method)
W:793,19: Catching too general exception Exception (broad-except)
W:863,11: Catching too general exception Exception (broad-except)
W:868,11: Catching too general exception Exception (broad-except)
W:878,11: Catching too general exception Exception (broad-except)
W:880,12: Specify string format arguments as logging function parameters (logging-not-lazy)
W:880,12: Using deprecated method warn() (deprecated-method)
W:881, 8: Unnecessary pass statement (unnecessary-pass)
W:888,11: Catching too general exception Exception (broad-except)
************* Module cloudinit.distros.arch
W: 20, 0: Method '_write_network_config' is abstract in class 'Distro' but is not overridden (abstract-method)
W: 86,16: Using deprecated method warn() (deprecated-method)
W: 97,16: Using deprecated method warn() (deprecated-method)
************* Module cloudinit.distros.debian
W:224,11: Catching too general exception Exception (broad-except)
W:227, 4: Using deprecated method warn() (deprecated-method)
************* Module cloudinit.distros.sles
W: 22, 0: Method '_write_network_config' is abstract in class 'Distro' but is not overridden (abstract-method)
************* Module cloudinit.distros.gentoo
W: 22, 0: Method '_write_network_config' is abstract in class 'Distro' but is not overridden (abstract-method)
W: 99,24: Using deprecated method warn() (deprecated-method)
W:124,16: Using deprecated method warn() (deprecated-method)
W:141,20: Using deprecated method warn() (deprecated-method)
************* Module cloudinit.distros.ug_util
W:217,12: Using deprecated method warn() (deprecated-method)
W:230, 8: Using deprecated method warn() (deprecated-method)
W:242, 8: Using deprecated method warn() (deprecated-method)
************* Module cloudinit.distros.net_util
W: 16, 0: TODO(harlowja) remove when we have python-netcf active... (fixme)
************* Module cloudinit.distros
W:104,15: Catching too general exception Exception (broad-except)
W:146, 8: Using deprecated method warn() (deprecated-method)
W:338,16: Using deprecated method warn() (deprecated-method)
W:361,12: Specify string format arguments as logging function parameters (logging-not-lazy)
W:523,20: Using deprecated method warn() (deprecated-method)
W:598,16: Specify string format arguments as logging function parameters (logging-not-lazy)
W:650,12: Specify string format arguments as logging function parameters (logging-not-lazy)
W:650,12: Using deprecated method warn() (deprecated-method)
W:655,19: Catching too general exception Exception (broad-except)
W:654,16: Specify string format arguments as logging function parameters (logging-not-lazy)
W:662,20: Using deprecated method warn() (deprecated-method)
W:667,16: Specify string format arguments as logging function parameters (logging-not-lazy)
W:711, 4: Specify string format arguments as logging function parameters (logging-not-lazy)
************* Module cloudinit.util
W:1444, 0: TODO(harlowja) use a se guard here?? (fixme)
W: 99,12: Using deprecated method warn() (deprecated-method)
W:103, 8: Using deprecated method warn() (deprecated-method)
W:114, 4: Using global for '_LSB_RELEASE' but no assignment is done (global-variable-not-assigned)
W:233,17: Redefining name 'errno' from outer scope (line 15) (redefined-outer-name)
W:286, 8: Redefining name 'indent' from outer scope (line 2377) (redefined-outer-name)
W:368,15: Catching too general exception Exception (broad-except)
W:367,12: Access to a protected member _exit of a client class (protected-access)
W:371,12: Access to a protected member _exit of a client class (protected-access)
W:483,11: Catching too general exception Exception (broad-except)
W:562,11: Catching too general exception Exception (broad-except)
W:593,16: Using deprecated method linux_distribution() (deprecated-method)
W:868,12: Using deprecated method warn() (deprecated-method)
W:1104, 4: Using the global statement (global-statement)
W:1162,15: Catching too general exception Exception (broad-except)
W:1272, 4: Using the global statement (global-statement)
W:1281,15: Catching too general exception Exception (broad-except)
W:1282,12: Using deprecated method warn() (deprecated-method)
W:1287,15: Catching too general exception Exception (broad-except)
W:1507,19: Catching too general exception Exception (broad-except)
W:1638,11: Catching too general exception Exception (broad-except)
W:1664,11: Catching too general exception Exception (broad-except)
W:2170,15: Catching too general exception Exception (broad-except)
W:2286,11: Catching too general exception Exception (broad-except)
W:2339, 4: Using deprecated method warn() (deprecated-method)
W:2344,24: Redefining name 'string' from outer scope (line 30) (redefined-outer-name)
************* Module cloudinit.distros.rhel
W: 59, 0: TODO(harlowja) fix this... since this is the ubuntu format (fixme)
************* Module cloudinit.distros.parsers.resolv_conf
W: 70,37: Unused variable '_comment_tail' (unused-variable)
W: 84,12: Specify string format arguments as logging function parameters (logging-not-lazy)
W: 84,12: Using deprecated method warn() (deprecated-method)
W: 99,22: Unused variable '_cfg_value' (unused-variable)
W: 99,34: Unused variable '_comment_tail' (unused-variable)
************* Module cloudinit.reporting.events
W:195,16: Unused variable 'name' (unused-variable)
W:195,30: Unused variable 'msg' (unused-variable)
W:218, 8: Attribute '_message' defined outside __init__ (attribute-defined-outside-init)
W:208, 8: Attribute '_result' defined outside __init__ (attribute-defined-outside-init)
************* Module cloudinit.reporting.handlers
W: 39,19: Catching too general exception Exception (broad-except)
W: 40,16: Using deprecated method warn() (deprecated-method)
W: 84,15: Catching too general exception Exception (broad-except)
W: 85,12: Specify string format arguments as logging function parameters (logging-not-lazy)
W: 85,12: Using deprecated method warn() (deprecated-method)
************* Module cloudinit.handlers.boot_hook
W: 44, 4: Arguments number differs from overridden 'handle_part' method (arguments-differ)
W: 56,15: Catching too general exception Exception (broad-except)
W: 44,26: Unused argument 'data' (unused-argument)
W: 44,58: Unused argument 'frequency' (unused-argument)
************* Module cloudinit.handlers.upstart_job
W: 34, 4: Arguments number differs from overridden 'handle_part' method (arguments-differ)
W: 34,26: Unused argument 'data' (unused-argument)
W: 70,11: Catching too general exception Exception (broad-except)
W: 86,15: Catching too general exception Exception (broad-except)
W:100,15: Catching too general exception Exception (broad-except)
************* Module cloudinit.handlers.shell_script
W: 37, 0: TODO(harlowja): maybe delete existing things here (fixme)
W: 35, 4: Arguments number differs from overridden 'handle_part' method (arguments-differ)
W: 35,26: Unused argument 'data' (unused-argument)
W: 35,58: Unused argument 'frequency' (unused-argument)
************* Module cloudinit.handlers.cloud_config
W:129, 4: Arguments number differs from overridden 'handle_part' method (arguments-differ)
W:149,15: Catching too general exception Exception (broad-except)
W:129,26: Unused argument 'data' (unused-argument)
W:129,58: Unused argument 'frequency' (unused-argument)
************* Module cloudinit.distros.freebsd
W:110, 0: Anomalous backslash in string: '\d'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
W:117, 0: Anomalous backslash in string: '\w'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
W:127, 0: Anomalous backslash in string: '\d'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
W: 27, 0: Method '_write_network_config' is abstract in class 'Distro' but is not overridden (abstract-method)
W:113,14: Unused variable 'err' (unused-variable)
W:148, 4: Signature differs from overridden 'create_group' method (signature-differs)
W:151,12: Using deprecated method warn() (deprecated-method)
W:163,20: Using deprecated method warn() (deprecated-method)
W:169,23: Catching too general exception Exception (broad-except)
W:372,12: Using deprecated method warn() (deprecated-method)
************* Module cloudinit.config.cc_resizefs
W:103, 0: TODO(harlowja) is the directory ok to be used?? (fixme)
W:107, 0: TODO(harlowja): allow what is to be resized to be configurable?? (fixme)
W:199, 0: TODO(harlowja): Should we add a fsck check after this to make (fixme)
W: 45,31: Unused argument 'devpth' (unused-argument)
W: 49,16: Unused argument 'mount_point' (unused-argument)
W: 53,16: Unused argument 'mount_point' (unused-argument)
W: 57,16: Unused argument 'mount_point' (unused-argument)
************* Module cloudinit.handlers.__init__
W:138, 0: TODO(harlowja): Check if path exists?? (fixme)
************* Module cloudinit.handlers
W:109,11: Catching too general exception Exception (broad-except)
W:148,11: Catching too general exception Exception (broad-except)
W:249,12: Using deprecated method warn() (deprecated-method)
************* Module cloudinit.config.cc_rightscale_userdata
W: 89, 0: TODO(harlowja): maybe this should just be a new user data handler?? (fixme)
W: 69,11: Catching too general exception Exception (broad-except)
W:101,15: Catching too general exception Exception (broad-except)
************* Module cloudinit.config.cc_fan
W: 67,12: Using deprecated method warn() (deprecated-method)
W: 63,17: Unused argument 'msg' (unused-argument)
W: 77, 8: Using deprecated method warn() (deprecated-method)
W: 85,29: Unused argument 'log' (unused-argument)
W: 85,34: Unused argument 'args' (unused-argument)
************* Module cloudinit.config.cc_power_state_change
W: 77, 0: Anomalous backslash in string: '\d'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
W: 77, 0: Anomalous backslash in string: '\w'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
W: 77, 0: Anomalous backslash in string: '\.'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
W: 77, 0: Anomalous backslash in string: '\s'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
W: 77, 0: Anomalous backslash in string: '\w'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
W:109,11: Catching too general exception Exception (broad-except)
W:122,11: Catching too general exception Exception (broad-except)
W:193, 4: Access to a protected member _exit of a client class (protected-access)
W:202,11: Catching too general exception Exception (broad-except)
W:239,15: Catching too general exception Exception (broad-except)
W:253,11: Catching too general exception Exception (broad-except)
************* Module cloudinit.config.cc_runcmd
W: 57,11: Catching too general exception Exception (broad-except)
************* Module cloudinit.config.cc_ntp
W: 55,29: Unused argument 'log' (unused-argument)
************* Module cloudinit.config.cc_byobu
W: 81,15: Unused variable '_user_config' (unused-variable)
************* Module cloudinit.config.cc_final_message
W: 75,11: Catching too general exception Exception (broad-except)
W: 82,11: Catching too general exception Exception (broad-except)
************* Module cloudinit.config.cc_set_passwords
W:129,15: Catching too general exception Exception (broad-except)
W:145,23: Catching too general exception Exception (broad-except)
W:207,15: Catching too general exception Exception (broad-except)
W:106,15: Unused variable '_user_config' (unused-variable)
************* Module cloudinit.config
W: 40,12: Using deprecated method warn() (deprecated-method)
************* Module cloudinit.config.cc_puppet
W:135, 0: TODO(harlowja) should this use the cloud fqdn?? (fixme)
************* Module cloudinit.config.cc_phone_home
W: 90,11: Catching too general exception Exception (broad-except)
W:112,15: Catching too general exception Exception (broad-except)
W:142,11: Catching too general exception Exception (broad-except)
************* Module cloudinit.config.cc_ssh_import_id
W: 63,19: Catching too general exception Exception (broad-except)
W: 70,15: Catching too general exception Exception (broad-except)
W: 80,15: Catching too general exception Exception (broad-except)
************* Module cloudinit.config.cc_rsyslog
W:206, 0: Anomalous backslash in string: '\]'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
W:206, 0: Anomalous backslash in string: '\]'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
W:255,16: Using deprecated method warn() (deprecated-method)
W:265,12: Using deprecated method warn() (deprecated-method)
W:281,15: Catching too general exception Exception (broad-except)
W:392,12: Using deprecated method warn() (deprecated-method)
************* Module cloudinit.config.cc_yum_add_repo
W: 62, 0: TODO(harlowja): move to distro? (fixme)
************* Module cloudinit.config.cc_chef
W:148,28: Unused argument 'log' (unused-argument)
************* Module cloudinit.config.cc_rh_subscription
W: 55,33: Access to a protected member _verify_keys of a client class (protected-access)
W: 69,23: Access to a protected member _set_service_level of a client class (protected-access)
W: 75,23: Access to a protected member _set_auto_attach of a client class (protected-access)
W:208,28: Unused variable 'return_err' (unused-variable)
W:256,24: Unused variable 'return_err' (unused-variable)
W:294,17: Unused variable 'errors' (unused-variable)
W:311,20: Unused variable 'return_err' (unused-variable)
W:355,50: Using possibly undefined loop variable 'pool' (undefined-loop-variable)
W: 48, 4: Attribute 'log' defined outside __init__ (attribute-defined-outside-init)
************* Module cloudinit.config.cc_lxd
W:124,19: Catching too general exception Exception (broad-except)
W: 56,34: Unused argument 'args' (unused-argument)
************* Module cloudinit.config.cc_resolv_conf
W: 80, 4: Specify string format arguments as logging function parameters (logging-not-lazy)
************* Module cloudinit.config.cc_grub_dpkg
W: 94,11: Catching too general exception Exception (broad-except)
************* Module cloudinit.config.cc_emit_upstart
W: 71, 0: TODO(harlowja), use log exception from utils?? (fixme)
W: 46,14: Unused variable 'err' (unused-variable)
W: 70,15: Catching too general exception Exception (broad-except)
************* Module cloudinit.config.cc_mounts
W:219, 4: Specify string format arguments as logging function parameters (logging-not-lazy)
W:269, 8: Using deprecated method warn() (deprecated-method)
W:291,15: Catching too general exception Exception (broad-except)
W:292,12: Using deprecated method warn() (deprecated-method)
W:302,11: Catching too general exception Exception (broad-except)
W:303, 8: Using deprecated method warn() (deprecated-method)
W:431,15: Catching too general exception Exception (broad-except)
W:438,15: Catching too general exception Exception (broad-except)
************* Module cloudinit.config.cc_snap_config
W:148,34: Unused argument 'args' (unused-argument)
W:148,29: Unused argument 'log' (unused-argument)
************* Module cloudinit.config.cc_ssh
W:148, 0: TODO(harlowja): Is this guard needed? (fixme)
W:169, 0: TODO(harlowja): Is this guard needed? (fixme)
W:131,19: Catching too general exception Exception (broad-except)
W:152,19: Catching too general exception Exception (broad-except)
W:196,11: Catching too general exception Exception (broad-except)
W:185,15: Unused variable '_user_config' (unused-variable)
************* Module cloudinit.config.cc_apt_configure
W: 9, 0: Anomalous backslash in string: '\w'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
W: 9, 0: Anomalous backslash in string: '\w'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
W:271, 8: Using the global statement (global-statement)
W:336, 8: Using deprecated method warn() (deprecated-method)
W:361, 8: Unused variable 'key' (unused-variable)
W:430,16: Using deprecated method warn() (deprecated-method)
W:438, 8: Using deprecated method warn() (deprecated-method)
W:514,12: Using deprecated method warn() (deprecated-method)
W:757,15: Catching too general exception Exception (broad-except)
************* Module cloudinit.config.cc_snappy
W:212,21: Unused variable 'version' (unused-variable)
W:212,15: Unused variable 'date' (unused-variable)
W:221, 9: Unused variable 'err' (unused-variable)
W:249, 4: Using the global statement (global-statement)
W:284,15: Catching too general exception Exception (broad-except)
W:286,12: Using deprecated method warn() (deprecated-method)
W:306, 8: Using deprecated method warn() (deprecated-method)
W:259,34: Unused argument 'args' (unused-argument)
W:259,29: Unused argument 'log' (unused-argument)
************* Module cloudinit.config.cc_package_update_upgrade_install
W:104, 0: TODO(smoser): handle this less violently (fixme)
W: 86,15: Catching too general exception Exception (broad-except)
W: 93,15: Catching too general exception Exception (broad-except)
W:100,15: Catching too general exception Exception (broad-except)
W:115,15: Catching too general exception Exception (broad-except)
************* Module cloudinit.config.cc_disk_setup
W:138,19: Catching too general exception Exception (broad-except)
W:156,19: Catching too general exception Exception (broad-except)
W:184,12: Using deprecated method warn() (deprecated-method)
W:281,11: Catching too general exception Exception (broad-except)
W:282, 8: Specify string format arguments as logging function parameters (logging-not-lazy)
W:282, 8: Using deprecated method warn() (deprecated-method)
W:375, 4: Using deprecated method warn() (deprecated-method)
W:490,39: Unused argument 'layout' (unused-argument)
W:641,16: Specify string format arguments as logging function parameters (logging-not-lazy)
W:672,11: Catching too general exception Exception (broad-except)
W:703, 8: Specify string format arguments as logging function parameters (logging-not-lazy)
W:703, 8: Using deprecated method warn() (deprecated-method)
W:739, 4: Specify string format arguments as logging function parameters (logging-not-lazy)
W:769, 8: Specify string format arguments as logging function parameters (logging-not-lazy)
W:777, 4: Specify string format arguments as logging function parameters (logging-not-lazy)
W:802, 4: Specify string format arguments as logging function parameters (logging-not-lazy)
W:802, 4: Using deprecated method warn() (deprecated-method)
W:861,16: Using deprecated method warn() (deprecated-method)
W:886,12: Specify string format arguments as logging function parameters (logging-not-lazy)
W:893, 8: Specify string format arguments as logging function parameters (logging-not-lazy)
W:904, 8: Using deprecated method warn() (deprecated-method)
W:926,12: Using deprecated method warn() (deprecated-method)
************* Module cloudinit.net.cmdline
W: 94, 8: Unused variable 'v' (unused-variable)
************* Module cloudinit.net
W: 54,22: Unused argument 'e' (unused-argument)
W:186,39: Unused argument 'strict_present' (unused-argument)
W:186,60: Unused argument 'strict_busy' (unused-argument)
W:330,19: Catching too general exception Exception (broad-except)
************* Module cloudinit.net.netplan
W:217,21: Access to a protected member _network_state of a client class (protected-access)
W:362, 4: Redefining name 'renderer' from outer scope (line 6) (redefined-outer-name)
W:370,15: Access to a protected member _render_content of a client class (protected-access)
************* Module cloudinit.net.renderer
W: 30, 0: TODO(harlowja): this seems shared between eni renderer and (fixme)
************* Module cloudinit.net.eni
W: 33, 0: TODO: switch valid_map based on mode inet/inet6 (fixme)
W: 59, 0: TODO: switch to valid_map for attrs (fixme)
W: 34,22: Unused argument 'iface' (unused-argument)
W: 92,30: Unused argument 'index' (unused-argument)
W:418,-1: String statement has no effect (pointless-string-statement)
W:480, 4: Redefining name 'renderer' from outer scope (line 10) (redefined-outer-name)
W:490,15: Access to a protected member _render_interfaces of a client class (protected-access)
************* Module cloudinit.net.sysconfig
W:257, 0: TODO(harlowja): add validation that no other iface has (fixme)
W: 98, 8: Access to a protected member _conf of a client class (protected-access)
W:158, 8: Access to a protected member _conf of a client class (protected-access)
W:148, 8: Attribute '_kind' defined outside __init__ (attribute-defined-outside-init)
************* Module cloudinit.sources.DataSourceEc2
W:287, 0: Bad indentation. Found 12 spaces, expected 8 (bad-indentation)
W: 80,15: Catching too general exception Exception (broad-except)
W: 99,15: Catching too general exception Exception (broad-except)
W:105,15: Catching too general exception Exception (broad-except)
W:128,12: Using deprecated method warn() (deprecated-method)
W:235, 8: Using deprecated method warn() (deprecated-method)
W:273, 8: Using deprecated method warn() (deprecated-method)
W:306,15: Catching too general exception Exception (broad-except)
W:307,12: Using deprecated method warn() (deprecated-method)
W:320,11: Catching too general exception Exception (broad-except)
************* Module cloudinit.sources.DataSourceCloudStack
W: 84,15: Catching too general exception Exception (broad-except)
W: 93,15: Catching too general exception Exception (broad-except)
W:153,15: Catching too general exception Exception (broad-except)
W:139,19: Catching too general exception Exception (broad-except)
************* Module cloudinit.net.network_state
W:245,20: Using deprecated method warn() (deprecated-method)
W:265,20: Using deprecated method warn() (deprecated-method)
************* Module cloudinit.sources
W:221,32: Unused argument 'sys_cfg' (unused-argument)
W:240,16: Using deprecated method warn() (deprecated-method)
W:254,23: Unused argument 'cfg' (unused-argument)
W:254,28: Unused argument 'is_new_instance' (unused-argument)
W:315,15: Catching too general exception Exception (broad-except)
W:335,16: Unused variable '_looked_locs' (unused-variable)
************* Module cloudinit.sources.DataSourceAliYun
W: 19,39: Unused argument '_resolve_ip' (unused-argument)
W: 32, 8: Unused variable 'key_id' (unused-variable)
************* Module cloudinit.sources.DataSourceAltCloud
W:184,12: Specify string format arguments as logging function parameters (logging-not-lazy)
W:199,12: Specify string format arguments as logging function parameters (logging-not-lazy)
************* Module cloudinit.sources.DataSourceAzure
W:119,18: Use % formatting in logging functions and pass the % parameters as arguments (logging-format-interpolation)
W:134,23: Catching too general exception Exception (broad-except)
W:135,20: Using deprecated method warn() (deprecated-method)
W:171,12: Using deprecated method warn() (deprecated-method)
W:202,16: Using deprecated method warn() (deprecated-method)
W:245,15: Catching too general exception Exception (broad-except)
W:334, 8: Using deprecated method warn() (deprecated-method)
W:345, 4: Specify string format arguments as logging function parameters (logging-not-lazy)
W:356,19: Catching too general exception Exception (broad-except)
W:358,16: Using deprecated method warn() (deprecated-method)
W:408, 8: Using deprecated method warn() (deprecated-method)
W:430, 4: Using deprecated method warn() (deprecated-method)
W:446,15: Catching too general exception Exception (broad-except)
************* Module cloudinit.cmd.main
W:260,11: Catching too general exception Exception (broad-except)
W:285,11: Catching too general exception Exception (broad-except)
W:394,11: Catching too general exception Exception (broad-except)
W:410,11: Catching too general exception Exception (broad-except)
W:408,12: Using deprecated method warn() (deprecated-method)
W:430, 8: Using deprecated method warn() (deprecated-method)
W:435, 8: Using deprecated method warn() (deprecated-method)
W:438, 8: Using deprecated method warn() (deprecated-method)
W:447, 8: Using deprecated method warn() (deprecated-method)
W:493,11: Catching too general exception Exception (broad-except)
W:556,11: Catching too general exception Exception (broad-except)
W:574, 8: Using deprecated method warn() (deprecated-method)
W:577, 8: Using deprecated method warn() (deprecated-method)
W:584,18: Unused argument 'name' (unused-argument)
W:624,15: Catching too general exception Exception (broad-except)
W:657,11: Catching too general exception Exception (broad-except)
W:683,24: Unused argument 'args' (unused-argument)
W:683,18: Unused argument 'name' (unused-argument)
************* Module cloudinit.sources.DataSourceOpenNebula
W: 67,16: Specify string format arguments as logging function parameters (logging-not-lazy)
W: 67,16: Using deprecated method warn() (deprecated-method)
W: 89, 8: Attribute 'network_eni' defined outside __init__ (attribute-defined-outside-init)
W:384,16: Using deprecated method warn() (deprecated-method)
************* Module cloudinit.sources.DataSourceOVF
W:120,19: Catching too general exception Exception (broad-except)
W:135,19: Catching too general exception Exception (broad-except)
W:228, 8: Using deprecated method warn() (deprecated-method)
W:232, 8: Using deprecated method warn() (deprecated-method)
W:289,19: Catching too general exception Exception (broad-except)
W:304,19: Catching too general exception Exception (broad-except)
W:358,12: Specify string format arguments as logging function parameters (logging-not-lazy)
W:426,14: Unused variable 'dirs' (unused-variable)
************* Module cloudinit.sources.DataSourceBigstep
W: 25,23: Unused argument 'apply_filter' (unused-argument)
************* Module cloudinit.sources.DataSourceSmartOS
W:394,18: Redefining name 'key' from outer scope (line 826) (redefined-outer-name)
W:402,23: Redefining name 'key' from outer scope (line 826) (redefined-outer-name)
W:414,18: Redefining name 'key' from outer scope (line 826) (redefined-outer-name)
W:419,21: Redefining name 'key' from outer scope (line 826) (redefined-outer-name)
W:524,16: Redefining name 'key' from outer scope (line 826) (redefined-outer-name)
W:504, 8: Redefining name 'keys' from outer scope (line 797) (redefined-outer-name)
W:533,19: Redefining name 'key' from outer scope (line 826) (redefined-outer-name)
W:537,29: Redefining name 'key' from outer scope (line 826) (redefined-outer-name)
W:547,18: Redefining name 'key' from outer scope (line 826) (redefined-outer-name)
W:558,16: Using deprecated method warn() (deprecated-method)
W:628,15: Catching too general exception Exception (broad-except)
W:802,30: Redefining name 'data' from outer scope (line 825) (redefined-outer-name)
W:802,25: Redefining name 'key' from outer scope (line 826) (redefined-outer-name)
************* Module cloudinit.sources.DataSourceMAAS
W: 74,12: Specify string format arguments as logging function parameters (logging-not-lazy)
W: 74,12: Using deprecated method warn() (deprecated-method)
W: 95,15: Catching too general exception Exception (broad-except)
W:110,16: Using deprecated method warn() (deprecated-method)
W:118,15: Catching too general exception Exception (broad-except)
W:128,15: Catching too general exception Exception (broad-except)
W:129,12: Specify string format arguments as logging function parameters (logging-not-lazy)
W:129,12: Using deprecated method warn() (deprecated-method)
W:105, 8: Attribute 'vendordata_pure' defined outside __init__ (attribute-defined-outside-init)
W:193,16: Using deprecated method warn() (deprecated-method)
W:178,14: Unused variable 'dictname' (unused-variable)
W:289,19: Redefining built-in 'help' (redefined-builtin)
************* Module cloudinit.sources.DataSourceDigitalOcean
W: 54, 8: Specify string format arguments as logging function parameters (logging-not-lazy)
W: 64, 8: Attribute 'metadata_full' defined outside __init__ (attribute-defined-outside-init)
************* Module cloudinit.sources.DataSourceGCE
W: 61,15: Catching too general exception Exception (broad-except)
W: 98,20: Using deprecated method warn() (deprecated-method)
W:116,16: Using deprecated method warn() (deprecated-method)
************* Module cloudinit.sources.DataSourceCloudSigma
W: 62, 0: TODO: check for explicit "config on", and then warn (fixme)
W: 46, 8: Using deprecated method warn() (deprecated-method)
W: 61,15: Catching too general exception Exception (broad-except)
************* Module cloudinit.sources.DataSourceNoCloud
W: 51,15: Catching too general exception Exception (broad-except)
W:107,28: Using deprecated method warn() (deprecated-method)
W:171, 8: Attribute '_network_eni' defined outside __init__ (attribute-defined-outside-init)
W:170, 8: Attribute '_network_config' defined outside __init__ (attribute-defined-outside-init)
W:193,16: Attribute '_network_config' defined outside __init__ (attribute-defined-outside-init)
W:268,15: Catching too general exception Exception (broad-except)
************* Module cloudinit.sources.DataSourceConfigDrive
W:127,12: Using deprecated method warn() (deprecated-method)
W:123, 8: Attribute 'vendordata_pure' defined outside __init__ (attribute-defined-outside-init)
W:190,12: Using deprecated method warn() (deprecated-method)
************* Module cloudinit.sources.DataSourceOpenStack
W: 41, 0: TODO(harlowja): this is shared with ec2 datasource, we should just (fixme)
W: 52,15: Catching too general exception Exception (broad-except)
W: 57,15: Catching too general exception Exception (broad-except)
W: 62,15: Catching too general exception Exception (broad-except)
W: 76,12: Using deprecated method warn() (deprecated-method)
W: 86,28: Unused variable 'retries' (unused-variable)
W:140,12: Using deprecated method warn() (deprecated-method)
W:106, 9: Unused variable 'max_wait' (unused-variable)
W:136, 8: Attribute 'vendordata_pure' defined outside __init__ (attribute-defined-outside-init)
************* Module cloudinit.sources.helpers.digitalocean
W: 47, 9: Unused variable 'result' (unused-variable)
W: 77,11: Catching too general exception Exception (broad-except)
W: 74, 9: Unused variable 'result' (unused-variable)
************* Module cloudinit.sources.helpers.vmware.imc.config_file
W: 23, 4: __init__ method from base class 'dict' is not called (super-init-not-called)
W: 25, 8: Unnecessary pass statement (unnecessary-pass)
W: 46,12: Specify string format arguments as logging function parameters (logging-not-lazy)
W: 48,12: Specify string format arguments as logging function parameters (logging-not-lazy)
W: 63, 8: Specify string format arguments as logging function parameters (logging-not-lazy)
W: 72,12: Specify string format arguments as logging function parameters (logging-not-lazy)
************* Module cloudinit.sources.helpers.openstack
W:175,15: Catching too general exception Exception (broad-except)
W:640,12: Unused variable 'link_id' (unused-variable)
************* Module cloudinit.sources.helpers.vmware.imc.guestcust_util
W: 40,11: Catching too general exception Exception (broad-except)
W: 92,14: Unused variable 'err' (unused-variable)
************* Module cloudinit.sources.helpers.azure
W:292,16: Using deprecated method warn() (deprecated-method)
W:316,19: Catching too general exception Exception (broad-except)
************* Module cloudinit.sources.helpers.vmware.imc.config_nic
W: 50,17: Unused variable 'err' (unused-variable)
W:126,29: Unused argument 'nic' (unused-argument)
W:176,34: Unused argument 'nic' (unused-argument)
W:176,28: Unused argument 'name' (unused-argument)
************* Module cloudinit.sources.helpers.vmware.imc.nic
W: 12, 0: Method 'validate' is abstract in class 'NicBase' but is not overridden (abstract-method)
W:103,15: Access to a protected member _get of a client class (protected-access)
W:107,15: Access to a protected member _get of a client class (protected-access)
W:111,16: Access to a protected member _get of a client class (protected-access)
W:127,15: Access to a protected member _get of a client class (protected-access)
W:131,15: Access to a protected member _get of a client class (protected-access)
W:135,15: Access to a protected member _get of a client class (protected-access)
|