summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2023-03-08 14:10:02 +1100
committerDamien George <damien@micropython.org>2023-04-27 18:03:06 +1000
commitb1229efbd1509654dec6053865ab828d769e29db (patch)
treee1a65606dd1f0a8cfe2af08f9c4ff821fb575b02 /tools
parente160fe7bc64212a3ce56f5478f208e2b4d343a8b (diff)
all: Fix spelling mistakes based on codespell check.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci.sh2
-rw-r--r--tools/mpremote/mpremote/commands.py2
-rwxr-xr-xtools/pydfu.py2
-rw-r--r--tools/uncrustify.cfg14
-rwxr-xr-xtools/verifygitlog.py2
5 files changed, 11 insertions, 11 deletions
diff --git a/tools/ci.sh b/tools/ci.sh
index 0eb94b339..e8c4021f3 100755
--- a/tools/ci.sh
+++ b/tools/ci.sh
@@ -45,7 +45,7 @@ function ci_code_spell_run {
function ci_commit_formatting_run {
git remote add upstream https://github.com/micropython/micropython.git
git fetch --depth=100 upstream master
- # For a PR, upstream/master..HEAD ends with a merge commit into master, exlude that one.
+ # For a PR, upstream/master..HEAD ends with a merge commit into master, exclude that one.
tools/verifygitlog.py -v upstream/master..HEAD --no-merges
}
diff --git a/tools/mpremote/mpremote/commands.py b/tools/mpremote/mpremote/commands.py
index fe0283ce6..8bcb73b6f 100644
--- a/tools/mpremote/mpremote/commands.py
+++ b/tools/mpremote/mpremote/commands.py
@@ -78,7 +78,7 @@ def do_disconnect(state, _args=None):
state.pyb.exit_raw_repl()
except OSError:
# Ignore any OSError exceptions when shutting down, eg:
- # - pyboard.filesystem_command will close the connecton if it had an error
+ # - pyboard.filesystem_command will close the connection if it had an error
# - umounting will fail if serial port disappeared
pass
state.pyb.close()
diff --git a/tools/pydfu.py b/tools/pydfu.py
index f2d845a70..05cdf92c9 100755
--- a/tools/pydfu.py
+++ b/tools/pydfu.py
@@ -484,7 +484,7 @@ def get_memory_layout(device):
def list_dfu_devices(*args, **kwargs):
- """Prints a lits of devices detected in DFU mode."""
+ """Prints a list of devices detected in DFU mode."""
devices = get_dfu_devices(*args, **kwargs)
if not devices:
raise SystemExit("No DFU capable devices found")
diff --git a/tools/uncrustify.cfg b/tools/uncrustify.cfg
index 28eb49faf..bf5e37bf3 100644
--- a/tools/uncrustify.cfg
+++ b/tools/uncrustify.cfg
@@ -1326,7 +1326,7 @@ indent_using_block = true # true/false
# 2: When the `:` is a continuation, indent it under `?`
indent_ternary_operator = 0 # unsigned number
-# Whether to indent the statments inside ternary operator.
+# Whether to indent the statements inside ternary operator.
indent_inside_ternary_operator = false # true/false
# If true, the indentation of the chunks after a `return` sequence will be set at return indentation column.
@@ -1782,7 +1782,7 @@ nl_func_call_args_multi_line = false # true/false
# different lines.
nl_func_call_end_multi_line = false # true/false
-# Whether to respect nl_func_call_XXX option incase of closure args.
+# Whether to respect nl_func_call_XXX option in case of closure args.
nl_func_call_args_multi_line_ignore_closures = false # true/false
# Whether to add a newline after '<' of a template parameter list.
@@ -2573,7 +2573,7 @@ align_oc_decl_colon = false # true/false
# (OC) Whether to not align parameters in an Objectve-C message call if first
# colon is not on next line of the message call (the same way Xcode does
-# aligment)
+# alignment)
align_oc_msg_colon_xcode_like = false # true/false
#
@@ -2919,28 +2919,28 @@ pp_define_at_level = false # true/false
pp_ignore_define_body = false # true/false
# Whether to indent case statements between #if, #else, and #endif.
-# Only applies to the indent of the preprocesser that the case statements
+# Only applies to the indent of the preprocessor that the case statements
# directly inside of.
#
# Default: true
pp_indent_case = true # true/false
# Whether to indent whole function definitions between #if, #else, and #endif.
-# Only applies to the indent of the preprocesser that the function definition
+# Only applies to the indent of the preprocessor that the function definition
# is directly inside of.
#
# Default: true
pp_indent_func_def = true # true/false
# Whether to indent extern C blocks between #if, #else, and #endif.
-# Only applies to the indent of the preprocesser that the extern block is
+# Only applies to the indent of the preprocessor that the extern block is
# directly inside of.
#
# Default: true
pp_indent_extern = true # true/false
# Whether to indent braces directly inside #if, #else, and #endif.
-# Only applies to the indent of the preprocesser that the braces are directly
+# Only applies to the indent of the preprocessor that the braces are directly
# inside of.
#
# Default: true
diff --git a/tools/verifygitlog.py b/tools/verifygitlog.py
index c237cb46b..ee3e119f3 100755
--- a/tools/verifygitlog.py
+++ b/tools/verifygitlog.py
@@ -139,7 +139,7 @@ def run(args):
def show_help():
print("usage: verifygitlog.py [-v -n -h --check-file] ...")
- print("-v : increase verbosity, can be speficied multiple times")
+ print("-v : increase verbosity, can be specified multiple times")
print("-n : do not print multi-line suggestions")
print("-h : print this help message and exit")
print(