diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/hacking.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/hacking.py b/tools/hacking.py index 716c1154..2d366a0a 100755 --- a/tools/hacking.py +++ b/tools/hacking.py @@ -156,6 +156,7 @@ def add_cloud(): if name.startswith("cloud_"): exec("pep8.%s = %s" % (name, name)) + if __name__ == "__main__": # NOVA based 'hacking.py' error codes start with an N pep8.ERRORCODE_REGEX = re.compile(r'[EWN]\d{3}') |