Skip to content

Instantly share code, notes, and snippets.

@lazypower
Created January 13, 2016 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lazypower/e90234057202f8b9a903 to your computer and use it in GitHub Desktop.
Save lazypower/e90234057202f8b9a903 to your computer and use it in GitHub Desktop.
hooks/hooks.py:2:1: F401 'glob' imported but unused
hooks/hooks.py:3:1: F401 'os' imported but unused
hooks/hooks.py:4:1: F401 'shutil' imported but unused
hooks/hooks.py:6:1: F401 'tarfile' imported but unused
hooks/hooks.py:7:1: F401 'subprocess' imported but unused
hooks/hooks.py:11:1: F401 'is_leader' imported but unused
hooks/hooks.py:11:1: F401 'is_relation_made' imported but unused
hooks/hooks.py:11:1: F401 'related_units' imported but unused
hooks/hooks.py:11:1: F401 'relation_clear' imported but unused
hooks/hooks.py:11:1: F401 'relation_id' imported but unused
hooks/hooks.py:11:1: F401 'remote_service_name' imported but unused
hooks/hooks.py:11:1: F401 'remote_unit' imported but unused
hooks/hooks.py:17:1: F401 'add_user_to_group' imported but unused
hooks/hooks.py:17:1: F401 'adduser' imported but unused
hooks/hooks.py:17:1: F401 'cmp_pkgrevno' imported but unused
hooks/hooks.py:17:1: F401 'mkdir' imported but unused
hooks/hooks.py:17:1: F401 'service_restart' imported but unused
hooks/hooks.py:17:1: F401 'umount' imported but unused
hooks/hooks.py:20:1: F401 'render' imported but unused
hooks/hooks.py:27:1: F401 'NedgeBaseConfigurator' imported but unused
hooks/hooks.py:30:1: F401 'if_up' imported but unused
hooks/hooks.py:70:5: E265 block comment should start with '# '
hooks/hooks.py:80:5: E265 block comment should start with '# '
hooks/hooks.py:90:5: E265 block comment should start with '# '
hooks/hooks.py:123:9: E265 block comment should start with '# '
hooks/configurationSteps/checkNodeUUID.py:1:1: E265 block comment should start with '# '
hooks/configurationSteps/checkNodeUUID.py:4:1: F401 'sys' imported but unused
hooks/configurationSteps/checkNodeUUID.py:5:1: F401 'traceback' imported but unused
hooks/configurationSteps/checkNodeUUID.py:7:1: F401 'subprocess' imported but unused
hooks/configurationSteps/checkNodeUUID.py:25:32: F821 undefined name 'status'
hooks/configurationSteps/checkNodeUUID.py:28:62: F821 undefined name 'status'
hooks/configurationSteps/checkNodeUUID.py:29:62: F821 undefined name 'status'
hooks/configurationSteps/neadmClusterCreation.py:1:1: E265 block comment should start with '# '
hooks/configurationSteps/neadmClusterCreation.py:3:1: F401 'os' imported but unused
hooks/configurationSteps/neadmClusterCreation.py:4:1: F401 'sys' imported but unused
hooks/configurationSteps/neadmCreateISCSIService.py:1:1: E265 block comment should start with '# '
hooks/configurationSteps/neadmCreateISCSIService.py:3:1: F401 'os' imported but unused
hooks/configurationSteps/neadmCreateISCSIService.py:4:1: F401 'sys' imported but unused
hooks/configurationSteps/neadmCreateISCSIService.py:11:1: E302 expected 2 blank lines, found 1
hooks/configurationSteps/neadmCreateISCSIService.py:12:5: E265 block comment should start with '# '
hooks/configurationSteps/neadmCreateISCSIService.py:13:80: E501 line too long (104 > 79 characters)
hooks/configurationSteps/neadmCreateISCSIService.py:14:5: E301 expected 1 blank line, found 0
hooks/configurationSteps/neadmCreateISCSIService.py:22:80: E501 line too long (88 > 79 characters)
hooks/configurationSteps/neadmCreateISCSIService.py:26:80: E501 line too long (130 > 79 characters)
hooks/configurationSteps/neadmCreateISCSIService.py:27:1: W391 blank line at end of file
hooks/configurationSteps/neadmInitWait.py:1:1: E265 block comment should start with '# '
hooks/configurationSteps/neadmInitWait.py:3:1: F401 'os' imported but unused
hooks/configurationSteps/neadmInitWait.py:4:1: F401 'sys' imported but unused
hooks/configurationSteps/neadmInitWait.py:5:1: F401 'traceback' imported but unused
hooks/configurationSteps/neadmInitWait.py:7:1: F401 'subprocess' imported but unused
hooks/configurationSteps/neadmInitWait.py:19:9: F841 local variable 'node_private_ip' is assigned to but never used
hooks/configurationSteps/neadmLicenseActivation.py:1:1: E265 block comment should start with '# '
hooks/configurationSteps/neadmLicenseActivation.py:3:1: F401 'os' imported but unused
hooks/configurationSteps/neadmLicenseActivation.py:4:1: F401 'sys' imported but unused
hooks/configurationSteps/neadmOnlineNodesWait.py:1:1: E265 block comment should start with '# '
hooks/configurationSteps/neadmOnlineNodesWait.py:3:1: F401 'os' imported but unused
hooks/configurationSteps/neadmOnlineNodesWait.py:4:1: F401 'sys' imported but unused
hooks/configurationSteps/neadmOnlineNodesWait.py:5:1: F401 'traceback' imported but unused
hooks/configurationSteps/neadmOnlineNodesWait.py:7:1: F401 'subprocess' imported but unused
hooks/configurationSteps/neadmRCConfig.py:1:1: E265 block comment should start with '# '
hooks/configurationSteps/neadmRCConfig.py:3:1: F401 'os' imported but unused
hooks/configurationSteps/neadmRCConfig.py:4:1: F401 'sys' imported but unused
hooks/configurationSteps/neadmRCConfig.py:22:9: E265 block comment should start with '# '
hooks/configurationSteps/neadmRCConfig.py:26:13: F841 local variable 'output' is assigned to but never used
hooks/configurationSteps/neadmServiceWrapper.py:1:1: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:3:1: F401 'os' imported but unused
hooks/configurationSteps/neadmServiceWrapper.py:4:1: F401 'sys' imported but unused
hooks/configurationSteps/neadmServiceWrapper.py:14:5: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:16:5: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:34:29: F841 local variable 'e' is assigned to but never used
hooks/configurationSteps/neadmServiceWrapper.py:40:9: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:42:9: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:50:13: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:55:13: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:56:13: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:66:13: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:67:13: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:76:13: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:79:9: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:91:5: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:96:5: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:101:5: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:111:5: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:121:5: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:134:5: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:145:5: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:178:13: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:179:13: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:182:80: E501 line too long (87 > 79 characters)
hooks/configurationSteps/neadmServiceWrapper.py:221:80: E501 line too long (86 > 79 characters)
hooks/configurationSteps/neadmServiceWrapper.py:224:9: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:234:9: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:247:80: E501 line too long (86 > 79 characters)
hooks/configurationSteps/neadmServiceWrapper.py:252:80: E501 line too long (81 > 79 characters)
hooks/configurationSteps/neadmServiceWrapper.py:257:80: E501 line too long (117 > 79 characters)
hooks/configurationSteps/neadmServiceWrapper.py:262:80: E501 line too long (81 > 79 characters)
hooks/configurationSteps/neadmServiceWrapper.py:267:80: E501 line too long (117 > 79 characters)
hooks/configurationSteps/neadmServiceWrapper.py:270:5: F811 redefinition of unused 'get_swift_nodes_by_service_name' from line 265
hooks/configurationSteps/neadmServiceWrapper.py:272:80: E501 line too long (91 > 79 characters)
hooks/configurationSteps/neadmServiceWrapper.py:275:5: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:280:5: E265 block comment should start with '# '
hooks/configurationSteps/neadmServiceWrapper.py:283:80: E501 line too long (86 > 79 characters)
hooks/configurationSteps/neadmServiceWrapper.py:305:80: E501 line too long (81 > 79 characters)
hooks/configurationSteps/neadmStatusProcessor.py:1:1: E265 block comment should start with '# '
hooks/configurationSteps/neadmStatusProcessor.py:3:1: F401 'os' imported but unused
hooks/configurationSteps/neadmStatusProcessor.py:4:1: F401 'sys' imported but unused
hooks/configurationSteps/neadmStatusProcessor.py:6:1: F401 'traceback' imported but unused
hooks/configurationSteps/neadmStatusProcessor.py:17:5: E265 block comment should start with '# '
hooks/configurationSteps/neadmStatusProcessor.py:37:29: F841 local variable 'e' is assigned to but never used
hooks/configurationSteps/neadmStatusProcessor.py:44:9: E265 block comment should start with '# '
hooks/configurationSteps/neadmStatusProcessor.py:56:13: E265 block comment should start with '# '
hooks/configurationSteps/neadmStatusProcessor.py:69:5: E265 block comment should start with '# '
hooks/configurationSteps/neadmStatusProcessor.py:72:13: E265 block comment should start with '# '
hooks/configurationSteps/neadmSystemInit.py:1:1: E265 block comment should start with '# '
hooks/configurationSteps/neadmSystemInit.py:3:1: F401 'os' imported but unused
hooks/configurationSteps/neadmSystemInit.py:4:1: F401 'sys' imported but unused
hooks/configurationSteps/nedeployInstall.py:1:1: E265 block comment should start with '# '
hooks/configurationSteps/nedeployInstall.py:3:1: F401 'os' imported but unused
hooks/configurationSteps/nedeployInstall.py:4:1: F401 'sys' imported but unused
hooks/configurationSteps/nedeployInstall.py:43:17: E265 block comment should start with '# '
hooks/configurationSteps/nedeployInstall.py:46:13: E265 block comment should start with '# '
hooks/configurationSteps/nedeployInstall.py:67:13: F841 local variable 'output' is assigned to but never used
hooks/configurationSteps/nedeployRCConfig.py:1:1: E265 block comment should start with '# '
hooks/configurationSteps/nedeployRCConfig.py:3:1: F401 'os' imported but unused
hooks/configurationSteps/nedeployRCConfig.py:4:1: F401 'sys' imported but unused
hooks/configurationSteps/nedeployRCConfig.py:22:80: E501 line too long (113 > 79 characters)
hooks/configurationSteps/nedeployRCConfig.py:25:13: F841 local variable 'output' is assigned to but never used
hooks/configurationSteps/nedgeConfigurator.py:1:1: E265 block comment should start with '# '
hooks/configurationSteps/nedgeConfigurator.py:2:1: F401 'glob' imported but unused
hooks/configurationSteps/nedgeConfigurator.py:3:1: F401 'os' imported but unused
hooks/configurationSteps/nedgeConfigurator.py:4:1: F401 'shutil' imported but unused
hooks/configurationSteps/nedgeConfigurator.py:5:1: F401 'sys' imported but unused
hooks/configurationSteps/nedgeConfigurator.py:6:1: F401 'tarfile' imported but unused
hooks/configurationSteps/nedgeConfigurator.py:7:1: F401 'subprocess' imported but unused
hooks/configurationSteps/nedgeConfigurator.py:9:1: E265 block comment should start with '# '
hooks/configurationSteps/nedgeConfigurator.py:34:21: E265 block comment should start with '# '
hooks/configurationSteps/nedgeConfigurator.py:38:80: E501 line too long (83 > 79 characters)
hooks/configurationSteps/serviceDB.py:2:1: F401 'glob' imported but unused
hooks/configurationSteps/serviceDB.py:3:1: F401 'os' imported but unused
hooks/configurationSteps/serviceDB.py:4:1: F401 'shutil' imported but unused
hooks/configurationSteps/serviceDB.py:5:1: F401 'sys' imported but unused
hooks/configurationSteps/serviceDB.py:6:1: F401 'tarfile' imported but unused
hooks/configurationSteps/serviceDB.py:7:1: F401 'subprocess' imported but unused
hooks/configurationSteps/serviceDB.py:46:80: E501 line too long (80 > 79 characters)
hooks/configurationSteps/settings.py:1:1: E265 block comment should start with '# '
hooks/configurationSteps/settings.py:11:5: E265 block comment should start with '# '
hooks/configurationSteps/settings.py:14:5: E265 block comment should start with '# '
hooks/configurationSteps/settings.py:23:5: E265 block comment should start with '# '
hooks/configurationSteps/settings.py:27:5: E265 block comment should start with '# '
hooks/configurationSteps/settings.py:31:5: E265 block comment should start with '# '
hooks/configurationSteps/settings.py:37:80: E501 line too long (93 > 79 characters)
hooks/configurationSteps/settings.py:39:80: E501 line too long (87 > 79 characters)
hooks/configurationSteps/utils.py:1:1: F401 'sys' imported but unused
hooks/configurationSteps/utils.py:3:1: F401 'glob' imported but unused
hooks/configurationSteps/utils.py:4:1: F401 'shutil' imported but unused
hooks/configurationSteps/utils.py:7:1: F401 'ast' imported but unused
hooks/configurationSteps/utils.py:11:1: E265 block comment should start with '# '
hooks/configurationSteps/utils.py:14:1: E402 module level import not at top of file
hooks/configurationSteps/utils.py:14:1: F401 'cmp_pkgrevno' imported but unused
hooks/configurationSteps/utils.py:14:1: F401 'mkdir' imported but unused
hooks/configurationSteps/utils.py:14:1: F401 'umount' imported but unused
hooks/configurationSteps/utils.py:17:1: E402 module level import not at top of file
hooks/configurationSteps/utils.py:21:1: E265 block comment should start with '# '
hooks/configurationSteps/utils.py:29:13: E265 block comment should start with '# '
hooks/configurationSteps/utils.py:40:5: E265 block comment should start with '# '
hooks/configurationSteps/utils.py:49:5: E265 block comment should start with '# '
hooks/configurationSteps/utils.py:72:5: E265 block comment should start with '# '
hooks/configurationSteps/utils.py:84:5: E265 block comment should start with '# '
hooks/configurationSteps/utils.py:91:5: E265 block comment should start with '# '
hooks/configurationSteps/utils.py:97:80: E501 line too long (88 > 79 characters)
hooks/configurationSteps/utils.py:101:80: E501 line too long (133 > 79 characters)
hooks/configurationSteps/utils.py:103:80: E501 line too long (121 > 79 characters)
hooks/configurationSteps/utils.py:104:80: E501 line too long (123 > 79 characters)
hooks/configurationSteps/utils.py:105:80: E501 line too long (123 > 79 characters)
hooks/configurationSteps/utils.py:108:80: E501 line too long (144 > 79 characters)
hooks/configurationSteps/utils.py:111:80: E501 line too long (131 > 79 characters)
hooks/configurationSteps/utils.py:113:80: E501 line too long (133 > 79 characters)
hooks/configurationSteps/utils.py:115:80: E501 line too long (134 > 79 characters)
hooks/configurationSteps/waitNodeUUID.py:1:1: E265 block comment should start with '# '
hooks/configurationSteps/waitNodeUUID.py:3:1: F401 'os' imported but unused
hooks/configurationSteps/waitNodeUUID.py:4:1: F401 'sys' imported but unused
hooks/configurationSteps/waitNodeUUID.py:5:1: F401 'traceback' imported but unused
hooks/configurationSteps/waitNodeUUID.py:7:1: F401 'subprocess' imported but unused
unit_tests/test_actions.py:10:1: E402 module level import not at top of file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment