addons; import cppcheckdata from local folder

This commit is contained in:
Daniel Marjamäki 2019-12-30 09:13:04 +01:00
parent d247ffb13a
commit 05b96d42e9
7 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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:]:

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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):

View File

@ -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