From 2ce6167894fc2b1f989c93b5638221724269d95c Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 6 Nov 2019 13:40:15 +0100 Subject: [PATCH] pylintrc_travis: Enable check for unnecessary-semicolon and fix issue (#2333) --- addons/misra.py | 2 +- pylintrc_travis | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/misra.py b/addons/misra.py index e234a0106..535c82e70 100755 --- a/addons/misra.py +++ b/addons/misra.py @@ -2391,7 +2391,7 @@ class MisraChecker: rule.misra_severity = res.group(1) have_severity = True else: - severity_loc += 1; + severity_loc += 1 # Only look for severity on the Rule line # or the next non-blank line after diff --git a/pylintrc_travis b/pylintrc_travis index 2e6aa4ec6..c6a82f52f 100644 --- a/pylintrc_travis +++ b/pylintrc_travis @@ -4,7 +4,7 @@ enable=mixed-indentation, trailing-whitespace, print-statement, literal-comparison, - #unnecessary-semicolon, + unnecessary-semicolon, #bad-indentation [REPORTS] reports=no