diff options
author | Jon Atack <jon@atack.com> | 2022-09-14 20:11:45 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2022-09-15 13:03:40 +0200 |
commit | b6a65568dfbaf25839858b3114c28c07d8f9a45f (patch) | |
tree | 394de51024e6295ed3bac2477a68beda146a7996 /test/lint | |
parent | 8f2010de6e7c232d540cc4a10516ae6ec98ebb22 (diff) | |
download | bitcoin-b6a65568dfbaf25839858b3114c28c07d8f9a45f.tar.xz |
Fix issues identified by codespell 2.2.1 and update ignored words
and also fix spelling in test/lint/lint-locale-dependence.py not caught by the
spelling linter and fix up a paragraph we are touching here in test/README.md.
Diffstat (limited to 'test/lint')
-rwxr-xr-x | test/lint/lint-locale-dependence.py | 2 | ||||
-rw-r--r-- | test/lint/spelling.ignore-words.txt | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/test/lint/lint-locale-dependence.py b/test/lint/lint-locale-dependence.py index 4876ac2e2d..ce7444cd1a 100755 --- a/test/lint/lint-locale-dependence.py +++ b/test/lint/lint-locale-dependence.py @@ -250,7 +250,7 @@ def main(): exit_code = 1 if exit_code == 1: - print("Unnecessary locale depedence can cause bugs that are very tricky to isolate and fix. Please avoid using locale dependent functions if possible.\n") + print("Unnecessary locale dependence can cause bugs that are very tricky to isolate and fix. Please avoid using locale-dependent functions if possible.\n") print(f"Advice not applicable in this specific case? Add an exception by updating the ignore list in {sys.argv[0]}") sys.exit(exit_code) diff --git a/test/lint/spelling.ignore-words.txt b/test/lint/spelling.ignore-words.txt index 0efd298408..82f18010c1 100644 --- a/test/lint/spelling.ignore-words.txt +++ b/test/lint/spelling.ignore-words.txt @@ -1,21 +1,23 @@ asend ba blockin +bu cachable -creat -desig +clen fo fpr hights -hist -inout +inflight invokable keypair mor nd nin ser +siz +stap unparseable unser useable +warmup wit |