@@ -67,17 +67,17 @@ def main(argv=sys.argv[1:]):
6767 parser .add_argument (
6868 '--libraries' ,
6969 nargs = '*' ,
70- help = " Library configurations to load in addition to the standard libraries of C and C++."
70+ help = ' Library configurations to load in addition to the standard libraries of C and C++.'
7171 "Each library is passed to cppcheck as '--library=<library_name>'" )
7272 parser .add_argument (
7373 '--include_dirs' ,
7474 nargs = '*' ,
75- help = " Include directories for C/C++ files being checked."
75+ help = ' Include directories for C/C++ files being checked.'
7676 "Each directory is passed to cppcheck as '-I <include_dir>'" )
7777 parser .add_argument (
7878 '--exclude' ,
7979 nargs = '*' ,
80- help = " Exclude C/C++ files from being checked."
80+ help = ' Exclude C/C++ files from being checked.'
8181 "Each file is passed to cppcheck as '--suppress=*:<file>'" )
8282 parser .add_argument (
8383 '--language' ,
@@ -127,7 +127,8 @@ def main(argv=sys.argv[1:]):
127127 if cppcheck_version == '1.88' or cppcheck_version .startswith ('2.' ):
128128 print (
129129 f'cppcheck { cppcheck_version } has known performance issues and therefore will not '
130- 'be used, set the AMENT_CPPCHECK_ALLOW_SLOW_VERSIONS environment variable to override this.' ,
130+ 'be used, set the AMENT_CPPCHECK_ALLOW_SLOW_VERSIONS environment variable to '
131+ 'override this.' ,
131132 file = sys .stderr ,
132133 )
133134
@@ -203,7 +204,7 @@ def main(argv=sys.argv[1:]):
203204 data = dict (data )
204205 data ['filename' ] = filename
205206 print ('[%(filename)s:%(line)d]: (%(severity)s: %(id)s) %(msg)s' % data ,
206- file = sys .stderr )
207+ file = sys .stderr )
207208
208209 # output summary
209210 error_count = sum (len (r ) for r in report .values ())
@@ -277,10 +278,10 @@ def get_xunit_content(report, testname, elapsed, skip=None):
277278
278279 if skip :
279280 data = {
280- 'quoted_name' : quoteattr (filename ),
281- 'testname' : testname ,
282- 'quoted_message' : quoteattr ('' ),
283- 'skip' : skip ,
281+ 'quoted_name' : quoteattr (filename ),
282+ 'testname' : testname ,
283+ 'quoted_message' : quoteattr ('' ),
284+ 'skip' : skip ,
284285 }
285286 xml += """ <testcase
286287 name=%(quoted_name)s
0 commit comments