pylintrc_travis: Enable check for unnecessary-semicolon and fix issue (#2333)
This commit is contained in:
parent
3060c7a25c
commit
2ce6167894
|
@ -2391,7 +2391,7 @@ class MisraChecker:
|
||||||
rule.misra_severity = res.group(1)
|
rule.misra_severity = res.group(1)
|
||||||
have_severity = True
|
have_severity = True
|
||||||
else:
|
else:
|
||||||
severity_loc += 1;
|
severity_loc += 1
|
||||||
|
|
||||||
# Only look for severity on the Rule line
|
# Only look for severity on the Rule line
|
||||||
# or the next non-blank line after
|
# or the next non-blank line after
|
||||||
|
|
|
@ -4,7 +4,7 @@ enable=mixed-indentation,
|
||||||
trailing-whitespace,
|
trailing-whitespace,
|
||||||
print-statement,
|
print-statement,
|
||||||
literal-comparison,
|
literal-comparison,
|
||||||
#unnecessary-semicolon,
|
unnecessary-semicolon,
|
||||||
#bad-indentation
|
#bad-indentation
|
||||||
[REPORTS]
|
[REPORTS]
|
||||||
reports=no
|
reports=no
|
||||||
|
|
Loading…
Reference in New Issue