From 6cdb6a7177e4fd57fc222d6bd1ff92161d8cbf05 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 29 Jun 2026 12:48:11 +0200 Subject: [PATCH] Fix typos discovered by codespell Fix typos discovered by codespell - https://pypi.org/project/codespell % `codespell` ``` ./hererocks.py:272: keyward ==> keyword ./hererocks.py:2141: direcly ==> directly ./hererocks.py:3024: versin ==> version ./test/cli_test.py:13: Supresses ==> Suppresses ``` % `codespell --write-changes` --- hererocks.py | 6 +++--- test/cli_test.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hererocks.py b/hererocks.py index 3492296..248f400 100755 --- a/hererocks.py +++ b/hererocks.py @@ -269,7 +269,7 @@ def run(*args, **kwargs): or a list of strings; lists are flattened. If opts.verbose is True, output of the command is shown. If the command exits with non-zero, print an error message and exit. - If keyward argument get_output is True, output is returned. + If keyword argument get_output is True, output is returned. Additionally, non-zero exit code with empty output is ignored. """ @@ -2138,7 +2138,7 @@ def get_download_urls(self): def get_source_files_prefix(self): # When installing PUC-Rio Lua from a git repo or local sources, # use directory structure of its GitHub mirror, where - # source files are direcly in project root instead of `src`. + # source files are directly in project root instead of `src`. if self.source == "release": return "src" @@ -3021,7 +3021,7 @@ def setup_vs_and_rerun(vs_version, arch): def setup_vs_by_vswhere(target): ''' vswhere: https://github.com/Microsoft/vswhere - detect Visual Studio 2017 versin 15.2 or later + detect Visual Studio 2017 version 15.2 or later ''' if target != "vs": return diff --git a/test/cli_test.py b/test/cli_test.py index c6f09d1..7342430 100755 --- a/test/cli_test.py +++ b/test/cli_test.py @@ -10,7 +10,7 @@ import time import unittest -# Supresses coverage.py's module-not-imported and no-data-collected warnings +# Suppresses coverage.py's module-not-imported and no-data-collected warnings import hererocks # noqa: F401