From 6287cf8ed8b2d6609b1590d7a76adb4fe4cd0b15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armin=20M=C3=BCller?= <27155134+arm-in@users.noreply.github.com> Date: Mon, 20 Sep 2021 15:28:53 +0200 Subject: [PATCH] Typos found by running "codespell" --- addons/cppcheck.py | 2 +- addons/misra.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/cppcheck.py b/addons/cppcheck.py index 23a69ba1d9c..1649815e070 100644 --- a/addons/cppcheck.py +++ b/addons/cppcheck.py @@ -14,7 +14,7 @@ def reportError(location, severity, message, errorId=None): cppcheckdata.reportError(location, severity, message, __addon_name__, errorId or __errorid__) def runcheckers(): - # If there are no checkers then dont run + # If there are no checkers then don't run if len(__checkers__) == 0: return global __addon_name__ diff --git a/addons/misra.py b/addons/misra.py index 391958ce1a6..10f43b91c39 100755 --- a/addons/misra.py +++ b/addons/misra.py @@ -1863,7 +1863,7 @@ def checkDeclarationArgumentsViolations(func, startCall, endCall): # # TODO: We actually need to check if the names of the arguments are # the same. But we can't do this because we have no links to - # variables in the arguments in function defintion in the dump file. + # variables in the arguments in function definition in the dump file. foundVariables = 0 while startCall and startCall != endCall: if startCall.varId: