diff --git a/shopify_python/google_styleguide.py b/shopify_python/google_styleguide.py index f4ba3cf..d32c9b3 100644 --- a/shopify_python/google_styleguide.py +++ b/shopify_python/google_styleguide.py @@ -34,32 +34,32 @@ class GoogleStyleGuideChecker(checkers.BaseChecker): name = 'google-styleguide-checker' msgs = { - 'C2601': ('%(child)s is not a module or cannot be imported', + 'C6001': ('%(child)s is not a module or cannot be imported', 'import-modules-only', 'Only import packages or modules and ensure that they are installed.'), - 'C2602': ('%(module)s imported relatively', + 'C6002': ('%(module)s imported relatively', 'import-full-path', 'Import modules using their absolute names.'), - 'C2603': ('%(name)s declared at the module level (i.e. global)', + 'C6003': ('%(name)s declared at the module level (i.e. global)', 'global-variable', 'Avoid global variables in favor of class variables.'), - 'C2604': ('Raised two-argument exception', + 'C6004': ('Raised two-argument exception', 'two-arg-exception', "Use either raise Exception('message') or raise Exception."), - 'C2605': ('Raised deprecated string-exception', + 'C6005': ('Raised deprecated string-exception', 'string-exception', "Use either raise Exception('message') or raise Exception."), - 'C2606': ('Caught StandardError', + 'C6006': ('Caught StandardError', 'catch-standard-error', "Don't catch StandardError."), - 'C2607': ('Try body has %(found)i nodes', + 'C6007': ('Try body has %(found)i nodes', 'try-too-long', "The larger the 'try' body size, the more likely that an unexpected exception will be raised."), - 'C2608': ('Except body has %(found)i nodes', + 'C6008': ('Except body has %(found)i nodes', 'except-too-long', "The larger the 'except' body size, the more likely that an exception will be raised during " "exception handling."), - 'C2609': ('Finally body has %(found)i nodes', + 'C6009': ('Finally body has %(found)i nodes', 'finally-too-long', "The larger the 'finally' body size, the more likely that an exception will be raised during " "resource cleanup activities."),