From 33c8b7146728208333a140b0646a4fc43e73ca33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 30 Dec 2019 17:30:17 +0100 Subject: [PATCH] Revert "addons; import cppcheckdata from local folder" This reverts commit 05b96d42e9574db6472187b49b5a983d977733c7. --- addons/cert.py | 2 +- addons/findcasts.py | 2 +- addons/misra.py | 2 +- addons/naming.py | 2 +- addons/namingng.py | 2 +- addons/threadsafety.py | 2 +- addons/y2038.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/addons/cert.py b/addons/cert.py index 01762db54..e974a4f51 100755 --- a/addons/cert.py +++ b/addons/cert.py @@ -10,7 +10,7 @@ # python cert.py main.cpp.dump import argparse -from . import cppcheckdata +import cppcheckdata import sys import re diff --git a/addons/findcasts.py b/addons/findcasts.py index 9da55151a..958720607 100755 --- a/addons/findcasts.py +++ b/addons/findcasts.py @@ -3,7 +3,7 @@ # Locate casts in the code # -from . import cppcheckdata +import cppcheckdata import sys for arg in sys.argv[1:]: diff --git a/addons/misra.py b/addons/misra.py index 6b919b8b6..9dc2962da 100755 --- a/addons/misra.py +++ b/addons/misra.py @@ -15,7 +15,7 @@ from __future__ import print_function -from . import cppcheckdata +import cppcheckdata import itertools import sys import re diff --git a/addons/naming.py b/addons/naming.py index 910aea86f..8da36d7cd 100755 --- a/addons/naming.py +++ b/addons/naming.py @@ -7,7 +7,7 @@ # $ python addons/naming.py --var='[a-z].*' --function='[A-Z].*' path-to-src/*.dump # -from . import cppcheckdata +import cppcheckdata import sys import re diff --git a/addons/namingng.py b/addons/namingng.py index 11ab7ca72..9d78c4dab 100755 --- a/addons/namingng.py +++ b/addons/namingng.py @@ -22,7 +22,7 @@ # RE_VARNAME, RE_PRIVATE_MEMBER_VARIABLE and RE_FUNCTIONNAME are regular expressions to cover the basic names # In var_prefixes and function_prefixes there are the variable-type/prefix pairs -from . import cppcheckdata +import cppcheckdata import sys import re import argparse diff --git a/addons/threadsafety.py b/addons/threadsafety.py index 0e6ddf972..6c4ec7e90 100755 --- a/addons/threadsafety.py +++ b/addons/threadsafety.py @@ -4,7 +4,7 @@ # - warn about static local objects # -from . import cppcheckdata +import cppcheckdata import sys def reportError(token, severity, msg, id): diff --git a/addons/y2038.py b/addons/y2038.py index ee1427e39..2fffd07a2 100755 --- a/addons/y2038.py +++ b/addons/y2038.py @@ -15,7 +15,7 @@ # y2038.py will walk the source tree for .dump files. from __future__ import print_function -from . import cppcheckdata +import cppcheckdata import sys import os import re