addons; import cppcheckdata from local folder
This commit is contained in:
parent
d247ffb13a
commit
05b96d42e9
|
@ -10,7 +10,7 @@
|
||||||
# python cert.py main.cpp.dump
|
# python cert.py main.cpp.dump
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import cppcheckdata
|
from . import cppcheckdata
|
||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Locate casts in the code
|
# Locate casts in the code
|
||||||
#
|
#
|
||||||
|
|
||||||
import cppcheckdata
|
from . import cppcheckdata
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
for arg in sys.argv[1:]:
|
for arg in sys.argv[1:]:
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
import cppcheckdata
|
from . import cppcheckdata
|
||||||
import itertools
|
import itertools
|
||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# $ python addons/naming.py --var='[a-z].*' --function='[A-Z].*' path-to-src/*.dump
|
# $ python addons/naming.py --var='[a-z].*' --function='[A-Z].*' path-to-src/*.dump
|
||||||
#
|
#
|
||||||
|
|
||||||
import cppcheckdata
|
from . import cppcheckdata
|
||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
# RE_VARNAME, RE_PRIVATE_MEMBER_VARIABLE and RE_FUNCTIONNAME are regular expressions to cover the basic names
|
# 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
|
# In var_prefixes and function_prefixes there are the variable-type/prefix pairs
|
||||||
|
|
||||||
import cppcheckdata
|
from . import cppcheckdata
|
||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
import argparse
|
import argparse
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# - warn about static local objects
|
# - warn about static local objects
|
||||||
#
|
#
|
||||||
|
|
||||||
import cppcheckdata
|
from . import cppcheckdata
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
def reportError(token, severity, msg, id):
|
def reportError(token, severity, msg, id):
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
# y2038.py will walk the source tree for .dump files.
|
# y2038.py will walk the source tree for .dump files.
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
import cppcheckdata
|
from . import cppcheckdata
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
|
Loading…
Reference in New Issue