From: Timo Heister Date: Wed, 12 Jun 2019 09:31:38 +0000 (+0200) Subject: some pylint complaints X-Git-Tag: v9.2.0-rc1~1431^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8144%2Fhead;p=dealii.git some pylint complaints --- diff --git a/contrib/utilities/checkdoxygen.py b/contrib/utilities/checkdoxygen.py index e365a6ff77..fb4a946c71 100755 --- a/contrib/utilities/checkdoxygen.py +++ b/contrib/utilities/checkdoxygen.py @@ -18,10 +18,10 @@ def check_doxygen_groups(lines): elif "@}" in l: count = count -1 if count < 0: - sys.exit("Error in file '%s' in line %d"%(args[0],lineno)) + sys.exit("Error in file '%s' in line %d"%(args[0], lineno)) lineno = lineno + 1 - if (count != 0): + if count != 0: sys.exit("Error: missing closing braces in file '%s'"%(args[0])) return @@ -36,21 +36,21 @@ def check_empty_lines_in_tables(lines): elif "" in l: count = count -1 if count < 0: - sys.exit("Error in file '%s' in line %d"%(args[0],lineno)) + sys.exit("Error in file '%s' in line %d"%(args[0], lineno)) - if count==1: - if l.strip()=="": - sys.exit("Error: empty line inside html table in file '%s' in line %d"%(args[0],lineno)) + if count == 1: + if l.strip() == "": + sys.exit("Error: empty line inside html table in file '%s' in line %d"%(args[0], lineno)) lineno = lineno + 1 - if (count != 0): + if count != 0: sys.exit("Error: mismatched html table tags in file '%s'"%(args[0])) return -args=sys.argv +args = sys.argv args.pop(0) f = open(args[0])