From 8097264ed0fd207777c001dcf544beec14e36155 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 24 May 2024 17:22:04 +0300 Subject: [PATCH 001/155] Exclude bots from generated release notes (#3432) --- .github/release.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .github/release.yml diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000000..9d1e0987bf --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,5 @@ +changelog: + exclude: + authors: + - dependabot + - pre-commit-ci From a31bdc4e7a9f125c3a11aa46640eea51a673571a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 17:18:11 +0000 Subject: [PATCH 002/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.4 → v0.4.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.4...v0.4.5) - [github.com/codespell-project/codespell: v2.2.6 → v2.3.0](https://github.com/codespell-project/codespell/compare/v2.2.6...v2.3.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 64db267776..5598e6b11d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.4 + rev: v0.4.5 hooks: - id: ruff - id: ruff-format @@ -68,7 +68,7 @@ repos: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.3.0 hooks: - id: codespell args: [--toml, pyproject-codespell.precommit-toml] From e89fd5b9f46f0204419f0a4179196b22c78f95e1 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Tue, 28 May 2024 18:46:15 +0000 Subject: [PATCH 003/155] Refactor: Move some code to new files for reuse (#3434) --- codespell_lib/_codespell.py | 65 ++--------------------------- codespell_lib/_spellchecker.py | 75 ++++++++++++++++++++++++++++++++++ codespell_lib/_text_util.py | 27 ++++++++++++ 3 files changed, 105 insertions(+), 62 deletions(-) create mode 100644 codespell_lib/_spellchecker.py create mode 100644 codespell_lib/_text_util.py diff --git a/codespell_lib/_codespell.py b/codespell_lib/_codespell.py index 62a51b75b3..9d1fd9abd9 100644 --- a/codespell_lib/_codespell.py +++ b/codespell_lib/_codespell.py @@ -39,6 +39,9 @@ Tuple, ) +from ._spellchecker import Misspelling, build_dict +from ._text_util import fix_case + # autogenerated by setuptools_scm from ._version import ( # type: ignore[import-not-found] __version__ as VERSION, # noqa: N812 @@ -52,9 +55,6 @@ "(\\b(?:https?|[ts]?ftp|file|git|smb)://[^\\s]+(?=$|\\s)|" "\\b[\\w.%+-]+@[\\w.-]+\\b)" ) -# Pass all misspellings through this translation table to generate -# alternative misspellings and fixes. -alt_chars = (("'", "’"),) # noqa: RUF001 inline_ignore_regex = re.compile(r"[^\w\s]\s?codespell:ignore\b(\s+(?P[\w,]*))?") USAGE = """ \t%prog [OPTIONS] [file1 file2 ... fileN] @@ -167,13 +167,6 @@ def match(self, filename: str) -> bool: return any(fnmatch.fnmatch(filename, p) for p in self.pattern_list) -class Misspelling: - def __init__(self, data: str, fix: bool, reason: str) -> None: - self.data = data - self.fix = fix - self.reason = reason - - class TermColors: def __init__(self) -> None: self.FILE = "\033[33m" @@ -703,48 +696,6 @@ def build_ignore_words( ) -def add_misspelling( - key: str, - data: str, - misspellings: Dict[str, Misspelling], -) -> None: - data = data.strip() - - if "," in data: - fix = False - data, reason = data.rsplit(",", 1) - reason = reason.lstrip() - else: - fix = True - reason = "" - - misspellings[key] = Misspelling(data, fix, reason) - - -def build_dict( - filename: str, - misspellings: Dict[str, Misspelling], - ignore_words: Set[str], -) -> None: - with open(filename, encoding="utf-8") as f: - translate_tables = [(x, str.maketrans(x, y)) for x, y in alt_chars] - for line in f: - [key, data] = line.split("->") - # TODO: For now, convert both to lower. - # Someday we can maybe add support for fixing caps. - key = key.lower() - data = data.lower() - if key not in ignore_words: - add_misspelling(key, data, misspellings) - # generate alternative misspellings/fixes - for x, table in translate_tables: - if x in key: - alt_key = key.translate(table) - alt_data = data.translate(table) - if alt_key not in ignore_words: - add_misspelling(alt_key, alt_data, misspellings) - - def is_hidden(filename: str, check_hidden: bool) -> bool: bfilename = os.path.basename(filename) @@ -759,16 +710,6 @@ def is_text_file(filename: str) -> bool: return b"\x00" not in s -def fix_case(word: str, fixword: str) -> str: - if word == word.capitalize(): - return ", ".join(w.strip().capitalize() for w in fixword.split(",")) - if word == word.upper(): - return fixword.upper() - # they are both lower case - # or we don't have any idea - return fixword - - def ask_for_word_fix( line: str, match: Match[str], diff --git a/codespell_lib/_spellchecker.py b/codespell_lib/_spellchecker.py new file mode 100644 index 0000000000..82865cdd19 --- /dev/null +++ b/codespell_lib/_spellchecker.py @@ -0,0 +1,75 @@ +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see +# https://www.gnu.org/licenses/old-licenses/gpl-2.0.html. +""" +Copyright (C) 2010-2011 Lucas De Marchi +Copyright (C) 2011 ProFUSION embedded systems +""" + +from typing import ( + Dict, + Set, +) + +# Pass all misspellings through this translation table to generate +# alternative misspellings and fixes. +alt_chars = (("'", "’"),) # noqa: RUF001 + + +class Misspelling: + def __init__(self, data: str, fix: bool, reason: str) -> None: + self.data = data + self.fix = fix + self.reason = reason + + +def add_misspelling( + key: str, + data: str, + misspellings: Dict[str, Misspelling], +) -> None: + data = data.strip() + + if "," in data: + fix = False + data, reason = data.rsplit(",", 1) + reason = reason.lstrip() + else: + fix = True + reason = "" + + misspellings[key] = Misspelling(data, fix, reason) + + +def build_dict( + filename: str, + misspellings: Dict[str, Misspelling], + ignore_words: Set[str], +) -> None: + with open(filename, encoding="utf-8") as f: + translate_tables = [(x, str.maketrans(x, y)) for x, y in alt_chars] + for line in f: + [key, data] = line.split("->") + # TODO: For now, convert both to lower. + # Someday we can maybe add support for fixing caps. + key = key.lower() + data = data.lower() + if key not in ignore_words: + add_misspelling(key, data, misspellings) + # generate alternative misspellings/fixes + for x, table in translate_tables: + if x in key: + alt_key = key.translate(table) + alt_data = data.translate(table) + if alt_key not in ignore_words: + add_misspelling(alt_key, alt_data, misspellings) diff --git a/codespell_lib/_text_util.py b/codespell_lib/_text_util.py new file mode 100644 index 0000000000..18a2ec89b4 --- /dev/null +++ b/codespell_lib/_text_util.py @@ -0,0 +1,27 @@ +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see +# https://www.gnu.org/licenses/old-licenses/gpl-2.0.html. +""" +Copyright (C) 2010-2011 Lucas De Marchi +Copyright (C) 2011 ProFUSION embedded systems +""" + + +def fix_case(word: str, fixword: str) -> str: + if word == word.capitalize(): + return ", ".join(w.strip().capitalize() for w in fixword.split(",")) + if word == word.upper(): + return fixword.upper() + # they are both lower case + # or we don't have any idea + return fixword From d126940b52f4af67e5a6f4e09cfd384376f5252c Mon Sep 17 00:00:00 2001 From: Casey Korver Date: Wed, 29 May 2024 22:03:46 +0000 Subject: [PATCH 004/155] Add equipmnet -> equipment --- codespell_lib/data/dictionary.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index c35d40be67..90c1e61e7a 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -23140,6 +23140,7 @@ equilvalents->equivalents equiped->equipped equipmentd->equipment equipments->equipment +equipmnet->equipment equippin->equipping equippment->equipment equiptment->equipment From db0891c1a15a46159fa8e9d993d9165806de9e49 Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Sun, 26 May 2024 22:20:14 +0200 Subject: [PATCH 005/155] Set better project description --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 32a566b813..b47f562d4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ [project] name = "codespell" -description = "Codespell" +description = "Fix common misspellings in text files" readme = { file = "README.rst", content-type = "text/x-rst" } requires-python = ">=3.8" license = {text = "GPL-2.0-only"} From 1b6f7eb92efef5072a3811bb4bc1f38e88ba2056 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 2 Jun 2024 22:37:45 +0200 Subject: [PATCH 006/155] =?UTF-8?q?Additional=20en-GB=20=E2=86=92=20en-US?= =?UTF-8?q?=20entries=20(#3058)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- codespell_lib/data/dictionary.txt | 14 ++-- .../data/dictionary_en-GB_to_en-US.txt | 65 +++++++++++++++++++ .../tests/data/en_GB-additional.wordlist | 40 ++++++++++++ .../tests/data/en_US-additional.wordlist | 37 +++++++++++ 4 files changed, 152 insertions(+), 4 deletions(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 90c1e61e7a..5168a7094f 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -24332,10 +24332,13 @@ exercieses->exercises exerciesing->exercising exerciess->exercises exercisin->exercising -exercize->exercise -exercized->exercised -exercizes->exercises -exercizing->exercising +exercizable->exercisable +exercize->exercise, exorcize, +exercized->exercised, exorcized, +exercizer->exerciser, exorcist, +exercizers->exercisers, exorcists, +exercizes->exercises, exorcizes, +exercizing->exercising, exorcizing, exerience->experience exerienced->experienced exeriences->experiences @@ -24551,6 +24554,8 @@ exntry->entry exolicit->explicit exolicitly->explicitly exonorate->exonerate +exorcizer->exorcist +exorcizers->exorcists exort->export, extort, exert, exhort, exorted->exported, extorted, exerted, exhorted, exorting->exporting, extorting, exerting, exhorting, @@ -54603,6 +54608,7 @@ surprisin->surprising surprisinlgy->surprisingly surprize->surprise surprized->surprised +surprizes->surprises surprizing->surprising surprizingly->surprisingly surregat->surrogate diff --git a/codespell_lib/data/dictionary_en-GB_to_en-US.txt b/codespell_lib/data/dictionary_en-GB_to_en-US.txt index 563ff8ad3a..6ca95f9d58 100644 --- a/codespell_lib/data/dictionary_en-GB_to_en-US.txt +++ b/codespell_lib/data/dictionary_en-GB_to_en-US.txt @@ -5,6 +5,7 @@ aggrandised->aggrandized aggrandisement->aggrandizement aggrandises->aggrandizes aggrandising->aggrandizing +aluminium->aluminum amortise->amortize amortised->amortized amortises->amortizes @@ -27,6 +28,7 @@ armoury->armory artefact->artifact artefacts->artifacts authorisation->authorization +authorisations->authorizations authorise->authorize authorised->authorized authorises->authorizes @@ -62,6 +64,7 @@ centre->center centred->centered centres->centers characterisation->characterization +characterisations->characterizations characterise->characterize characterised->characterized characterises->characterizes @@ -92,6 +95,10 @@ customise->customize customised->customized customises->customizes customising->customizing +daemonise->daemonize +daemonised->daemonized +daemonises->daemonizes +daemonising->daemonizing decentralisation->decentralization decentralise->decentralize decentralised->decentralized @@ -104,6 +111,11 @@ demonise->demonize demonised->demonized demonises->demonizes demonising->demonizing +deserialisation->deserialization +deserialise->deserialize +deserialised->deserialized +deserialises->deserializes +deserialising->deserializing dialogue->dialog dialogues->dialogs digitisation->digitization @@ -230,6 +242,8 @@ licences->licenses licencing->licensing litre->liter litres->liters +localisation->localization +localisations->localizations localise->localize localised->localized localises->localizes @@ -272,6 +286,7 @@ mould->mold moulds->molds nasalisation->nasalization nationalisation->nationalization +nationalisations->nationalizations nationalise->nationalize nationalised->nationalized nationalises->nationalizes @@ -280,6 +295,7 @@ neighbour->neighbor neighbouring->neighboring neighbours->neighbors normalisation->normalization +normalisations->normalizations normalise->normalize normalised->normalized normalises->normalizes @@ -303,6 +319,22 @@ organiser->organizer organisers->organizers organises->organizes organising->organizing +parallelisation->parallelization +parallelise->parallelize +parallelised->parallelized +parallelises->parallelizes +parallelising->parallelizing +parameterisable->parameterizable +parameterisation->parameterization +parameterise->parameterize +parameterised->parameterized +parameterises->parameterizes +parameterising->parameterizing +paravirtualisation->paravirtualization +paravirtualise->paravirtualize +paravirtualised->paravirtualized +paravirtualises->paravirtualizes +paravirtualising->paravirtualizing pasteurisation->pasteurization pasteurise->pasteurize pasteurised->pasteurized @@ -321,6 +353,9 @@ polarised->polarized polarises->polarizes polarising->polarizing practise->practice +practised->practiced +practises->practiced +practising->practicing pretence->pretense pretences->pretenses prioritisation->prioritization @@ -341,14 +376,18 @@ rasterise->rasterize rasterised->rasterized rasterises->rasterizes rasterising->rasterizing +rationalisation->rationalization rationalise->rationalize rationalised->rationalized rationalising->rationalizing +realisable->realizable realisation->realization +realisations->realizations realise->realize realised->realized realises->realizes realising->realizing +recognisable->recognizable recognise->recognize recognised->recognized recognises->recognizes @@ -363,12 +402,18 @@ regularises->regularizes regularising->regularizing reinitialise->reinitialize reinitialised->reinitialized +reinitialises->reinitializes +reinitialising->reinitializing reorganisation->reorganization reorganisations->reorganizations reorganise->reorganize reorganised->reorganized reorganises->reorganizes reorganising->reorganizing +reparameterise->reparameterize +reparameterised->reparameterized +reparameterises->reparameterizes +reparameterising->reparameterizing rigour->rigor sanitisation->sanitization sanitise->sanitize @@ -389,6 +434,7 @@ skilful->skillful skilfully->skillfully skilfulness->skillfulness specialisation->specialization +specialisations->specializations specialise->specialize specialised->specialized specialises->specializes @@ -402,6 +448,7 @@ standardised->standardized standardises->standardizes standardising->standardizing sterilisation->sterilization +sterilisations->sterilizations sterilise->sterilize sterilised->sterilized steriliser->sterilizer @@ -409,6 +456,12 @@ sterilises->sterilizes sterilising->sterilizing storey->story storeys->stories +sulphate->sulfate +sulphide->sulfide +sulphur->sulfur +sulphureous->sulfureous +sulphuric->sulfuric +sulphurous->sulfurous summarise->summarize summarised->summarized summarises->summarizes @@ -418,12 +471,19 @@ symbolised->symbolized symbolises->symbolizes symbolising->symbolizing synchronisation->synchronization +synchronisations->synchronizations synchronise->synchronize synchronised->synchronized synchroniser->synchronizer synchronisers->synchronizers synchronises->synchronizes synchronising->synchronizing +synthesise->synthesize +synthesised->synthesized +synthesiser->synthesizer +synthesisers->synthesizers +synthesises->synthesizes +synthesising->synthesizing totalled->totaled totalling->totaling unauthorised->unauthorized @@ -433,6 +493,7 @@ uninitialised->uninitialized unorganised->unorganized unrecognisable->unrecognizable unrecognised->unrecognized +unsynchronised->unsynchronized utilisable->utilizable utilisation->utilization utilise->utilize @@ -446,6 +507,10 @@ vectorised->vectorized vectorises->vectorizes vectorising->vectorizing virtualisation->virtualization +virtualise->virtualize +virtualised->virtualized +virtualises->virtualizes +virtualising->virtualizing visualisation->visualization visualisations->visualizations visualise->visualize diff --git a/codespell_lib/tests/data/en_GB-additional.wordlist b/codespell_lib/tests/data/en_GB-additional.wordlist index 3f2f59ba78..5ee451606a 100644 --- a/codespell_lib/tests/data/en_GB-additional.wordlist +++ b/codespell_lib/tests/data/en_GB-additional.wordlist @@ -3,6 +3,15 @@ aestheticians biassed colourations customisable +daemonise +daemonised +daemonises +daemonising +deserialisation +deserialise +deserialised +deserialises +deserialising dialogues focussed focusses @@ -14,8 +23,24 @@ lambast lambasts licenced licencing +localisations +normalisations ochreous ochrey +parallelisation +parallelise +parallelised +parallelises +parallelising +parameterisable +parameterisation +parameterises +parameterising +paravirtualisation +paravirtualise +paravirtualised +paravirtualises +paravirtualising rasterisation rasterise rasterised @@ -24,13 +49,28 @@ rasterising refocussed refocusses refocussing +reinitialises +reinitialising +reparameterise +reparameterised +reparameterises +reparameterising sanitisation +sulfureous +sulphureous synchroniser synchronisers +synthesiser +synthesisers +unsynchronised vectorisation vectorisations vectorise vectorised vectorises vectorising +virtualise +virtualised +virtualises +virtualising writeable diff --git a/codespell_lib/tests/data/en_US-additional.wordlist b/codespell_lib/tests/data/en_US-additional.wordlist index 18e49fa7fa..0f5a287f4e 100644 --- a/codespell_lib/tests/data/en_US-additional.wordlist +++ b/codespell_lib/tests/data/en_US-additional.wordlist @@ -1,5 +1,14 @@ colorations customizable +daemonize +daemonized +daemonizes +daemonizing +deserialization +deserialize +deserialized +deserializes +deserializing dialogs donut esthetic @@ -9,19 +18,47 @@ estheticians esthetics grayscale journaling +localizations +normalizations ocherous ochery +parallelization +parallelize +parallelized +parallelizes +parallelizing +parameterizable +parameterization +parameterizes +parameterizing +paravirtualization +paravirtualize +paravirtualized +paravirtualizes +paravirtualizing rasterization rasterize rasterized rasterizes rasterizing +reinitializes +reinitializing +reparameterize +reparameterized +reparameterizes +reparameterizing sanitization +sulfureous synchronizer synchronizers +unsynchronized vectorization vectorizations vectorize vectorized vectorizes vectorizing +virtualize +virtualized +virtualizes +virtualizing From faf1c337e4a83abdf813834903d3eae308484d00 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 2 Jun 2024 23:54:30 +0200 Subject: [PATCH 007/155] Consistent error messages (#3440) --- codespell_lib/_codespell.py | 60 ++++++++++++++++--------------------- pyproject.toml | 2 +- 2 files changed, 27 insertions(+), 35 deletions(-) diff --git a/codespell_lib/_codespell.py b/codespell_lib/_codespell.py index 9d1fd9abd9..14bd3edc8e 100644 --- a/codespell_lib/_codespell.py +++ b/codespell_lib/_codespell.py @@ -1062,6 +1062,12 @@ def _script_main() -> int: return main(*sys.argv[1:]) +def _usage_error(parser: argparse.ArgumentParser, message: str) -> int: + parser.print_usage() + print(message, file=sys.stderr) + return EX_USAGE + + def main(*args: str) -> int: """Contains flow control""" try: @@ -1081,30 +1087,27 @@ def main(*args: str) -> int: print(f" {ifile}: {cfg_file}") if options.regex and options.write_changes: - print( + return _usage_error( + parser, "ERROR: --write-changes cannot be used together with --regex", - file=sys.stderr, ) - parser.print_help() - return EX_USAGE word_regex = options.regex or word_regex_def try: word_regex = re.compile(word_regex) except re.error as e: - print(f'ERROR: invalid --regex "{word_regex}" ({e})', file=sys.stderr) - parser.print_help() - return EX_USAGE + return _usage_error( + parser, + f'ERROR: invalid --regex "{word_regex}" ({e})', + ) if options.ignore_regex: try: ignore_word_regex = re.compile(options.ignore_regex) except re.error as e: - print( + return _usage_error( + parser, f'ERROR: invalid --ignore-regex "{options.ignore_regex}" ({e})', - file=sys.stderr, ) - parser.print_help() - return EX_USAGE else: ignore_word_regex = None @@ -1117,24 +1120,20 @@ def main(*args: str) -> int: ) for ignore_words_file in ignore_words_files: if not os.path.isfile(ignore_words_file): - print( + return _usage_error( + parser, f"ERROR: cannot find ignore-words file: {ignore_words_file}", - file=sys.stderr, ) - parser.print_help() - return EX_USAGE build_ignore_words(ignore_words_file, ignore_words, ignore_words_cased) uri_regex = options.uri_regex or uri_regex_def try: uri_regex = re.compile(uri_regex) except re.error as e: - print( + return _usage_error( + parser, f'ERROR: invalid --uri-regex "{uri_regex}" ({e})', - file=sys.stderr, ) - parser.print_help() - return EX_USAGE uri_ignore_words = set( itertools.chain(*parse_ignore_words_option(options.uri_ignore_words_list)) @@ -1155,20 +1154,16 @@ def main(*args: str) -> int: ) break else: - print( + return _usage_error( + parser, f"ERROR: Unknown builtin dictionary: {u}", - file=sys.stderr, ) - parser.print_help() - return EX_USAGE else: if not os.path.isfile(dictionary): - print( + return _usage_error( + parser, f"ERROR: cannot find dictionary file: {dictionary}", - file=sys.stderr, ) - parser.print_help() - return EX_USAGE use_dictionaries.append(dictionary) misspellings: Dict[str, Misspelling] = {} for dictionary in use_dictionaries: @@ -1182,13 +1177,11 @@ def main(*args: str) -> int: context = None if options.context is not None: if (options.before_context is not None) or (options.after_context is not None): - print( + return _usage_error( + parser, "ERROR: --context/-C cannot be used together with " "--context-before/-B or --context-after/-A", - file=sys.stderr, ) - parser.print_help() - return EX_USAGE context_both = max(0, options.context) context = (context_both, context_both) elif (options.before_context is not None) or (options.after_context is not None): @@ -1214,12 +1207,11 @@ def main(*args: str) -> int: try: glob_match.match("/random/path") # does not need a real path except re.error: - print( + return _usage_error( + parser, "ERROR: --skip/-S has been fed an invalid glob, " "try escaping special characters", - file=sys.stderr, ) - return EX_USAGE bad_count = 0 for filename in sorted(options.files): diff --git a/pyproject.toml b/pyproject.toml index b47f562d4a..87fa3c4b2e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -169,6 +169,6 @@ max-complexity = 45 [tool.ruff.lint.pylint] allow-magic-value-types = ["bytes", "int", "str",] max-args = 13 -max-branches = 51 +max-branches = 46 max-returns = 11 max-statements = 119 From e1e3171ee3877a2f0b6b89d4c91d5d7ec44f8ec1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 17:20:13 +0000 Subject: [PATCH 008/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.5 → v0.4.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.5...v0.4.7) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5598e6b11d..05848809cc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.5 + rev: v0.4.7 hooks: - id: ruff - id: ruff-format From 3760e619e2a7b7fa8467debb2889d21a34651853 Mon Sep 17 00:00:00 2001 From: Casey Korver Date: Mon, 3 Jun 2024 09:48:52 -0500 Subject: [PATCH 009/155] Add 'driven' as 'drivin' variant --- codespell_lib/data/dictionary.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 5168a7094f..043cc385c6 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -21468,7 +21468,7 @@ driects->directs drity->dirty drived->derived, drove, driven, driveing->driving -drivin->driving, drive-in, +drivin->driving, driven, drive-in, drivr->driver drnik->drink drob->drop From 1f685ed7a3882894875bf22662377e0a17ba7552 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Tue, 4 Jun 2024 17:00:56 +0200 Subject: [PATCH 010/155] More typos (#3439) --- codespell_lib/data/dictionary.txt | 15 ++++++++++++--- codespell_lib/data/dictionary_en-GB_to_en-US.txt | 1 - codespell_lib/data/dictionary_rare.txt | 1 - 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 043cc385c6..eecba029e7 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -1859,6 +1859,7 @@ addiitonall->additional addiitonally->additionally addiitons->additions addin->adding, add in, add-on, +addind->adding addional->additional addionally->additionally addiotion->addition @@ -3452,6 +3453,7 @@ amendin->amending, amend in, amendmant->amendment amened->amended, amend, Amercia->America +americain->American amerliorate->ameliorate amerliorated->ameliorated amerliorates->ameliorates @@ -24454,6 +24456,7 @@ exis->exist, exists, exit, exits, axis, lexis, exes, exising->existing exisit->exist exisited->existed +exisitence->existence exisitent->existent exisiting->existing exisitng->existing @@ -29054,9 +29057,13 @@ hundrets->hundreds hungs->hangs, hung, hunrgy->hungry huntin->hunting, hunt in, +huricain->hurricane +huricaine->hurricane huricane->hurricane huristic->heuristic huristics->heuristics +hurricain->hurricane +hurricaine->hurricane hurse->hearse, nurse, husban->husband hussel->hustle, mussel, @@ -34894,7 +34901,7 @@ mamory->memory mamuth->mammoth manafacturer->manufacturer manafacturers->manufacturers -managable->manageable, manageably, +managable->manageable managament->management manageed->managed managemenet->management @@ -40686,6 +40693,8 @@ parenthesed->parenthesized parenthesies->parentheses parenthises->parentheses parenthsis->parenthesis +paresr->parser +paresrs->parsers paret->parent, parrot, paretheses->parentheses parethesis->parenthesis @@ -60851,7 +60860,7 @@ wireframws->wireframes wirh->with wirhin->within wirhout->without -wirtable->writable, writeable, +wirtable->writable wirte->write wirter->writer wirters->writers @@ -60872,7 +60881,7 @@ wissle->whistle wissled->whistled wissles->whistles wissling->whistling -witable->writable, writeable, +witable->writable witdh->width witdhs->widths witdth->width diff --git a/codespell_lib/data/dictionary_en-GB_to_en-US.txt b/codespell_lib/data/dictionary_en-GB_to_en-US.txt index 6ca95f9d58..9175b3dacd 100644 --- a/codespell_lib/data/dictionary_en-GB_to_en-US.txt +++ b/codespell_lib/data/dictionary_en-GB_to_en-US.txt @@ -518,4 +518,3 @@ visualised->visualized visualiser->visualizer visualises->visualizes visualising->visualizing -writeable->writable diff --git a/codespell_lib/data/dictionary_rare.txt b/codespell_lib/data/dictionary_rare.txt index fbf49aea6e..b95c2df155 100644 --- a/codespell_lib/data/dictionary_rare.txt +++ b/codespell_lib/data/dictionary_rare.txt @@ -230,7 +230,6 @@ rime->rhyme rouge->rogue sate->state sates->states -savable->saveable scrip->script scrips->scripts seizin->seizing From 80be2aaa57127fb8e8bee1161971530d7fe1e18e Mon Sep 17 00:00:00 2001 From: Casey Korver Date: Fri, 7 Jun 2024 10:45:40 -0500 Subject: [PATCH 011/155] Add reusing misspelling and variants (#3445) --- codespell_lib/data/dictionary.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index eecba029e7..41b619c49a 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -45312,6 +45312,9 @@ re-uplods->re-uploads re-usable->reusable re-use->reuse re-useable->reusable +re-used->reused +re-uses->reuses +re-using->reusing reaaly->really reaarange->rearrange reaaranges->rearranges From 67075976f9d7239f3e46190335c5965e85f119e6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 17:22:37 +0000 Subject: [PATCH 012/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.7 → v0.4.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.7...v0.4.8) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 05848809cc..80f6283ce6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.7 + rev: v0.4.8 hooks: - id: ruff - id: ruff-format From 3f094f8afd205f408c6094d0ef061dfb1053edac Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Tue, 11 Jun 2024 00:10:02 +0200 Subject: [PATCH 013/155] Add typos found in Emacs and elsewhere (#3447) Co-authored-by: Eric Larson --- codespell_lib/data/dictionary.txt | 121 ++++++++++++++++++++++++- codespell_lib/data/dictionary_rare.txt | 1 + 2 files changed, 121 insertions(+), 1 deletion(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 41b619c49a..f74078f8db 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -2319,6 +2319,7 @@ affortable->affordable afforts->affords, efforts, affraid->afraid affter->after +afganistan->Afghanistan afile->a file, agile, afinity->affinity afor->for @@ -3305,6 +3306,7 @@ alternatievly->alternatively alternatievs->alternatives alternatin->alternating, alternation, alternativ->alternative +alternativelly->alternatively alternativey->alternatively alternativley->alternatively alternativly->alternatively @@ -3727,6 +3729,8 @@ androidextra->androidextras androind->android androinds->androids andthe->and the +andtoid->android +andtoids->androids ane->and aneel->anneal aneeled->annealed @@ -4794,6 +4798,13 @@ approxmately->approximately approxmates->approximates approxmation->approximation approxmations->approximations +approxmiate->approximate +approxmiated->approximated +approxmiately->approximately +approxmiates->approximates +approxmiating->approximating +approxmiation->approximation +approxmiations->approximations approxmimate->approximate approxmimated->approximated approxmimately->approximately @@ -4864,6 +4875,10 @@ aqcuire->acquire aqcuired->acquired aqcuires->acquires aqcuiring->acquiring +aqquire->acquire +aqquired->acquired +aqquires->acquires +aqquiring->acquiring aquaduct->aqueduct aquaint->acquaint aquaintance->acquaintance @@ -7212,6 +7227,7 @@ avalability->availability avalable->available avalaibility->availability avalaible->available +avalaibles->available avalance->avalanche avaliability->availability avaliable->available @@ -7297,6 +7313,7 @@ awfull->awful, awfully, awfullly->awfully awfuly->awfully awkard->awkward +awkardly->awkwardly awming->awning awmings->awnings awnin->awning, awn in, @@ -7542,6 +7559,7 @@ basci->basic bascially->basically bascktrack->backtrack basf->base +basially->basically basicallly->basically basicaly->basically basiclly->basically @@ -10040,6 +10058,8 @@ cecksum->checksum cecksums->checksums cedential->credential cedentials->credentials +ceeling->ceiling +ceelings->ceilings cehck->check cehckbox->checkbox cehckboxes->checkboxes @@ -13104,6 +13124,14 @@ compontent->component compontents->components comporator->comparator comporators->comparators +comporess->compress +comporessed->compressed +comporesser->compressor +comporessers->compressors +comporesses->compresses +comporessing->compressing +comporessor->compressor +comporessors->compressors comporison->comparison comporisons->comparisons composablity->composability @@ -13318,6 +13346,8 @@ concatonate->concatenate concatonated->concatenated concatonates->concatenates concatonating->concatenating +concecutive->consecutive +concecutively->consecutively conceed->concede conceedd->conceded conceeding->conceding @@ -14462,6 +14492,9 @@ constaints->constraints constallation->constellation constallations->constellations constan->constant +constand->constant +constandly->constantly +constands->constants constanly->constantly constans->constants, constant, Constance, constantsm->constants @@ -15407,6 +15440,7 @@ copmilers->compilers copmiles->compiles copmiling->compiling copmonent->component +copmonents->components copmutations->computations copntroller->controller coponent->component @@ -15519,6 +15553,8 @@ corespondences->correspondences coresponding->corresponding corespondingly->correspondingly coresponds->corresponds +coreutil's->coreutils +coreutil->coreutils corfirms->confirms coridal->cordial corispond->correspond @@ -16092,6 +16128,7 @@ countain->contain countainer->container countainers->containers countains->contains +counter-intuitivelly->counter-intuitively countere->counter counteres->counters counterfit->counterfeit @@ -16992,6 +17029,7 @@ dancin->dancing dandidates->candidates dandlin->dandling dangereous->dangerous +dangerouns->dangerous daplicating->duplicating daquiri->daiquiri daquiris->daiquiris @@ -18517,6 +18555,12 @@ derefence->dereference derefenced->dereferenced derefences->dereferences derefencing->dereferencing +derefenrecable->dereferenceable +derefenrece->dereference +derefenreceable->dereferenceable +derefenreced->dereferenced +derefenreces->dereferences +derefenrecing->dereferencing derefenrence->dereference dereferance->dereference dereferanced->dereferenced @@ -19061,6 +19105,8 @@ destionation->destination destionations->destinations destkop->desktop destkops->desktops +destnation->destination +destnations->destinations destop->desktop destops->desktops destoried->destroyed @@ -19276,6 +19322,7 @@ deubug->debug deubuging->debugging deug->debug deugging->debugging +devangari->Devanagari devastatin->devastating, devastation, devasted->devastated devation->deviation @@ -19624,6 +19671,7 @@ dicussing->discussing dicussion->discussion dicussions->discussions did'nt->didn't +didactical->didactic didi->did didnt'->didn't didnt't->didn't @@ -19720,6 +19768,7 @@ differenes->differences differenly->differently differens->difference differense->difference +differente->different, difference, differentes->differences, difference, different, differentiater->differentiator, differentiated, differentiates, differentiate, differentiaters->differentiators, differentiates, @@ -20071,6 +20120,7 @@ directsions->directions directtories->directories directtory->directory directy->directly +directyory->directory direectly->directly diregard->disregard direktly->directly @@ -20421,6 +20471,7 @@ disired->desired disires->desires disiring->desiring disitributions->distributions +disjointness->disjointedness diskrete->discrete diskretion->discretion diskretization->discretization @@ -20849,6 +20900,7 @@ distrobuting->distributing distrobution->distribution distrobutions->distributions distrobuts->distributes +Distrobxx->Distrobox distroname->distro name distroy->destroy distroyed->destroyed @@ -20905,6 +20957,7 @@ disutils->distutils ditance->distance ditial->digital ditinguishes->distinguishes +dito->ditto ditorconfig->editorconfig ditribute->distribute ditributed->distributed @@ -21864,6 +21917,7 @@ eduction->education, reduction, deduction, seduction, eductions->reductions, deductions, educations, seductions, edxpected->expected eearly->early +eeded->needed, heeded, seeded, weeded, eeeprom->EEPROM eeger->eager eegerly->eagerly @@ -22362,6 +22416,8 @@ emtpies->empties emtpy->empty emty->empty emtying->emptying +emualtor->emulator +emualtors->emulators emulater->emulator, emulated, emulates, emulate, emulaters->emulators, emulates, emultor->emulator @@ -24254,6 +24310,7 @@ executding->executing executeable->executable executeables->executables executible->executable +executig->executing executign->executing executin->executing, execution, executiong->execution, executing, @@ -24372,6 +24429,8 @@ exersizes->exercises exersizing->exercising exerternal->external exertin->exerting, exert in, exertion, +exessive->excessive +exessively->excessively exeuctable->executable exeuctables->executables exeucte->execute @@ -25700,6 +25759,7 @@ facour->favour facourite->favourite facourites->favourites facours->favours +facsimilie->facsimile factization->factorization factorin->factoring, factor in, factorizaiton->factorization @@ -25766,6 +25826,8 @@ faktoring->factoring faktors->factors falback->fallback falbacks->fallbacks +fale->false, fail, +fales->false, fails, falg->flag falgs->flags falied->failed @@ -26798,6 +26860,14 @@ formmatters->formatters formmatting->formatting formost->foremost formt->format, form, +formtat->format +formtated->formatted +formtating->formatting +formtats->formats +formtatted->formatted +formtatter->formatter +formtatters->formatters +formtatting->formatting formts->formats, forms, formtted->formatted formtter->formatter @@ -27052,6 +27122,9 @@ frivilously->frivolously frmat->format frmo->from froce->force +froced->forced +froces->forces +frocing->forcing froget->forget frogetting->forgetting frogot->forgot @@ -28776,6 +28849,7 @@ highligher->highlighter highlighers->highlighters highlighing->highlighting highlighs->highlights +highlightes->highlights, highlighted, highlightin->highlighting highlightning->highlighting highligjt->highlight @@ -29378,6 +29452,7 @@ ignesting->ingesting ignests->ingests ignnore->ignore ignoded->ignored +ignoerd->ignored ignonre->ignore ignora->ignore ignord->ignored @@ -30756,6 +30831,7 @@ inexpirienced->inexperienced infact->in fact infalability->infallibility infallable->infallible +infalliable->infallible infaltable->inflatable, infallible, infalte->inflate infalted->inflated @@ -31455,6 +31531,7 @@ initilizer->initializer initilizers->initializers initilizes->initializes initilizing->initializing +inititailiaze->initialize initital->initial inititalisation->initialisation inititalisations->initialisations @@ -32203,6 +32280,7 @@ intenationally->internationally intendation->indentation, intention, intendations->indentations, intentions, intendend->intended +intendes->intends, intended, intendet->intended intendin->intending, intend in, inteneded->intended @@ -32938,6 +33016,7 @@ intterupted->interrupted intterupting->interrupting intterupts->interrupts intuative->intuitive +intuitivelly->intuitively inturpratasion->interpretation inturpratation->interpretation inturprett->interpret @@ -33725,6 +33804,7 @@ kubermetes->Kubernetes kubernates->Kubernetes kubernests->Kubernetes kubernete->Kubernetes +kubernets->Kubernetes kuberntes->Kubernetes kwno->know kwnoledge->knowledge @@ -34120,6 +34200,7 @@ levetating->levitating levitatin->levitating, levitation, levl->level levle->level +levls->levels lew->lieu, hew, sew, dew, lewchemia->leukaemia, leukemia, lewow->luau @@ -35453,6 +35534,7 @@ medhod->method medhods->methods mediciney->medicine, medicinal, mediciny->medicine, medicinal, +medicore->mediocre, Medicare, medievel->medieval medifor->metaphor medifors->metaphors @@ -35879,6 +35961,7 @@ milimetre->millimetre milimetres->millimetres milimiters->millimeters milion->million +milions->millions miliraty->military milisecond->millisecond miliseconds->milliseconds @@ -36221,6 +36304,7 @@ missunderstood->misunderstood missuse->misuse missused->misused missusing->misusing +mistankely->mistakenly mistatch->mismatch mistatchd->mismatched mistatched->mismatched @@ -37155,6 +37239,7 @@ natioanlly->nationally natioanls->nationals nationalisin->nationalising nationalizin->nationalizing +nativelly->natively nativelyx->natively natrual->natural natrually->naturally @@ -39161,6 +39246,7 @@ openned->opened openning->opening openscource->open-source, open source, opensource, openscourced->open-sourced, open sourced, opensourced, +opentememetry->OpenTelemetry operaand->operand operaands->operands operaion->operation @@ -41208,6 +41294,8 @@ pendig->pending pendin->pending, pend in, pendning->pending penerator->penetrator +pengiun->penguin +pengiuns->penguins pengwen->penguin pengwens->penguins pengwin->penguin @@ -42786,6 +42874,7 @@ precceding->preceding precding->preceding preced->precede precedencs->precedence +precedense->precedence precedessor->predecessor precedin->preceding preceds->precedes @@ -43008,6 +43097,7 @@ prejudgudicing->prejudicing prejudicin->prejudicing preliferation->proliferation prelimitary->preliminary +prematurelly->prematurely premeire->premiere premeired->premiered premillenial->premillennial @@ -43063,6 +43153,7 @@ preprares->prepares prepraring->preparing preprend->prepend preprended->prepended +preprepared->prepared prepresent->represent prepresented->represented prepresents->represents @@ -45752,6 +45843,7 @@ reciprocoal->reciprocal reciprocoals->reciprocals recipt->receipt, recipe, recipts->receipts, recipes, +recivable->receivable recive->receive recived->received reciver->receiver @@ -46672,6 +46764,7 @@ reguster->register rehearsin->rehearsing, rehears in, rehersal->rehearsal rehersing->rehearsing +rehighlightes->rehighlights, rehighlighted, reicarnation->reincarnation reight->right, eight, freight, reigining->reigning @@ -49165,6 +49258,7 @@ runnig->running runnign->running runnigng->running runnin->running +runnining->running runnint->running runnner->runner runnners->runners @@ -49389,6 +49483,7 @@ satements->statements saterday->Saturday saterdays->Saturdays satifaction->satisfaction +satifactory->satisfactory satified->satisfied satifies->satisfies satifsy->satisfy @@ -49520,6 +49615,7 @@ scavanged->scavenged scavanger->scavenger scavangers->scavengers scavanges->scavenges +scavanging->scavenging sccess->success sccesses->successes sccessful->successful @@ -50421,6 +50517,7 @@ seperare->separate seperared->separated seperares->separates seperat->separate +seperatable->separable seperataed->separated seperatally->separately seperataly->separately @@ -50530,6 +50627,7 @@ sequelce->sequence sequemce->sequence sequemces->sequences sequenc->sequence +sequencess->sequences sequencial->sequential sequencially->sequentially sequencies->sequences @@ -51011,7 +51109,7 @@ shouuldn't->shouldn't shouw->show shouws->shows showfer->chauffeur, shower, -showin->showing, show in, +showin->showing, show in, shown, showvinism->chauvinism shpae->shape shpaes->shapes @@ -51041,6 +51139,8 @@ shttp->https shuckin->shucking, shuck in, shudown->shutdown shufle->shuffle +shuit->shut, suit, shit, +shuits->shuts, suits, shits, shuld->should shuold->should shuoldnt->shouldn't @@ -52425,6 +52525,7 @@ specifyied->specified specifyig->specifying specifyin->specifying, specify in, specifyinhg->specifying +specifyng->specifying speciic->specific speciied->specified speciifc->specific @@ -53058,6 +53159,7 @@ staition->station staitions->stations stalagtite->stalactite stamement's->statement's, statements, statement, +stampeed->stampede, stamped, stanalone->standalone stanard->standard stanardisation->standardisation @@ -53224,6 +53326,7 @@ stattistic->statistic stattistical->statistical stattistically->statistically stattistics->statistics +statu->status, statue, statubar->statusbar statuline->statusline statulines->statuslines @@ -53247,6 +53350,7 @@ stayin->staying, stay in, stain, stcokbrush->stockbrush stdanard->standard stdanards->standards +stdoud->stdout steamin->steaming, steam in, stegnographic->steganographic stegnography->steganography @@ -53275,6 +53379,12 @@ stil->still stilus->stylus stingent->stringent stip->strip, stop, +stiple->stipple +stipled->stippled +stipler->stippler +stiplers->stipplers +stiples->stipples +stipling->stippling stipped->stripped stiring->stirring stirng->string @@ -53706,7 +53816,9 @@ subjet->subject subjudgation->subjugation sublass->subclass sublasse->subclasse +sublassed->subclassed sublasses->subclasses +sublassing->subclassing sublcass->subclass sublcasses->subclasses sublcuase->subclause @@ -55474,6 +55586,7 @@ temaplate->template temaplated->templated temaplates->templates temaplating->templating +tememetry->telemetry temeprature->temperature temepratures->temperatures temerature->temperature @@ -55576,6 +55689,7 @@ temporily->temporarily tempororaries->temporaries tempororarily->temporarily tempororary->temporary +tempororay->temporary temporories->temporaries tempororily->temporarily temporory->temporary @@ -58200,6 +58314,8 @@ unexpacted->unexpected unexpactedly->unexpectedly unexpcted->unexpected unexpctedly->unexpectedly +unexpeced->unexpected +unexpecedly->unexpectedly unexpecetd->unexpected unexpecetdly->unexpectedly unexpect->unexpected @@ -58260,6 +58376,7 @@ unfortuante->unfortunate unfortuantely->unfortunately unfortuate->unfortunate unfortuately->unfortunately +unfortunaletly->unfortunately unfortunalte->unfortunate unfortunaltely->unfortunately unfortunaly->unfortunately @@ -58358,6 +58475,7 @@ uninstlaler->uninstaller uninstlaling->uninstalling uninstlals->uninstalls unint8_t->uint8_t +uninteded->unintended unintelligable->unintelligible unintelligble->unintelligible unintented->unintended, unindented, @@ -58669,6 +58787,7 @@ unsaged->unsaved, unstaged, unsages->usages, unstages, unsaging->unstaging unsanfe->unsafe +unsatifactory->unsatisfactory unsccessful->unsuccessful unscubscribe->subscribe unscubscribed->subscribed diff --git a/codespell_lib/data/dictionary_rare.txt b/codespell_lib/data/dictionary_rare.txt index b95c2df155..677ccdbe2e 100644 --- a/codespell_lib/data/dictionary_rare.txt +++ b/codespell_lib/data/dictionary_rare.txt @@ -114,6 +114,7 @@ girds->grids guarantied->guaranteed guerilla->guerrilla guerillas->guerrillas +göyph->glyph habitant->inhabitant habitants->inhabitants hart->heart, harm, From acbedb27d017f8dfada809032d63c236bd20d796 Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Tue, 11 Jun 2024 11:43:46 -0400 Subject: [PATCH 014/155] MAINT: Fix codecov (#3451) --- .github/workflows/codespell-private.yml | 2 ++ .github/workflows/codespell-windows.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/codespell-private.yml b/.github/workflows/codespell-private.yml index 22211da492..823630950b 100644 --- a/.github/workflows/codespell-private.yml +++ b/.github/workflows/codespell-private.yml @@ -51,6 +51,8 @@ jobs: - run: codespell --version - run: make check - uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} # tomli should not be required for the next two steps (and make sure it's not) - run: pip uninstall -yq tomli if: ${{ matrix.no-toml == 'no-toml' }} diff --git a/.github/workflows/codespell-windows.yml b/.github/workflows/codespell-windows.yml index 6708b47de9..4bb12b2045 100644 --- a/.github/workflows/codespell-windows.yml +++ b/.github/workflows/codespell-windows.yml @@ -26,3 +26,5 @@ jobs: - run: codespell --version - run: pytest codespell_lib - uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} From aedf2be1f99d11e51dffd315677424e1e7015c83 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Tue, 11 Jun 2024 17:57:34 +0200 Subject: [PATCH 015/155] Add typos found in GNU Guile (#3448) Co-authored-by: Eric Larson --- codespell_lib/data/dictionary.txt | 44 +++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index f74078f8db..c7c6c10c14 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -721,6 +721,7 @@ accesor->accessor accesories->accessories accesors->accessors accesory->accessory +accessa->access a accessability->accessibility accessable->accessible accessbile->accessible @@ -3367,6 +3368,8 @@ alwauys->always alway->always alwyas->always alwys->always +alyer->layer +alyers->layers alyways->always amacing->amazing amacingly->amazingly @@ -4841,6 +4844,7 @@ aproch->approach aproched->approached aproches->approaches aproching->approaching +aprogram->a program aproove->approve aprooved->approved apropiate->appropriate @@ -8688,6 +8692,7 @@ bufferes->buffers, buffered, bufferin->buffering, buffer in, bufferred->buffered bufferring->buffering +buffes->buffers buffeur->buffer bufffer->buffer bufffered->buffered @@ -13371,6 +13376,7 @@ conceous->conscious conceousally->consciously conceously->consciously conceptification->conceptualization, conceptualisation, +conceptionally->conceptually concequence->consequence concequences->consequences concered->concerned @@ -15017,6 +15023,10 @@ contributiongs->contributions contributon->contribution, contributor, contributons->contributions, contributors, contries->countries +contrieve->contrive +contrieved->contrived +contrieves->contrives +contrieving->contriving contrinution->contribution contrinutions->contributions contritutions->contributions @@ -15141,6 +15151,8 @@ conventience->convenience conventiences->conveniences conventient->convenient conventiently->conveniently +conventioal->conventional +conventioally->conventionally convenvient->convenient conver->convert, cover, convex, convey, confer, converage->coverage, converge, @@ -22238,6 +22250,7 @@ emable->enable emabled->enabled emables->enables emabling->enabling +emac->Emacs emai->email emailin->emailing, email in, emailling->emailing @@ -23012,7 +23025,11 @@ envioronment->environment envioronmental->environmental envioronments->environments envireonment->environment +envireonmental->environmental +envireonments->environments envirionment->environment +envirionmental->environmental +envirionments->environments envirnment->environment envirnmental->environmental envirnments->environments @@ -23286,6 +23303,10 @@ erorrs->errors erors->errors erraneous->erroneous erraneously->erroneously +errect->erect +errected->erected +errecting->erecting +errects->erects erro->error erroneos->erroneous erroneosly->erroneously @@ -24641,6 +24662,8 @@ expanation->explanation, expansion, expanations->explanations, expansions, expanble->expandable expandin->expanding, expand in, +expandr->expander +expandrs->expanders expaned->expand, expanded, explained, expaneded->expanded expaneding->expanding @@ -27690,6 +27713,10 @@ generalyl->generally generalyse->generalise generaor->generator generaors->generators +generare->generate +generared->generated +generares->generates +generaring->generating generat->generate, general, generatd->generated generater->generator, generated, generates, generate, @@ -28370,6 +28397,7 @@ guideded->guided guidence->guidance guidline->guideline guidlines->guidelines +guie->guide, guile, guise, Guilia->Giulia Guilio->Giulio Guiness->Guinness @@ -29459,6 +29487,7 @@ ignord->ignored ignoreing->ignoring ignorence->ignorance ignorent->ignorant +ignoret->ignored ignorgable->ignorable ignorgd->ignored ignorge->ignore @@ -29752,6 +29781,8 @@ implemanting->implementing implemants->implements implemataion->implementation implemataions->implementations +implemation->implementation +implemations->implementations implemememnt->implement implemememntation->implementation implemement->implement @@ -30986,6 +31017,7 @@ inherith->inherit inherithed->inherited inherithing->inheriting inheriths->inherits +inheritied->inherited inheritin->inheriting, inherit in, inheritted->inherited inheritting->inheriting @@ -32882,6 +32914,7 @@ intitiatives->initiatives intitiator->initiator intitiators->initiators intity->entity +intoduction->introduction intorduce->introduce intorduced->introduced intorduces->introduces @@ -34726,6 +34759,7 @@ longitute->longitude longst->longest longuer->longer longuest->longest +longwinded->long-winded lonley->lonely lonly->lonely, only, looback->loopback @@ -35687,6 +35721,7 @@ menue->menu menues->menus menutitems->menuitems meny->menu, many, +meoization->memoization meory->memory, Maori, meraj->mirage merajes->mirages @@ -36648,6 +36683,7 @@ montioring->monitoring montiors->monitors montly->monthly Montnana->Montana +montonic->monotonic montor->monitor, motor, mentor, montored->monitored, mentored, montoring->monitoring, mentoring, @@ -46669,6 +46705,7 @@ regitrations->registrations regitries->registries regitry->registry regluar->regular +regluarize->regularize regnerate->regenerate regnerated->regenerated regnerates->regenerates @@ -50297,6 +50334,7 @@ semgentations->segmentations semgented->segmented semgenting->segmenting semgents->segments +semicoli->semicolons semicolor->semicolon semicolumn->semicolon semiconducter->semiconductor @@ -53411,6 +53449,7 @@ stocastic->stochastic stoer->store stoers->stores stomache->stomach +stompling->stomping stompted->stomped stong->strong stonger->stronger @@ -56019,6 +56058,7 @@ texured->textured texures->textures texxt->text tey->they +tge->the tghe->the tha->than, that, the, thair->their, there, @@ -56253,6 +56293,7 @@ thowards->towards thowing->throwing, towing, showing, thawing, thown->thrown, town, thows->throws, those, tows, +thpe->type thq->the thrad->thread thraded->threaded, traded, @@ -56783,6 +56824,8 @@ trancodes->transcodes trancoding->transcoding trancodings->transcodings trandional->traditional +tranducer->transducer +tranducers->transducers traned->trained traner->trainer traners->trainers @@ -59709,6 +59752,7 @@ variabla->variable variablas->variables variablen->variable variablens->variables +variablesm->variables variabls->variables varialbe->variable varialbes->variables From 523b9c57b58a9a857e9e1dc44dabe3455cc4867d Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 14 Jun 2024 21:48:44 +0200 Subject: [PATCH 016/155] Add corrections from Aspell (fix #3356) (#3453) Co-authored-by: Eric Larson --- codespell_lib/data/dictionary.txt | 5 ++++- codespell_lib/data/dictionary_rare.txt | 1 + codespell_lib/data/dictionary_usage.txt | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index c7c6c10c14..d64380c18f 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -9742,6 +9742,8 @@ carisma->charisma carismatic->charismatic carismatically->charismatically Carmalite->Carmelite +carmel->caramel +carmels->caramels carmonial->ceremonial carmonially->ceremonially carmonies->ceremonies @@ -35017,6 +35019,7 @@ mamuth->mammoth manafacturer->manufacturer manafacturers->manufacturers managable->manageable +managably->manageably managament->management manageed->managed managemenet->management @@ -41870,7 +41873,7 @@ philisopher->philosopher philisophical->philosophical philisophy->philosophy Phillipine->Philippine -phillipines->philippines +phillipines->Philippines Phillippines->Philippines phillosophically->philosophically philospher->philosopher diff --git a/codespell_lib/data/dictionary_rare.txt b/codespell_lib/data/dictionary_rare.txt index 677ccdbe2e..5fe03c3cdd 100644 --- a/codespell_lib/data/dictionary_rare.txt +++ b/codespell_lib/data/dictionary_rare.txt @@ -137,6 +137,7 @@ infarctions->infractions ingenuous->ingenious inly->only irregardless->regardless +joo->you knifes->knives lama->llama lamas->llamas diff --git a/codespell_lib/data/dictionary_usage.txt b/codespell_lib/data/dictionary_usage.txt index 1020d72b4b..8b3a15038c 100644 --- a/codespell_lib/data/dictionary_usage.txt +++ b/codespell_lib/data/dictionary_usage.txt @@ -23,6 +23,8 @@ middleman->intermediary, broker, mohammedan->muslim mohammedans->muslims mom-test->user test, acceptance test, validation test, ease-of-use test, friendliness test, useability test, +muhammadan->muslim +muhammadans->muslims sanity-check->test, verification, sanity-checks->tests, verifications, sanity-test->test, verification, From 506243b02dabdbc99182af87897666cf08a935d1 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 14 Jun 2024 13:43:53 +0200 Subject: [PATCH 017/155] Add some entries to dictionary_informal.txt --- codespell_lib/data/dictionary_informal.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/codespell_lib/data/dictionary_informal.txt b/codespell_lib/data/dictionary_informal.txt index 2c8fe81389..248427956b 100644 --- a/codespell_lib/data/dictionary_informal.txt +++ b/codespell_lib/data/dictionary_informal.txt @@ -1,8 +1,19 @@ +ain't->am not, are not, is not, has not, have not, +betcha->bet you +biggie->big deal +cuppa->cup of dunno->don't know gimme->give me gonna->going to +gotcha->got you gotta->got to +innit->isn't it, in it, +kinda->kind of +lemme->let me natch->match +outta->out of +sorta->sort of tho->though, to, thou, thru->through wanna->want to +y'all->you all From 536ccb530ef9f955d17932e201a0d0f4e27bf2f9 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 16 Jun 2024 17:30:13 +0200 Subject: [PATCH 018/155] Add rare typo `lien->line` --- codespell_lib/data/dictionary_rare.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary_rare.txt b/codespell_lib/data/dictionary_rare.txt index 5fe03c3cdd..8a39b88ed3 100644 --- a/codespell_lib/data/dictionary_rare.txt +++ b/codespell_lib/data/dictionary_rare.txt @@ -146,6 +146,8 @@ lamdas->lambdas leaded->led, lead, leas->least, lease, lief->leaf, life, +lien->line +liens->lines lightening->lightning, lighting, loafing->loading loath->loathe From 15de8166e52d0bb3dea60b2d76babdbb34367457 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 16 Jun 2024 17:27:43 +0200 Subject: [PATCH 019/155] Add rare typo `firs->first` --- codespell_lib/data/dictionary_rare.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/codespell_lib/data/dictionary_rare.txt b/codespell_lib/data/dictionary_rare.txt index 8a39b88ed3..9174a6cc90 100644 --- a/codespell_lib/data/dictionary_rare.txt +++ b/codespell_lib/data/dictionary_rare.txt @@ -98,6 +98,7 @@ fave->save finial->final finis->finish finises->finishes +firs->first floaw->flow, float, floaws->flows, floats, florescent->fluorescent From 85cfdefe2f528133996bfc7dc837ef3cf50b2669 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 16 Jun 2024 17:31:28 +0200 Subject: [PATCH 020/155] Add rare typo `hep->heap, help,` --- codespell_lib/data/dictionary.txt | 7 +++++++ codespell_lib/data/dictionary_rare.txt | 1 + 2 files changed, 8 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index d64380c18f..6043194071 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -28749,10 +28749,17 @@ henc->hence henderence->hindrance hendler->handler hense->hence +heped->helped +heper->helper +hepers->helpers +heping->helping +hepl->help hepled->helped hepler->helper heplers->helpers hepling->helping +hepls->helps +heps->helps, heaps, herad->heard, Hera, herarchical->hierarchical herarchically->hierarchically diff --git a/codespell_lib/data/dictionary_rare.txt b/codespell_lib/data/dictionary_rare.txt index 9174a6cc90..72646e870c 100644 --- a/codespell_lib/data/dictionary_rare.txt +++ b/codespell_lib/data/dictionary_rare.txt @@ -121,6 +121,7 @@ habitants->inhabitants hart->heart, harm, heighth->height, eight, eighth, heighths->heights, eights, eighths, +hep->heap, help, heterogenous->heterogeneous hided->hidden, hid, hims->his, hymns, From 5ba9ef7cce83073ae00730ab431547d608eebfc6 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 16 Jun 2024 17:23:41 +0200 Subject: [PATCH 021/155] Add rare typo `brunch->branch` --- codespell_lib/data/dictionary_rare.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/codespell_lib/data/dictionary_rare.txt b/codespell_lib/data/dictionary_rare.txt index 72646e870c..0ccee0e06f 100644 --- a/codespell_lib/data/dictionary_rare.txt +++ b/codespell_lib/data/dictionary_rare.txt @@ -23,6 +23,10 @@ bloc->block blocs->blocks bodgy->body brining->bringing +brunch->branch +brunched->branched +brunches->branches +brunching->branching bu->by, be, but, bug, bun, bud, buy, bum, buss->bus busses->buses From 6c770b58f7e71fb3192d43459b3f5c8654e3a2b7 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Tue, 11 Jun 2024 01:15:14 +0200 Subject: [PATCH 022/155] Add corrections from `typos` dictionary (A1) These corrections were made available under an Apache/MIT dual license, and were edited by me to add in alternatives (plural, verb forms, etc.). https://github.com/crate-ci/typos/blob/master/crates/typos-dict/assets/words.csv --- codespell_lib/data/dictionary.txt | 435 ++++++++++++++++++++++++- codespell_lib/data/dictionary_code.txt | 1 + codespell_lib/data/dictionary_rare.txt | 1 + 3 files changed, 436 insertions(+), 1 deletion(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 6043194071..6074ceb643 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -22,6 +22,7 @@ aadding->adding aafter->after aagain->again aaggregation->aggregation +aand->and aanother->another aapply->apply aaproximate->approximate @@ -123,6 +124,8 @@ abbrviating->abbreviating abbrviation->abbreviation abbrviations->abbreviations abcense->absence +abck->back, aback, +abd->and, bad, abdominable->abdominal, abominable, abdomine->abdomen abdomnial->abdominal @@ -134,6 +137,7 @@ abigiously->ambiguously abiguity->ambiguity abiguous->ambiguous abiguously->ambiguously +abilites->abilities abilitiy->ability abilityes->abilities abillities->abilities @@ -147,11 +151,14 @@ abitrarily->arbitrarily abitrary->arbitrary abitrate->arbitrate abitration->arbitration +abiut->about abizmal->abysmal +abl->able abliities->abilities abliity->ability ablities->abilities ablity->ability +abnd->and, band, abnoramlly->abnormally abnormalty->abnormally abnormaly->abnormally @@ -161,6 +168,7 @@ abnrormal->abnormal aboce->above, abode, abodmen->abdomen abodminal->abdominal +aboiut->about aboluste->absolute abolustely->absolutely abolute->absolute @@ -213,7 +221,9 @@ abosulute->absolute abosulutely->absolutely abot->about, abort, a bot, abotu->about +abou->about, abound, abount->about +abour->about, labour, abourt->abort, about, abouta->about a, about, aboutit->about it @@ -224,6 +234,7 @@ aboved->above abovemtioned->abovementioned aboves->above abovmentioned->abovementioned +abput->about abreviate->abbreviate abreviated->abbreviated abreviates->abbreviates @@ -256,10 +267,12 @@ absailing->abseiling absance->absence abscence->absence abscound->abscond +absed->abased, based, abseilin->abseiling, abseil in, abselutely->absolutely abselutly->absolutely absense->absence +absenses->absences absentse->absence absestos->asbestos absintence->abstinence @@ -450,6 +463,7 @@ abundand->abundant abundence->abundance abundent->abundant abundunt->abundant +abuot->about aburpt->abrupt aburptly->abruptly abuseres->abusers @@ -808,6 +822,7 @@ acciedential->accidental acciednetally->accidentally accient->accident acciental->accidental +accissible->accessible acclamied->acclaimed acclerate->accelerate acclerated->accelerated @@ -1164,7 +1179,9 @@ accumulatin->accumulation, accumulating, accumulato->accumulation accumulaton->accumulation accumule->accumulate +accumulotor->accumulator accumulted->accumulated +accunt->account accupied->occupied accupts->accepts accurable->accurate @@ -1208,6 +1225,7 @@ acedemically->academically acedemics->academics acedemies->academies acedemy->academy +aceept->accept acelerate->accelerate acelerated->accelerated acelerates->accelerates @@ -1288,6 +1306,7 @@ achieval->achievable achievd->achieved achieveble->achievable achieveds->achieves, achieved, +achieveing->achieving achievemint->achievement achievemints->achievements achievemnt->achievement @@ -1493,6 +1512,7 @@ acontiguous->a contiguous acoording->according acoordingly->accordingly acoostic->acoustic +acoount->account acopalypse->apocalypse acopalyptic->apocalyptic acordian->accordion @@ -1529,6 +1549,7 @@ acquantaince->acquaintance acquantainces->acquaintances acquantiance->acquaintance acquantiances->acquaintances +acqueos->aqueous acqueus->aqueous acquiantance->acquaintance acquiantances->acquaintances @@ -1586,6 +1607,7 @@ acsending->ascending acsends->ascends acsension->ascension acses->cases, access, +acsess->access acsii->ASCII acssume->assume acssumed->assumed @@ -1618,6 +1640,7 @@ acticely->actively acticities->activities acticity->activity actine->active +actitivies->activities actiual->actual activ->active activacion->activation @@ -1651,6 +1674,7 @@ activisit->activist activisits->activists activistas->activists activistes->activists +activistion->activision activit->activist activite->activity, activate, activited->activated @@ -1663,6 +1687,7 @@ activitis->activities activitites->activities activitiy->activity activits->activists, activities, +activizion->activision activley->actively activly->actively activste->activate @@ -1724,6 +1749,10 @@ acuire->acquire acuired->acquired acuires->acquires acuiring->acquiring +acumalate->accumulate +acumalated->accumulated +acumalates->accumulates +acumalating->accumulating acumulate->accumulate acumulated->accumulated acumulates->accumulates @@ -1974,14 +2003,25 @@ addtition->addition addtitional->additional addtitionally->additionally addtitions->additions +adealide->Adelaide adecuate->adequate aded->added +adeilade->Adelaide +adeladie->Adelaide +adeliade->Adelaide +adeqaute->adequate +adeqautely->adequately adequat->adequate +adequatedly->adequately +adequatley->adequately adequatly->adequately +adequet->adequate +adequetely->adequately adequit->adequate adequite->adequate adequitely->adequately adequitly->adequately +adernaline->adrenaline adevnture->adventure adevntured->adventured adevnturer->adventurer @@ -1995,8 +2035,10 @@ adges->edges, badges, adages, adhearing->adhering adheasive->adhesive adheasives->adhesives +adheisve->adhesive adherance->adherence adherin->adhering, cadherin, +adhevise->adhesive adiacent->adjacent adiditon->addition adin->admin @@ -2010,9 +2052,14 @@ aditionnally->additionally aditionnaly->additionally aditions->additions adivce->advice, advise, +adivse->advice, advise, +adivser->adviser +adivsers->advisers +adivsor->advisor adivsories->advisories adivsoriy->advisory, advisories, adivsoriyes->advisories +adivsors->advisors adivsory->advisory adjacancies->adjacencies adjacancy->adjacency @@ -2052,6 +2099,9 @@ adjcencies->adjacencies adjcent->adjacent adjcentcy->adjacency adjecent->adjacent +adjectiveus->adjectives +adjectivos->adjectives +adjectivs->adjectives adjency->agency, adjacency, adjsence->adjacence adjsencies->adjacencies @@ -2064,17 +2114,24 @@ adjsuts->adjusts adjuscent->adjacent adjusment->adjustment adjusments->adjustments +adjustabe->adjustable adjustement->adjustment adjustements->adjustments adjustes->adjusted, adjusts, +adjustible->adjustable adjustificat->justification adjustification->justification adjustin->adjusting, adjust in, adjustmant->adjustment adjustmants->adjustments adjustmenet->adjustment +adknowledged->acknowledged +adknowledges->acknowledges admendment->amendment admi->admin, admit, admix, +adminastrator->administrator +adminastrators->administrators +adming->admin, arming, admininister->administer admininistered->administered admininistering->administering @@ -2095,23 +2152,47 @@ admininstrative->administrative admininstratively->administratively admininstrator->administrator admininstrators->administrators +administartion->administration +administartor->administrator +administartors->administrators administation->administration administations->administrations administative->administrative administatively->administratively administator->administrator administators->administrators +administed->administered +administerd->administered administerin->administering, administer in, -administor->administrator +administor->administer, administrator, +administored->administered administors->administrators +administr->administer administraion->administration administraions->administrations administraive->administrative administraively->administratively administraor->administrator administraors->administrators +administrar->administrator +administraron->administrator administrater->administrator, administrated, administrates, administrate, administraters->administrators, administrates, +administratief->administrative +administratiei->administrative +administratieve->administrative +administratio->administration +administratior->administrator +administratiors->administrators +administrativne->administrative +administrativo->administrative +administraton->administration +administre->administer +administren->administer +administrer->administer +administres->administers, administer, +administrez->administer +administro->administer adminiter->administer adminitered->administered adminitering->administering @@ -2144,6 +2225,8 @@ adminstrative->administrative adminstratively->administratively adminstrator->administrator adminstrators->administrators +admiraal->admiral +admiraals->admirals admis->admins, admits, admix, admisible->admissible admision->admission @@ -2153,17 +2236,39 @@ admissable->admissible admited->admitted admitedly->admittedly admiting->admitting +admittadely->admittedly +admittadly->admittedly +admittetly->admittedly +admittidly->admittedly admittin->admitting admn->admin admnistrator->administrator admnistrators->administrators +admrial->admiral +admrials->admirals adn->and +adnimistrator->administrator +adnimistrators->administrators adnroid->android adnroids->androids adobted->adopted adolecent->adolescent +adolence->adolescence +adolencence->adolescence +adolencent->adolescent +adolescance->adolescence +adolescant->adolescent +adolescene->adolescence +adolescense->adolescence +adoloscent->adolescent +adolsecent->adolescent adoptor->adopter, adaptor, adoptors->adopters, adaptors, +adorbale->adorable +adovcacy->advocacy +adovcated->advocated +adovcates->advocates +adovcating->advocating adpapted->adapted adpat->adapt adpatation->adaptation @@ -2183,6 +2288,10 @@ adquiring->acquiring adquisition->acquisition adquisitions->acquisitions adrea->area +adreanline->adrenaline +adrelanine->adrenaline +adreneline->adrenaline +adreniline->adrenaline adrerss->address adrerssed->addressed adrersser->addresser @@ -2203,16 +2312,23 @@ adresses->addresses adressing->addressing adresss->address adressses->addresses +adroable->adorable adrress->address adrresses->addresses +adter->after adtodetect->autodetect +aduiobook->audiobook adultary->adultery +adultey->adultery +adultrey->adultery adust->adjust adusted->adjusted adusting->adjusting adustment->adjustment adustments->adjustments adusts->adjusts +advace->advance +advacne->advance advanace->advance advanaced->advanced advanaces->advances @@ -2230,13 +2346,22 @@ advane->advance advaned->advanced advanes->advances advaning->advancing +advantadges->advantages advantag->advantage +advantageos->advantageous +advantageus->advantageous +advantagious->advantageous advantagous->advantageous advantags->advantages +advantegeous->advantageous +advanteges->advantages advanve->advance advanved->advanced advanves->advances advanving->advancing +advatage->advantage +advatange->advantage +advatanges->advantages advence->advance advenced->advanced advences->advances @@ -2246,39 +2371,107 @@ adventageous->advantageous adventages->advantages adventagous->advantageous adventagously->advantageously +adventerous->adventurous +adventourus->adventurous adventrous->adventurous +adventrue->adventure +adventrues->adventures +adventue->adventure +adventuers->adventures, adventurers, +adventues->adventures +adventuous->adventurous +adventureous->adventurous +adventureres->adventures, adventurers, adventurin->adventuring +adventurious->adventurous +adventuros->adventurous +adventurs->adventures +adventuruous->adventurous +adventurus->adventurous +adventus->adventures adverised->advertised +adveristy->adversity +adversiting->advertising +adverst->adverts advertice->advertise adverticed->advertised +adverticement->advertisement +advertis->adverts, advertise, +advertisiers->advertisers +advertisiment->advertisement advertisin->advertising advertisment->advertisement advertisments->advertisements +advertisor->advertiser +advertisors->advertisers +advertisted->advertised +advertister->advertiser +advertisters->advertisers +advertisting->advertising advertistment->advertisement advertistments->advertisements +advertisy->adversity advertize->advertise advertized->advertised advertizement->advertisement advertizements->advertisements advertizes->advertises +advertsing->advertising advesary->adversary advetise->advertise advicable->advisable adviced->advised +advices->advice advicing->advising +advirtisement->advertisement adviseable->advisable +adviseer->adviser +adviseur->adviser advisin->advising advisoriy->advisory, advisories, advisoriyes->advisories +advisorys->advisors, advisories, advizable->advisable +advnace->advance +advocade->advocate +advocaded->advocated +advocades->advocates +advocading->advocating +advocat->advocate +advocats->advocates +advocay->advocacy +advsie->advise +advsied->advised +advsior->advisor +advsiors->advisors adwances->advances aeactivate->deactivate, activate, +aeorspace->aerospace aequidistant->equidistant aequivalent->equivalent aeriel->aerial aeriels->aerials +aeropsace->aerospace +aerosapce->aerospace +aersopace->aerospace aesily->easily +aestethic->aesthetic +aestethically->aesthetically +aestethics->aesthetics +aesthatic->aesthetic +aesthatically->aesthetically +aesthatics->aesthetics +aesthestic->aesthetics +aesthestically->aesthetically +aesthethics->aesthetics +aestheticaly->aesthetically +aestheticlly->aesthetically +aesthitically->aesthetically +aesthitics->aesthetics aesy->easy +aethist->atheist +aethistic->atheistic +aethists->atheists aexs->axes afair->affair afaraid->afraid @@ -2290,12 +2483,21 @@ afected->affected afecting->affecting afects->affects, effects, afer->after +afernoon->afternoon +afernoons->afternoons aferwards->afterwards +afeter->after afetr->after affact->affect, effect, +affaire->affair +affaires->affairs +affaris->affairs affecfted->affected affectin->affecting, affect in, affection, +affectionatley->affectionately +affectionnate->affectionate affekt->affect, effect, +affiars->affairs afficianado->aficionado afficianados->aficionados afficionado->aficionado @@ -2304,6 +2506,9 @@ affilate->affiliate affilates->affiliates affilation->affiliation affilations->affiliations +affiliato->affiliation +affiliaton->affiliation +affiliction->affiliation, affliction, affilliate->affiliate affinitied->affinities affinitiy->affinity @@ -2313,23 +2518,69 @@ affinties->affinities affintiy->affinity affintize->affinitize affinty->affinity +affirmate->affirm, affirmative, +affirmates->affirms +affirmitave->affirmative +affirmitive->affirmative +affirmitve->affirmative affitnity->affinity +affixiation->affiliation +afflcition->affliction +afflection->affliction +affleunt->affluent +affliated->affiliated +affliation->affliction, affiliation, +affliciton->affliction +afforable->affordable +afforadble->affordable +affordible->affordable afforementioned->aforementioned affort->afford, effort, affortable->affordable afforts->affords, efforts, affraid->afraid +affrimative->affirmative affter->after +affulent->affluent +afgahnistan->Afghanistan +afganhistan->Afghanistan afganistan->Afghanistan +afghanastan->Afghanistan +afghanisthan->Afghanistan +afghansitan->Afghanistan +afhganistan->Afghanistan afile->a file, agile, afinity->affinity +afircan->African +afircans->Africans afor->for +aford->afford, afore, aforememtioned->aforementioned +aforementioend->aforementioned aforementiond->aforementioned aforementionned->aforementioned aformentioned->aforementioned afrer->after +afriad->afraid +africain->African +africains->Africans +africanas->Africans +africaner->African, Afrikaner, Africander, Afrikander, +africaners->Africans, Afrikaners, Africanders, Afrikanders, +africaness->Africans +africanos->Africans +afte->after afterall->after all +afterhtought->afterthought +afterhtoughts->afterthoughts +aftermaket->aftermarket +afternarket->aftermarket +afternnon->afternoon +afternon->afternoon +afternooon->afternoon +afteroon->afternoon +afterthougt->afterthought +afterthougth->afterthought afterw->after afteward->afterward aftewards->afterwards @@ -2345,6 +2596,8 @@ aftterwards->afterwards aftzer->after aftzerward->afterward aftzerwards->afterwards +afwully->awfully +agai->again againn->again againnst->against agains->against, again, @@ -2373,7 +2626,15 @@ aggegation->aggregation aggegations->aggregations aggegator->aggregator aggegators->aggregators +aggegrate->aggregate +aggegrated->aggregated +aggegrates->aggregates +aggegrating->aggregating aggenst->against +aggergate->aggregate +aggergated->aggregated +aggergates->aggregates +aggergating->aggregating aggessive->aggressive aggessively->aggressively agggregate->aggregate @@ -2402,7 +2663,9 @@ aggration->aggregation aggrations->aggregations aggrator->aggregator aggrators->aggregators +aggravanti->aggravating aggravatin->aggravating, aggravation, +aggraveted->aggravated aggreagate->aggregate aggreagated->aggregated aggreagates->aggregates @@ -2424,6 +2687,7 @@ aggree->agree aggreeable->agreeable aggreeableness->agreeableness aggreeably->agreeably +aggreecate->aggregate aggreed->agreed aggreeing->agreeing aggreement->agreement @@ -2433,6 +2697,8 @@ aggregater->aggregator, aggregated, aggregates, aggregate, aggregaters->aggregators, aggregates, aggregatet->aggregated aggregatin->aggregating, aggregation, +aggregatore->aggregator, aggregate, +aggregatted->aggregated aggregete->aggregate aggregeted->aggregated aggregetes->aggregates @@ -2458,8 +2724,14 @@ aggregration->aggregation aggregrations->aggregations aggregrator->aggregator aggregrators->aggregators +aggrement->agreement +aggresions->aggression aggresive->aggressive aggresively->aggressively +aggressivley->aggressively +aggressivly->aggressively +aggressivo->aggressive, aggression, +aggresssion->aggression aggrevate->aggravate aggrevated->aggravated aggrevates->aggravates @@ -2476,18 +2748,39 @@ aggrivate->aggravate aggrivated->aggravated aggrivates->aggravates aggrivating->aggravating +aggrovated->aggravated +aggrovating->aggravating agian->again agianst->against agin->again agina->again, angina, aginst->against +agircultural->agricultural agitatin->agitating, agitation, +agknowledge->acknowledge +agknowledged->acknowledged aglorithm->algorithm aglorithmic->algorithmic aglorithms->algorithms +agnositc->agnostic +agnostacism->agnosticism +agnosticim->agnosticism +agnosticisim->agnosticism +agnosticm->agnosticism +agnosticsm->agnosticism +agnostisch->agnostic +agnostiscm->agnosticism +agnostisicm->agnosticism +agnostisim->agnosticism +agnostisism->agnosticism +agnostocism->agnosticism +agnsoticism->agnosticism +agonstic->agnostic +agonsticism->agnosticism agorithm->algorithm agorithmic->algorithmic agorithms->algorithms +agracultural->agricultural agrain->again agrandize->aggrandize agrandized->aggrandized @@ -2502,6 +2795,7 @@ agreable->agreeable agreableness->agreeableness agreably->agreeably agred->agreed +agreeded->agreed agreee->agree agreeeable->agreeable agreeeableness->agreeableness @@ -2524,29 +2818,57 @@ agregation->aggregation agregations->aggregations agregator->aggregator agregators->aggregators +agreggate->aggregate agreing->agreeing agrement->agreement agrements->agreements +agrentina->Argentina +agressie->aggressive agression->aggression agressions->aggressions agressive->aggressive agressively->aggressively agressiveness->aggressiveness agressivity->aggressivity +agressivley->aggressively +agressivnes->aggressive agressor->aggressor agresssive->aggressive agresssively->aggressively +agressvie->aggressive +agressviely->aggressively agrgressive->aggressive agrgressively->aggressively agrgument->argument agrguments->arguments +agricolture->agriculture +agriculteral->agricultural +agriculteur->agriculture +agriculteurs->agriculture +agricultral->agricultural +agricultre->agriculture +agricultrual->agricultural +agricultual->agricultural agricultue->agriculture +agriculturual->agricultural agriculure->agriculture +agriculutral->agricultural +agricutlure->agriculture agricuture->agriculture agrieved->aggrieved +agrigultural->agricultural +agrocultural->agricultural +agrred->agreed +agrrement->agreement agrresive->aggressive agrs->args +agruable->arguable +agruably->arguably +agruement->argument +agruements->arguments +agruing->arguing agrument->argument +agrumentative->argumentative agruments->arguments ags->tags, ages, agsinst->against @@ -2554,6 +2876,8 @@ agument->argument, augment, agumented->augmented agumenting->augmenting aguments->arguments, augments, +agurement->argument +ahd->had, and, aheared->adhered ahed->ahead ahere->here, adhere, @@ -2562,34 +2886,61 @@ ahlpa->alpha ahlpas->alphas ahmond->almond ahmonds->almonds +ahould->should, ahold, ahppen->happen +ahppy->happy +ahtiest->atheist +ahtiests->atheists +ahtlete->athlete +ahtletes->athletes +ahtleticism->athleticism ahve->have ahven't->haven't ahving->having aicraft->aircraft aiffer->differ +ailenate->alienate +ailenated->alienated +ailenates->alienates +ailenating->alienating ailgn->align ailin->ailing, ail in, +ailmony->alimony +aincent->ancient +aincents->ancients aiport->airport airator->aerator airators->aerators +airboner->airborne +airbore->airborne airborn->airborne airbourne->airborne +airbrone->airborne aircaft->aircraft +aircarft->aircraft aircrafts'->aircraft's aircrafts->aircraft airfow->airflow airial->aerial, arial, airlfow->airflow airloom->heirloom +airosft->airsoft +airplance->airplane, airplanes, +airplans->airplanes airporta->airports +airpost->airport +airpsace->airspace airrcraft->aircraft airrflow->airflow airrplane->airplane airrplanes->airplanes airrport->airport airrports->airports +airscape->airspace +airsfot->airsoft +airzona->Arizona aisian->Asian +aithentication->authentication aixs->axis aizmuth->azimuth ajacence->adjacence @@ -2601,6 +2952,7 @@ ajasence->adjacence ajasencies->adjacencies ajative->adjective ajcencies->adjacencies +ajdectives->adjectives ajsencies->adjacencies ajurnment->adjournment ajust->adjust @@ -2627,9 +2979,11 @@ aknowledges->acknowledges aknowledging->acknowledging aknowledgment->acknowledgment aknowledgments->acknowledgments +akransas->Arkansas aks->ask aksed->asked aksing->asking +aksreddit->AskReddit akss->asks, ass, aktion->action aktions->actions @@ -2650,28 +3004,60 @@ akumulation->accumulation akumulative->accumulative akumulator->accumulator akumulators->accumulators +akward->awkward alaready->already albiet->albeit albumns->albums +alcehmist->alchemist alcemy->alchemy +alchemey->alchemy +alchemsit->alchemist +alchimest->alchemist +alchmeist->alchemist +alchmey->alchemy alchohol->alcohol alchoholic->alcoholic alchol->alcohol alcholic->alcoholic +alchool->alcohol +alchoolic->alcoholic +alchoolics->alcoholics +alchoolism->alcoholism alcohal->alcohol +alcohalic->alcoholic +alcohalics->alcoholics +alcohalism->alcoholism +alcoholc->alcoholic alcoholical->alcoholic +alcoholicas->alcoholics +alcoholicos->alcoholics +alcoholis->alcoholics, alcoholic, alcoholism, +alcoholisim->alcoholism +alcoholsim->alcoholism +aldutery->adultery aleady->already aleays->always +alechmist->alchemist aledge->allege aledged->alleged aledges->alleges alegance->allegiance +alegbra->algebra +alegbraic->algebraic alege->allege aleged->alleged alegiance->allegiance alegiances->allegiances alegience->allegiance alegorical->allegorical +aleinate->alienate +aleinated->alienated +aleinates->alienates +aleinating->alienating +aleniate->alienate +aleniated->alienated +aleniates->alienates +aleniating->alienating alerady->already alernate->alternate alernated->alternated @@ -2691,9 +3077,12 @@ alforithmic->algorithmic alforithmically->algorithmically alforithms->algorithms algebraical->algebraic +algebriac->algebraic algebric->algebraic algebrra->algebra algee->algae +algerba->algebra +algerbaic->algebraic alghorithm->algorithm alghoritm->algorithm alghoritmic->algorithmic @@ -2791,14 +3180,23 @@ algorithmn->algorithm algorithmnic->algorithmic algorithmnically->algorithmically algorithmns->algorithms +algorithmo->algorithm +algorithmos->algorithm, algorithms, +algorithmus->algorithm, algorithms, algoriths->algorithms algorithsm->algorithm, algorithms, algorithsmic->algorithmic algorithsmically->algorithmically algorithsms->algorithms +algorithum->algorithm +algorithums->algorithms +algorithym->algorithm +algorithyms->algorithm algoritm->algorithm +algoritmes->algorithms algoritmic->algorithmic algoritmically->algorithmically +algoritmos->algorithms, algorithm, algoritms->algorithms algoroithm->algorithm algoroithmic->algorithmic @@ -2872,6 +3270,8 @@ algorythem->algorithm algorythemic->algorithmic algorythemically->algorithmically algorythems->algorithms +algorythim->algorithm +algorythims->algorithms algorythm->algorithm algorythmic->algorithmic algorythmically->algorithmically @@ -2900,6 +3300,8 @@ algotrithm->algorithm algotrithmic->algorithmic algotrithmically->algorithmically algotrithms->algorithms +algrithm->algorithm +algrithms->algorithms alha->alpha alhabet->alphabet alhabetical->alphabetical @@ -2924,7 +3326,9 @@ aliase->aliases, alias, aliasin->aliasing, alias in, aliasses->aliases alienatin->alienating, alienation, +alienet->alienate alientating->alienating +alievating->alienating, alleviating, aliged->aligned aligh->align, alight, alighed->aligned, alighted, @@ -2963,6 +3367,7 @@ alignemt->alignment alignes->aligns alignin->aligning, align in, alignmant->alignment +alignmeent->alignment alignmen->alignment alignmenet->alignment alignmenets->alignments @@ -2975,6 +3380,9 @@ alignmnet->alignment alignmnt->alignment alignrigh->alignright alikes->alike, likes, +alimoney->alimony +alimunium->aluminium +alimunum->aluminum aline->align, a line, line, saline, alined->aligned aling->align, along, a line, ailing, sling, @@ -2984,6 +3392,7 @@ alingment->alignment alings->aligns, slings, alinment->alignment alinments->alignments +alirghty->alrighty alis->alias, alas, axis, alms, alisas->alias, aliases, alisased->aliased @@ -2993,6 +3402,10 @@ alised->aliased alises->aliases alising->aliasing aliver->alive, liver, a liver, sliver, +allacritty->alacrity +allacrity->alacrity +allaince->alliance +allainces->alliances allcate->allocate allcateing->allocating allcater->allocator @@ -3017,21 +3430,39 @@ alled->called, allied, alledge->allege alledged->alleged alledgedly->allegedly +alledgely->allegedly alledges->alleges allegaince->allegiance allegainces->allegiances +allegeance->allegiance allegedely->allegedly +allegedley->allegedly allegedy->allegedly allegely->allegedly allegence->allegiance +allegiancie->allegiance +allegiancies->allegiances allegience->allegiance allegiences->allegiances +allegric->allergic +allegries->allergies +allegry->allergy +alleigance->allegiance +alleigances->allegiances +alleivate->alleviate +allergey->allergy +allergisch->allergic alleviatin->alleviating, alleviation, +allianse->alliance +allianses->alliances allias->alias alliased->aliased alliases->aliases alliasing->aliasing +alliegance->allegiance +allievate->alleviate allif->all if +alligeance->allegiance allign->align alligned->aligned allignement->alignment @@ -3041,6 +3472,8 @@ allignment->alignment allignmenterror->alignmenterror allignments->alignments alligns->aligns +allinace->alliance +allinaces->alliances alliviate->alleviate allk->all, ally, alll->all, ally, diff --git a/codespell_lib/data/dictionary_code.txt b/codespell_lib/data/dictionary_code.txt index 13615c9ed2..d8153dc52f 100644 --- a/codespell_lib/data/dictionary_code.txt +++ b/codespell_lib/data/dictionary_code.txt @@ -1,4 +1,5 @@ agrv->argv +alacritty->alacrity alloced->allocated amin->main apoint->appoint diff --git a/codespell_lib/data/dictionary_rare.txt b/codespell_lib/data/dictionary_rare.txt index 0ccee0e06f..3073e36c6d 100644 --- a/codespell_lib/data/dictionary_rare.txt +++ b/codespell_lib/data/dictionary_rare.txt @@ -3,6 +3,7 @@ acapella->a cappella accreting->accrediting acter->actor acters->actors +aer->are afterwords->afterwards amination->animation, lamination, aminations->animations, laminations, From 8e190c01b67a04bfc54b59584abec10c385814d2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 17:21:44 +0000 Subject: [PATCH 023/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.8 → v0.4.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.8...v0.4.9) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 80f6283ce6..df5c571613 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.8 + rev: v0.4.9 hooks: - id: ruff - id: ruff-format From 43dd7d5bf9ea35d8ed1a587e195fcdfd0b140a15 Mon Sep 17 00:00:00 2001 From: Yuki Fukuma Date: Thu, 20 Jun 2024 04:37:11 +0900 Subject: [PATCH 024/155] Add timestmp->timestamp and its variations (#3464) --- codespell_lib/data/dictionary.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 6074ceb643..9cb388e84e 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -56938,6 +56938,10 @@ timestemp->timestamp timestemps->timestamps timestmap->timestamp timestmaps->timestamps +timestmp->timestamp +timestmped->timestamped +timestmping->timestamping +timestmps->timestamps timetamp->timestamp timetamps->timestamps timin->timing, timid, From 058eaf18aa2bf38507750ef30ba5d7235a085696 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 20 Jun 2024 23:26:59 +0200 Subject: [PATCH 025/155] Add .venv to .gitignore (#3466) --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index e143f42d55..f4d749b818 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .coverage +.venv build dist ld From b6de749420189bfd2580cdcc41de7e7402b3e083 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Thu, 20 Jun 2024 23:29:10 +0200 Subject: [PATCH 026/155] Only accept documented choices after `-i` and `-q` (#3344) --- codespell_lib/_codespell.py | 4 ++++ codespell_lib/tests/test_basic.py | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/codespell_lib/_codespell.py b/codespell_lib/_codespell.py index 14bd3edc8e..f5070dc2d9 100644 --- a/codespell_lib/_codespell.py +++ b/codespell_lib/_codespell.py @@ -501,11 +501,13 @@ def parse_options( action="store", type=int, default=0, + choices=range(0, 4), help="set interactive mode when writing changes:\n" "- 0: no interactivity.\n" "- 1: ask for confirmation.\n" "- 2: ask user to choose one fix when more than one is available.\n" "- 3: both 1 and 2", + metavar="MODE", ) parser.add_argument( @@ -514,6 +516,7 @@ def parse_options( action="store", type=int, default=34, + choices=range(0, 64), help="bitmask that allows suppressing messages:\n" "- 0: print all messages.\n" "- 1: disable warnings about wrong encoding.\n" @@ -526,6 +529,7 @@ def parse_options( "combined; e.g. use 3 for levels 1+2, 7 for " "1+2+4, 23 for 1+2+4+16, etc. " "The default mask is %(default)s.", + metavar="LEVEL", ) parser.add_argument( diff --git a/codespell_lib/tests/test_basic.py b/codespell_lib/tests/test_basic.py index 51ee4b8390..98e5dd41f0 100644 --- a/codespell_lib/tests/test_basic.py +++ b/codespell_lib/tests/test_basic.py @@ -9,6 +9,7 @@ from pathlib import Path from shutil import copyfile from typing import Any, Generator, Optional, Tuple, Union +from unittest import mock import pytest @@ -237,7 +238,11 @@ def test_interactivity( try: assert cs.main(fname) == 0, "empty file" fname.write_text("abandonned\n") - assert cs.main("-i", "-1", fname) == 1, "bad" + with mock.patch.object(sys, "argv", ("-i", "-1", fname)): + with pytest.raises(SystemExit) as e: + cs.main("-i", "-1", fname) + assert e.type == SystemExit + assert e.value.code != 0 with FakeStdin("y\n"): assert cs.main("-i", "3", fname) == 1 with FakeStdin("n\n"): From fa20cb41d5d02ef06cc8e9b8d06885e3e24dbec9 Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Sun, 23 Jun 2024 10:34:58 +0100 Subject: [PATCH 027/155] Move assertIn to the code dictionary as it's a Python test function --- codespell_lib/data/dictionary.txt | 1 - codespell_lib/data/dictionary_code.txt | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 9cb388e84e..cbbaee62f6 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -6084,7 +6084,6 @@ assersive->assertive assersively->assertively assertation->assertion assertations->assertions -assertin->asserting, assert in, assertion, assertino->assertion assertinos->assertions assertio->assertion diff --git a/codespell_lib/data/dictionary_code.txt b/codespell_lib/data/dictionary_code.txt index d8153dc52f..63cec09468 100644 --- a/codespell_lib/data/dictionary_code.txt +++ b/codespell_lib/data/dictionary_code.txt @@ -4,6 +4,7 @@ alloced->allocated amin->main apoint->appoint arange->arrange, a range, +assertin->asserting, assert in, assertion, atend->attend atending->attending bre->be, brie, From 0f5a205ce1f2b0c0b5799055e19fde0759f78786 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 23 Jun 2024 18:32:19 +0200 Subject: [PATCH 028/155] Add some more typos (#3468) --- codespell_lib/data/dictionary.txt | 78 ++++++++++++++++++++++++++ codespell_lib/data/dictionary_code.txt | 1 + codespell_lib/data/dictionary_rare.txt | 1 + 3 files changed, 80 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index cbbaee62f6..c0c8fd8ace 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -4604,6 +4604,12 @@ aotomaticall->automatically aotomatically->automatically aotomation->automation aovid->avoid +aovidable->avoidable +aovidably->avoidably +aovoid->avoid +aovoided->avoided +aovoiding->avoiding +aovoids->avoids apach->apache apapt->adapt apaptation->adaptation @@ -4778,6 +4784,7 @@ appeares->appears appearin->appearing, appear in, appearning->appearing appearrs->appears +appeasr->appears appeciate->appreciate appeciated->appreciated appeciates->appreciates @@ -14286,6 +14293,12 @@ confingures->configures confinguring->configuring confinin->confining confiramtion->confirmation +confirguration->configuration +confirgurations->configurations +confirgure->configure +confirgured->configured +confirgures->configures +confirguring->configuring confirmacion->confirmation confirmaed->confirmed confirmas->confirms @@ -19808,6 +19821,8 @@ developper->developer developpers->developers developping->developing developpment->development +developpments->developments +developps->develops develp->develop develped->developed develper->developer @@ -31231,6 +31246,7 @@ indizies->indices indpendent->independent indpendently->independently indrect->indirect +indrectly->indirectly indroduce->introduce indroduced->introduced indroduces->introduces @@ -33097,25 +33113,65 @@ interresting->interesting interrface->interface interrim->interim interript->interrupt +interripted->interrupted +interripting->interrupting +interription->interruption +interriptions->interruptions +interripts->interrupts interrput->interrupt +interrputable->interruptible interrputed->interrupted +interrputible->interruptible +interrputing->interrupting +interrpution->interruption +interrputions->interruptions +interrputs->interrupts interrrupt->interrupt +interrruptable->interruptible interrrupted->interrupted +interrruptible->interruptible interrrupting->interrupting +interrruption->interruption +interrruptions->interruptions interrrupts->interrupts +interrtup->interrupt +interrtupable->interruptible +interrtuped->interrupted +interrtupible->interruptible +interrtuping->interrupting +interrtupion->interruption +interrtupions->interruptions interrtups->interrupts interrugum->interregnum interrum->interim interrup->interrupt +interrupable->interruptible interruped->interrupted +interrupible->interruptible interruping->interrupting +interrupion->interruption +interrupions->interruptions interrups->interrupts interruptable->interruptible interruptin->interrupting, interrupt in, interruption, interruptors->interrupters interruptted->interrupted +interruptting->interrupting +interrupttion->interruption +interrupttions->interruptions interrut->interrupt +interrutable->interruptible +interrutible->interruptible +interruting->interrupting +interrution->interruption +interrutions->interruptions +interrutp->interrupt +interrutpable->interruptible +interrutped->interrupted +interrutpible->interruptible +interrutping->interrupting interrutps->interrupts +interruts->interrupts interscetion->intersection intersecct->intersect interseccted->intersected @@ -38597,6 +38653,7 @@ non-blockin->non-blocking non-bloking->non-blocking non-compleeted->non-completed non-complient->non-compliant +non-continuos->non-continuous non-corelated->non-correlated non-existant->non-existent non-exluded->non-excluded @@ -45888,6 +45945,7 @@ reaaly->really reaarange->rearrange reaaranges->rearranges reaasigned->reassigned +reacable->reachable, readable, reacahable->reachable reacahble->reachable reaccurring->recurring @@ -48517,6 +48575,8 @@ requiremenet->requirement requiremenets->requirements requiremnt->requirement requiremnts->requirements +requiriement->requirement +requiriements->requirements requirin->requiring requirment->requirement requirmentes->requirements @@ -49133,6 +49193,13 @@ resutled->resulted resutling->resulting resutls->results resuts->results +resverv->reserve +resvervation->reservation +resvervations->reservations +resverve->reserve +resverved->reserved +resverves->reserves +resverving->reserving resycn->resync retalitated->retaliated retalitation->retaliation @@ -51591,6 +51658,7 @@ shouws->shows showfer->chauffeur, shower, showin->showing, show in, shown, showvinism->chauvinism +shoyld->should shpae->shape shpaes->shapes shpapes->shapes @@ -51707,6 +51775,7 @@ signall->signal signallin->signalling signatue->signature signatur->signature +signed-of-by->Signed-off-by signes->signs signficance->significance signficant->significant @@ -52228,8 +52297,10 @@ sizemologogical->seismological sizemologogically->seismologically sizemology->seismology sizin->sizing +sizo->size sizor->sizer, scissor, sizors->sizers, scissors, +sizos->sizes sizre->size Skagerak->Skagerrak skalar->scalar @@ -55683,6 +55754,8 @@ syntethics->synthetics syntetic->synthetic syntetize->synthesize syntetized->synthesized +synthesed->synthesized +synthesing->synthesizing synthesisin->synthesising, synthesis in, synthesizin->synthesizing synthethic->synthetic @@ -55885,6 +55958,11 @@ tanslation->translation tanslations->translations tanslator->translator tansmit->transmit +tansport->transport +tansportable->transportable +tansported->transported +tansporting->transporting +tansports->transports tansverse->transverse tarbal->tarball tarbals->tarballs diff --git a/codespell_lib/data/dictionary_code.txt b/codespell_lib/data/dictionary_code.txt index 63cec09468..597f44cee3 100644 --- a/codespell_lib/data/dictionary_code.txt +++ b/codespell_lib/data/dictionary_code.txt @@ -42,6 +42,7 @@ jupyter->Jupiter keypair->key pair keypairs->key pairs lateset->latest +lets->let's lite->light movei->movie MSDOS->MS-DOS diff --git a/codespell_lib/data/dictionary_rare.txt b/codespell_lib/data/dictionary_rare.txt index 3073e36c6d..d167e39d18 100644 --- a/codespell_lib/data/dictionary_rare.txt +++ b/codespell_lib/data/dictionary_rare.txt @@ -159,6 +159,7 @@ lightening->lightning, lighting, loafing->loading loath->loathe lod->load, loud, lode, +loner->longer loos->loose, lose, loosing->losing lousily->loosely From df4c1d27a7d1946345c02e1e66b1ee2dd8262283 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 23 Jun 2024 14:20:39 +0200 Subject: [PATCH 029/155] These typos do not belong to code, do they? While the suggested fixes are words often used in code, the typos themselves do not seem to be valid words - even in code. --- codespell_lib/data/dictionary.txt | 5 +++++ codespell_lib/data/dictionary_code.txt | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index c0c8fd8ace..c1d63742bf 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -2790,6 +2790,7 @@ agravate->aggravate agravated->aggravated agravates->aggravates agravating->aggravating +agrc->argc agre->agree agreable->agreeable agreableness->agreeableness @@ -2870,6 +2871,7 @@ agruing->arguing agrument->argument agrumentative->argumentative agruments->arguments +agrv->argv ags->tags, ages, agsinst->against agument->argument, augment, @@ -45166,6 +45168,7 @@ pulisher->publisher pulishers->publishers pulishes->publishes pulishing->publishing +pullrequenst->pull requests, pull request, puls->pulse, plus, pumkin->pumpkin punctation->punctuation @@ -55967,6 +55970,8 @@ tansverse->transverse tarbal->tarball tarbals->tarballs tarce->trace +tarceback->traceback +tarcebacks->tracebacks tarced->traced tarces->traces tarcing->tracing diff --git a/codespell_lib/data/dictionary_code.txt b/codespell_lib/data/dictionary_code.txt index 597f44cee3..4778b1ed65 100644 --- a/codespell_lib/data/dictionary_code.txt +++ b/codespell_lib/data/dictionary_code.txt @@ -1,7 +1,6 @@ -agrv->argv alacritty->alacrity alloced->allocated -amin->main +amin->main, admin, amine, apoint->appoint arange->arrange, a range, assertin->asserting, assert in, assertion, @@ -55,7 +54,6 @@ od->of outputof->output of, output-of, packat->packet protecten->protection, protected, -pullrequenst->pull requests, pull request, pullrequest->pull request pullrequests->pull requests pysic->physic @@ -82,8 +80,6 @@ storaget->storage stringly->strongly, stringy, subpatchs->subpatches sur->sure, sir, -tarceback->traceback -tarcebacks->tracebacks templace->template thead->thread theads->threads From 266daf3cac0d8f0baf55fc2c1ed4fe973071a3bd Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Mon, 24 Jun 2024 16:00:10 +0200 Subject: [PATCH 030/155] Add some typos from Emacs (#3471) --- codespell_lib/data/dictionary.txt | 29 +++++++++++++++++++++++++- codespell_lib/data/dictionary_code.txt | 1 + codespell_lib/data/dictionary_rare.txt | 3 +++ 3 files changed, 32 insertions(+), 1 deletion(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index c0c8fd8ace..736e14b050 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -6610,6 +6610,8 @@ asymmerically->asymmetrically asymmeries->asymmetries asymmery->asymmetry asymmetri->asymmetric, asymmetry, +asymtomatic->asymptomatic +asymtomatically->asymptomatically asynchnous->asynchronous asynchnously->asynchronously asynchonous->asynchronous @@ -17559,6 +17561,8 @@ dataum->datum datbase->database datbases->databases datea->date, data, +datebase->database +datebases->databases datecreatedd->datecreated datection->detection datections->detections @@ -23985,6 +23989,7 @@ ethernal->eternal ethnocentricm->ethnocentrism ethose->those, ethos, etiher->either +eto->to, ego, veto, WTO, etroneous->erroneous etroneously->erroneously etropy->entropy @@ -29465,7 +29470,9 @@ hokay->okay holf->hold holliday->holiday hollowcost->holocaust +hom->home, whom, homapage->homepage +homapages->homepages hombrew->Homebrew homegeneous->homogeneous homestate->home state @@ -30960,8 +30967,12 @@ incremeanted->incremented incremeanting->incrementing incremeants->increments incremenet->increment +incremenetal->incremental +incremenetally->incrementally incremenetd->incremented incremeneted->incremented +incremeneting->incrementing +incremenets->increments incrementall->incremental, incrementally, incrementaly->incrementally incrementin->incrementing, increment in, @@ -31261,6 +31272,7 @@ indvidual->individual indvidually->individually indviduals->individuals indxes->indexes +ine->one, in, dine, fine, line, mine, nine, pine, sine, tine, vine, wine, inearisation->linearisation ineffciency->inefficiency ineffcient->inefficient @@ -33161,6 +33173,7 @@ interrupttion->interruption interrupttions->interruptions interrut->interrupt interrutable->interruptible +interruted->interrupted interrutible->interruptible interruting->interrupting interrution->interruption @@ -33170,8 +33183,9 @@ interrutpable->interruptible interrutped->interrupted interrutpible->interruptible interrutping->interrupting +interrutpion->interruption +interrutpions->interruptions interrutps->interrupts -interruts->interrupts interscetion->intersection intersecct->intersect interseccted->intersected @@ -47214,6 +47228,9 @@ regneration->regeneration regon->region regons->regions regorded->recorded +regrad->regard, regrade, +regradless->regardless +regrads->regards, regrades, regresion->regression regresison->regression regressin->regressing, regress in, regression, @@ -50614,6 +50631,7 @@ securtiy->security securty->security securuity->security sedereal->sidereal +seding->sending, seeding, sleding, seeem->seem seeen->seen seege->siege @@ -55611,6 +55629,10 @@ symptumaticaly->symptomatically symptumaticlly->symptomatically symptumaticly->symptomatically symptums->symptoms +symtom->symptom +symtomatic->symptomatic +symtomatically->symptomatically +symtoms->symptoms synagouge->synagogue synamic->dynamic synatx->syntax @@ -56665,6 +56687,7 @@ ther->there, their, the, other, therafter->thereafter therapudic->therapeutic therby->thereby +there'a->there's a, there's, theread->thread, the read, thereaded->threaded thereading->threading, the reading, @@ -56932,6 +56955,8 @@ thuis->thus, this, thumbbnail->thumbnail thumbnal->thumbnail thumbnals->thumbnails +thumnail->thumbnail +thumnails->thumbnails thundebird->thunderbird thurday->Thursday thurough->thorough @@ -59752,6 +59777,7 @@ uplods->uploads upperace->uppercase upperaced->uppercased upperacing->uppercasing +uppercas->uppercase uppler->upper uppload->upload upploaded->uploaded @@ -61791,6 +61817,7 @@ worng->wrong, worn, wornged->wronged worngs->wrongs worpress->WordPress +worring->worrying, working, worrried->worried worrries->worries worrry->worry diff --git a/codespell_lib/data/dictionary_code.txt b/codespell_lib/data/dictionary_code.txt index 597f44cee3..b0a6e621fe 100644 --- a/codespell_lib/data/dictionary_code.txt +++ b/codespell_lib/data/dictionary_code.txt @@ -44,6 +44,7 @@ keypairs->key pairs lateset->latest lets->let's lite->light +lowcase->lowercase movei->movie MSDOS->MS-DOS musl->must diff --git a/codespell_lib/data/dictionary_rare.txt b/codespell_lib/data/dictionary_rare.txt index d167e39d18..8d416866b7 100644 --- a/codespell_lib/data/dictionary_rare.txt +++ b/codespell_lib/data/dictionary_rare.txt @@ -130,6 +130,7 @@ hep->heap, help, heterogenous->heterogeneous hided->hidden, hid, hims->his, hymns, +homs->homes, hams, hems, hove->have, hover, love, impassible->impassable, impossible, implementor->implementer @@ -233,6 +234,8 @@ refection->reflection refections->reflections refective->reflective refects->reflects +regraded->regarded +regrading->regarding remainer->remainder remainers->remainders retuned->returned From 78360db880ef07861267bd8ad1ca871f386574a2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 17:21:22 +0000 Subject: [PATCH 031/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.9 → v0.4.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.9...v0.4.10) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index df5c571613..82f6217f10 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.9 + rev: v0.4.10 hooks: - id: ruff - id: ruff-format From 42b15c88d2a52e48ab82ed91eec1ce2f6dc30998 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 14 Jun 2024 02:12:34 +0200 Subject: [PATCH 032/155] Add corrections from `typos` dictionary (A2) These corrections were made available under an Apache/MIT dual license, and were edited by me to add in alternatives (plural, verb forms, etc.). https://github.com/crate-ci/typos/blob/master/crates/typos-dict/assets/words.csv --- codespell_lib/data/dictionary.txt | 1017 +++++++++++++++++++++++- codespell_lib/data/dictionary_code.txt | 4 + codespell_lib/data/dictionary_rare.txt | 1 + 3 files changed, 1014 insertions(+), 8 deletions(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 736e14b050..39495223db 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -3583,6 +3583,8 @@ allwoing->allowing allwos->allows allws->allows allwys->always +almightly->almighty +almighy->almighty almigthy->almighty almoast->almost almostly->almost @@ -3599,6 +3601,9 @@ alocations->allocations alocator->allocator alocators->allocators alochol->alcohol +alocholic->alcoholic +alocholics->alcoholics +alocholism->alcoholism alog->along alogirhtm->algorithm alogirhtmic->algorithmic @@ -3622,6 +3627,7 @@ alogrithm->algorithm alogrithmic->algorithmic alogrithmically->algorithmically alogrithms->algorithms +alomost->almost alomst->almost aloow->allow aloowance->allowance @@ -3657,12 +3663,18 @@ alpahbetical->alphabetical alpahbetically->alphabetically alpahbets->alphabets alpahs->alphas +alpbabetic->alphabetic +alpbabetical->alphabetical +alpbabetically->alphabetically alph->alpha alpha-numeric->alphanumeric +alphabeast->alphabet +alphabeat->alphabet alphabeticall->alphabetical alphabeticallly->alphabetically alphabeticaly->alphabetically alphabeticly->alphabetical +alphabt->alphabet alphapeicall->alphabetical alphapet->alphabet alphapetic->alphabetic @@ -3690,8 +3702,16 @@ alredy->already alreeady->already alreight->all right, alright, alrelady->already +alrightey->alrighty +alrightly->alrighty +alrightty->alrighty +alrighy->alrighty +alrigthy->alrighty +alrington->Arlington alrms->alarms alrogithm->algorithm +alrorythm->algorithm +alrorythms->algorithms alrteady->already als->also alse->also, else, false, @@ -3700,6 +3720,10 @@ alsoneeds->also needs alsot->also alsready->already alsso->also +alsways->always +altanta->Atlanta +altantic->Atlantic +alteast->at least altenate->alternate altenated->alternated altenately->alternately @@ -3708,6 +3732,7 @@ altenating->alternating altenative->alternative altenatively->alternatively altenatives->alternatives +alteracion->alteration alterante->alternate alteranted->alternated alterantely->alternately @@ -3716,6 +3741,8 @@ alteranting->alternating alterantive->alternative alterantively->alternatively alterantives->alternatives +alterarion->alteration +alterasion->alteration alterate->alternate, alter, alterated->altered, alternated, alterately->alternately @@ -3724,27 +3751,43 @@ alterating->altering, alternating, alterative->alternative alteratively->alternatively alteratives->alternatives +alterato->alteration alterin->altering, alter in, alterior->ulterior +alternador->alternator +alternadors->alternators alternaive->alternative alternaively->alternatively alternaives->alternatives +alternar->alternator, alternate, alternarive->alternative alternarively->alternatively alternarives->alternatives +alternateively->alternatively +alternater->alternator +alternaters->alternators +alternatevly->alternately alternatie->alternative, alternate, alternatiely->alternatively, alternately, alternaties->alternatives, alternates, alternatiev->alternative +alternatieve->alternative +alternatieves->alternatives alternatievly->alternatively alternatievs->alternatives alternatin->alternating, alternation, alternativ->alternative alternativelly->alternatively +alternativets->alternatives alternativey->alternatively alternativley->alternatively alternativly->alternatively +alternativos->alternatives alternativs->alternatives +alternatley->alternately +alternatly->alternately +alternatr->alternator +alternatrs->alternators alternatve->alternative alternatvely->alternatively alternatves->alternatives @@ -3757,6 +3800,8 @@ alternavtives->alternatives alternetive->alternative alternetively->alternatively alternetives->alternatives +alternetly->alternately +alternitavely->alternatively alternitiv->alternative alternitive->alternative alternitively->alternatively @@ -3767,8 +3812,14 @@ alternitivs->alternatives altetnative->alternative altetnatively->alternatively altetnatives->alternatives +althete->athlete +althetes->athletes +althetic->athletic +altheticism->athleticism +althetics->athletics altho->although althogh->although +althoguh->although althorithm->algorithm althorithmic->algorithmic althorithmically->algorithmically @@ -3779,13 +3830,30 @@ althougth->although althouth->although altitide->altitude altitute->altitude +altnerately->alternately altogehter->altogether +altogheter->altogether altough->although altought->although altready->already +altriusm->altruism +altriustic->altruistic +altruisim->altruism +altruisitc->altruistic +altruisitic->altruistic +altruistisch->altruistic +altruistric->altruistic +altrusim->altruism +altrusitic->altruistic altso->also, altos, +alturism->altruism +alturistic->altruistic alue->value alues->values +aluminim->aluminium, aluminum, +aluminimum->aluminium, aluminum, +alumnium->aluminium, aluminum, +alunimum->aluminium, aluminum, alusion->allusion, illusion, alvorithm->algorithm alvorithmic->algorithmic @@ -3797,6 +3865,7 @@ alwast->always alwasy->always alwasys->always alwats->always +alwaus->always alwauys->always alway->always alwyas->always @@ -3806,11 +3875,19 @@ alyers->layers alyways->always amacing->amazing amacingly->amazingly +amaizing->amazing +amaizingly->amazingly amalgomated->amalgamated amalgum->amalgam amalgums->amalgams +amargeddon->Armageddon amater->amateur amaters->amateurs +amatersu->amateurs +amaterus->amateurs +amateures->amateurs +amateurest->amateurs +amateus->amateurs amatuer->amateur amatuers->amateurs amatur->amateur @@ -3827,6 +3904,18 @@ ambadextrous->ambidextrous ambadextrouseness->ambidextrousness ambadextrously->ambidextrously ambadextrousness->ambidextrousness +ambassabor->ambassador +ambassabors->ambassadors +ambassader->ambassador +ambassaders->ambassadors +ambassator->ambassador +ambassators->ambassadors +ambassedor->ambassador +ambassedors->ambassadors +ambassidor->ambassador +ambassidors->ambassadors +ambassodor->ambassador +ambassodors->ambassadors ambedded->embedded ambibuity->ambiguity ambidexterous->ambidextrous @@ -3840,7 +3929,11 @@ ambiguious->ambiguous ambiguitiy->ambiguity ambiguos->ambiguous ambitous->ambitious +ambluance->ambulance +ambluances->ambulances ambuguity->ambiguity +ambuigity->ambiguity +ambulancier->ambulanceman, ambulance, ambulence->ambulance ambulences->ambulances amde->made @@ -3889,9 +3982,34 @@ amelioratin->ameliorating, amelioration, amendement->amendment amendin->amending, amend in, amendmant->amendment +amendmants->amendments +amendmend->amendment +amendmends->amendments +amendmenter->amendment +amendmenters->amendments +amendmet->amendment +amendmets->amendments amened->amended, amend, +amensia->amnesia +amensty->amnesty Amercia->America +amercian->American +amercians->Americans +amercias->Americas +americ->America, amebic, americain->American +americains->Americans +americam->American +americams->Americans +americanas->Americans +americanis->Americans +americanss->Americans +americants->Americans +americanus->Americans +americaps->Americas +americares->Americas +americats->Americas +americs->Americas amerliorate->ameliorate amerliorated->ameliorated amerliorates->ameliorates @@ -3899,9 +4017,24 @@ amerliorating->ameliorating amerliorative->ameliorative amerliorator->ameliorator amerliorators->ameliorators +amernia->Armenia +amernian->Armenian +amernians->Armenians +amethsyt->amethyst +amethsyts->amethysts +ameythst->amethyst +ameythsts->amethysts amgle->angle amgles->angles +amibguities->ambiguities +amibguity->ambiguity +amibguous->ambiguous +amibguously->ambiguously +amiguities->ambiguities +amiguity->ambiguity amiguous->ambiguous +amiguously->ambiguously +aminosity->animosity amke->make amkefile->makefile amkefiles->makefiles @@ -3914,6 +4047,8 @@ ammending->amending ammendment->amendment ammendments->amendments ammends->amends +ammenities->amenities +amministrative->administrative ammong->among ammongst->amongst ammortizes->amortizes @@ -3924,8 +4059,15 @@ ammounted->amounted ammounting->amounting ammounts->amounts ammused->amused +amneisa->amnesia +amnestry->amnesty +amnsety->amnesty amny->many +amognst->amongst +amohetamines->amphetamines amongs->among +amongts->amongst +amonsgt->amongst amonst->amongst amont->among, amount, amonut->amount @@ -3941,23 +4083,77 @@ amoutns->amounts amouts->amounts ampatheater->amphitheater ampatheaters->amphitheaters +ampehtamine->amphetamine +ampehtamines->amphetamines amperstands->ampersands +ampethamine->amphetamine +ampethamines->amphetamines amphasis->emphasis +amphatamine->amphetamine +amphatamines->amphetamines amphatheater->amphitheater amphatheaters->amphitheaters +amphedamine->amphetamine +amphedamines->amphetamines +amphetamene->amphetamine +amphetamenes->amphetamines +amphetamies->amphetamines +amphetamin->amphetamine +amphetamins->amphetamines +amphetemine->amphetamine +amphetemines->amphetamines +amphetimin->amphetamine +amphetimine->amphetamine +amphetimines->amphetamines +amphetimins->amphetamines +amphetmaine->amphetamine +amphetmaines->amphetamines +ampilfied->amplified +ampilfier->amplifier +ampilfiers->amplifiers +ampilfies->amplifies +ampilfy->amplify +ampilfying->amplifying ampitheater->amphitheater ampitheaters->amphitheaters amplifer->amplifier +amplifiy->amplify +amplifiying->amplifying +ampliflied->amplified +ampliflier->amplifier +amplifliers->amplifiers +ampliflies->amplifies +amplifly->amplify +ampliflying->amplifying amplifyer->amplifier amplitud->amplitude ampty->empty +amrageddon->Armageddon +amrchair->armchair +amrchairs->armchairs +amrenia->Armenia +amrenian->Armenian +amrenians->Armenians +amrpit->armpit +amrpits->armpits +amrstrong->Armstrong +amtheyst->amethyst +amtheysts->amethysts +amublance->ambulance +amublances->ambulances amuch->much amung->among amunition->ammunition amunt->amount +amzing->amazing +anachrist->anarchist +anachrists->anarchists +anad->and analagous->analogous analagus->analogous analaog->analog +analgoue->analogue +analgoues->analogues, analogous, analgous->analogous analig->analog analise->analyse @@ -3985,7 +4181,9 @@ analizer->analyzer analizers->analyzers analizes->analyzes analizing->analyzing +analoge->analogue analogeous->analogous +analoges->analogues analogicaly->analogically analoguous->analogous analoguously->analogously @@ -4021,6 +4219,10 @@ analyising->analysing analyisis->analysis analyist->analyst analyists->analysts +analyitcal->analytical +analyitcally->analytically +analyitcaly->analytically +analyitcs->analytics analyitic->analytic analyitical->analytical analyitically->analytically @@ -4033,6 +4235,12 @@ analyizes->analyzes analyizing->analyzing analysator->analyser analysators->analysers +analyseas->analyses +analysees->analyses +analyseles->analyses +analysens->analyses +analyseras->analyses +analyseres->analyses analysie->analyse analysied->analysed analysier->analyser @@ -4041,16 +4249,28 @@ analysies->analyses, analysis, analysiing->analysing analysiis->analysis analysin->analysing +analysise->analyses +analysised->analysed analysises->analyses -analystic->analytic +analysising->analysing +analysisto->analysis to, analysts, +analysit->analyst +analysits->analysts +analyste->analyst, analyse, +analystes->analysts +analystic->analytic, analyst, analystical->analytical analystically->analytically -analystics->analytics +analystics->analytics, analysts, analysus->analysis analysy->analysis +analysys->analysis +analysze->analyse, analyze, analyticall->analytical, analytically, +analyticals->analytics analyticaly->analytically analyticly->analytically +analyts->analyst, analysts, analyzator->analyzer analyzators->analyzers analyzie->analyze @@ -4087,10 +4307,18 @@ ananlyzer->analyzer ananlyzers->analyzers ananlyzes->analyzes ananlyzing->analyzing +anaolgue->analogue +anaolgues->analogues anarchim->anarchism +anarchisim->anarchism +anarchistes->anarchists anarchistm->anarchism, anarchist, +anarchiszm->anarchism anarchit->anarchist anarchits->anarchists +anarchsim->anarchism +anarchsit->anarchist +anarchsits->anarchists anarkist->anarchist anarkistic->anarchistic anarkists->anarchists @@ -4118,6 +4346,7 @@ anaylzer->analyzer anaylzers->analyzers anaylzes->analyzes anaylzing->analyzing +anaysis->analysis anaytic->analytic anaytical->analytical anaytically->analytically @@ -4128,6 +4357,12 @@ ancapsulated->encapsulated ancapsulates->encapsulates ancapsulating->encapsulating ancapsulation->encapsulation +ancedotal->anecdotal +ancedotally->anecdotally +ancedote->anecdote +ancedotes->anecdotes +anceint->ancient +anceints->ancients ancesetor->ancestor ancesetors->ancestors ancester->ancestor @@ -4142,11 +4377,14 @@ anchestors->ancestors anchord->anchored anchorin->anchoring, anchor in, ancilliary->ancillary +ancinet->ancient +ancinets->ancients anconda->anaconda ancondas->anacondas andd->and anddroid->android anddroids->androids +andf->and andle->handle, candle, angle, ankle, dandle, andled->handled, dandled, andler->handler, antler, @@ -4155,26 +4393,72 @@ andles->handles, candles, angles, ankles, dandles, andling->handling, dandling, andoid->android andoids->androids +andoird->android +andoirds->androids andorid->android andorids->androids andriod->android andriods->androids androgenous->androgynous androgeny->androgyny +androide->android +androider->android +androiders->androids +androides->androids androidextra->androidextras +androidos->androids +androidtvs->androids androind->android androinds->androids +androis->androids andthe->and the andtoid->android andtoids->androids ane->and +anecdatal->anecdotal +anecdatally->anecdotally +anecdate->anecdote +anecdot->anecdote +anecdotale->anecdotal, anecdote, anecdotally, +anecdotallly->anecdotally +anecdotel->anecdotal +anecdotelly->anecdotally +anecdotice->anecdote +anecdotices->anecdotes +anecdotle->anecdote +anecdotles->anecdotes +anecdots->anecdotes +anecodtal->anecdotal +anecodtally->anecdotally +anecodte->anecdote +anecodtes->anecdotes +anectodal->anecdotal +anectodally->anecdotally +anectode->anecdote +anectodes->anecdotes +anectotally->anecdotally +anedoctal->anecdotal +anedoctally->anecdotally +anedocte->anecdote +anedoctes->anecdotes aneel->anneal aneeled->annealed aneeling->annealing aneels->anneals +aneroxia->anorexia +aneroxic->anorexic +anestheisa->anesthesia +anesthetia->anesthesia +anesthisia->anesthesia anevironment->environment anevironments->environments +anfd->and +angirly->angrily angluar->angular +angostic->agnostic +angosticism->agnosticism +angostics->agnostics +angrilly->angrily angshios->anxious angshiosly->anxiously angshiosness->anxiousness @@ -4196,6 +4480,8 @@ anialate->annihilate anialated->annihilated anialates->annihilates anialating->annihilating +anicent->ancient +anicents->ancients anid->and anihilate->annihilate anihilated->annihilated @@ -4235,6 +4521,10 @@ animatng->animating animaton->animation animatonic->animatronic animatons->animations +animatte->animate +animatted->animated +animattes->animates +animatting->animating animete->animate animeted->animated animetes->animates @@ -4246,6 +4536,7 @@ animetors->animators animets->animates animonee->anemone animore->anymore +animostiy->animosity aninate->animate aninated->animated aninates->animates @@ -4254,16 +4545,27 @@ anination->animation aninations->animations aninator->animator aninators->animators -aniother->any other +aninteresting->uninteresting +aniother->another, any other, anisotrophically->anisotropically anitaliasing->antialiasing +anitbiotic->antibiotic +anitbiotics->antibiotics +anitdepressant->antidepressants +anitdepressants->antidepressants anithing->anything anitialising->antialiasing anitime->anytime +anitquated->antiquated +anitque->antique +anitques->antiques anitrez->antirez +anitsocial->antisocial +anitvirus->antivirus aniversary->anniversary aniway->anyway aniwhere->anywhere +anixety->anxiety anjanew->ingenue ankshios->anxious ankshiosly->anxiously @@ -4277,6 +4579,14 @@ ankshiuosness->anxiousness ankshus->anxious ankshusly->anxiously ankshusness->anxiousness +anlayse->analyse +anlaysed->analysed +anlayses->analyses +anlaysing->analysing +anlaytics->analytics +anlayze->analyze +anlayzed->analyzed +anlayzing->analyzing anlge->angle anly->only, any, anlyse->analyse @@ -4301,8 +4611,10 @@ anlyzing->analyzing anme->name, anime, anmed->named anmes->names, animes, +anmesia->amnesia anmespace->namespace anmespaces->namespaces +anmesty->amnesty anming->naming anmore->anymore annaverseries->anniversaries @@ -4327,8 +4639,26 @@ annhiliates->annihilates annhiliating->annihilating annhiliation->annihilation annhiliations->annihilations +annihalated->annihilated +annihalition->annihilation annihilatin->annihilating, annihilation, +annihilaton->annihilation +annihilatron->annihilation +annihilited->annihilated +annihliated->annihilated +annihliation->annihilation +annilihate->annihilated +annilihated->annihilated +annilihation->annihilation +annimal->animal +anniverary->anniversary +anniversairy->anniversary +anniversarry->anniversary +anniversay->anniversary anniversery->anniversary +anniversiary->anniversary +anniversry->anniversary +anniversy->anniversary annnotate->annotate annnotated->annotated annnotates->annotates @@ -4370,11 +4700,14 @@ annonced->announced annoncement->announcement annoncements->announcements annonces->announces +annonceur->announcer +annonceurs->announcers annoncing->announcing annonomus->anonymous annonomusally->anonymously annonomusly->anonymously annonymous->anonymous +annonymouse->anonymous annonymously->anonymously annotae->annotate annotaed->annotated @@ -4382,6 +4715,8 @@ annotaes->annotates annotaing->annotating annotaion->annotation annotaions->annotations +annotaiotn->annotation +annotaiotns->annotations annotaor->annotator annotaors->annotators annotatin->annotating, annotation, @@ -4398,9 +4733,28 @@ annouce->announce annouced->announced annoucement->announcement annoucements->announcements +annoucenment->announcement +annoucenments->announcements annouces->announces annoucing->announcing +annoucne->announce +annoucnement->announcement +annoucnements->announcements +annoucner->announcer +annoucners->announcers +annoucnes->announces +annoucning->announcing annouing->annoying +announceing->announcing +announcemet->announcement +announcemets->announcements +announcemnet->announcement +announcemnets->announcements +announcemnt->announcement +announcemnts->announcements +announcent->announcement, announce, +announcents->announcements, announces, +announched->announced announcin->announcing announcment->announcement announcments->announcements @@ -4410,11 +4764,17 @@ announements->announcements annoyence->annoyance annoyences->annoyances annoyin->annoying, annoy in, +annoyingy->annoyingly annoymous->anonymous +annoymously->anonymously annoyn->annoy, annoying, +annoynace->annoyance +annoynaces->annoyances annoyning->annoying annoyningly->annoyingly annoyying->annoying +anntena->antenna +anntenas->antennas annualy->annually annuled->annulled annullin->annulling @@ -4425,33 +4785,52 @@ annyoed->annoyed annyoing->annoying annyoingly->annoyingly annyos->annoys +anoerxia->anorexia +anoerxic->anorexic anoher->another anohter->another anointin->anointing, anoint in, anologon->analogon anologous->analogous anomally->anomaly +anomisity->animosity anomolee->anomaly anomolies->anomalies anomolous->anomalous anomoly->anomaly +anomynity->anonymity +anomynous->anonymous +anonamously->anonymously +anonimised->anonymised anonimity->anonymity +anonimized->anonymized +anonimously->anonymously anonimus->anonymous anonimusally->anonymously anonimusly->anonymously +anonmyous->anonymous +anonmyously->anonymously anonomous->anonymous anonomously->anonymously anononymous->anonymous anononymously->anonymously anonther->another +anonymos->anonymous +anonymosly->anonymously anonymou->anonymous anonymouly->anonymously anonymouse->anonymous anonymousely->anonymously +anonymousny->anonymously +anonymousy->anonymously +anonymoys->anonymously anonyms->anonymous anonymsly->anonymously anonymus->anonymous anonymusly->anonymously +anoreixa->anorexia +anorexiac->anorexic +anorexica->anorexia anormal->abnormal, a normal, anormalies->anomalies anormally->abnormally, a normally, @@ -4464,6 +4843,7 @@ anotation->annotation anotations->annotations anotator->annotator anotators->annotators +anotehr->another anoter->another anothe->another anothers->another @@ -4477,6 +4857,10 @@ anouncers->announcers anounces->announces anouncing->announcing anount->amount +anout->about +anouther->another +anoxeria->anorexia +anoxeric->anorexic anoy->annoy anoyed->annoyed anoying->annoying @@ -4487,18 +4871,23 @@ anpatheater->amphitheater anpatheaters->amphitheaters anphatheater->amphitheater anphatheaters->amphitheaters +anphetamine->amphetamine +anphetamines->amphetamines anphibian->amphibian anphibians->amphibians anphitheater->amphitheater anphitheaters->amphitheaters anpitheater->amphitheater anpitheaters->amphitheaters +anrachist->anarchist +anrachists->anarchists anroid->android anroids->androids ansalisation->nasalisation ansalization->nasalization ansamble->ensemble ansambles->ensembles +ansd->and, ansa, anser->answer ansered->answered anserer->answerer @@ -4509,6 +4898,10 @@ ansester->ancestor ansesters->ancestors ansestor->ancestor ansestors->ancestors +answe->answer +answerd->answered +answere->answer +answeres->answers answerin->answering, answer in, answhare->answer answhared->answered @@ -4518,26 +4911,102 @@ answharing->answering answhars->answers ansyert->answered, answer, ansynchronous->asynchronous +antaganist->antagonist +antaganistic->antagonistic +antaganists->antagonists +antagnoist->antagonist +antagnoists->antagonists +antagonisic->antagonistic +antagonisitc->antagonistic +antagonisitic->antagonistic +antagonistc->antagonistic +antagonostic->antagonist +antagonstic->antagonist antaliasing->antialiasing -antartic->antarctic +antarcitca->Antarctica +antarctia->Antarctica +antarctida->Antarctica +antartic->Antarctic antecedant->antecedent anteena->antenna anteenas->antennas +antennaes->antennas +antennea->antenna +antennna->antenna +antennnas->antennas anthing->anything anthings->anythings anthor->another anthromorphization->anthropomorphization anthropolgist->anthropologist anthropolgy->anthropology +anthropoloy->anthropology +anthropoly->anthropology antialialised->antialiased antialising->antialiasing antiapartheid->anti-apartheid +antibiodic->antibiotic +antibiodics->antibiotics +antibioitcs->antibiotics +antibioitic->antibiotic +antibioitics->antibiotics +antibiotc->antibiotic +antibiotcs->antibiotics +antibioticos->antibiotics +antibitoic->antibiotic +antibitoics->antibiotics +antiboitic->antibiotics +antiboitics->antibiotics +anticapate->anticipate +anticapated->anticipated +anticapates->anticipates +anticapating->anticipating anticdote->anecdote, antidote, anticdotes->anecdotes, antidotes, +anticiapte->anticipate +anticiapted->anticipated +anticiaptes->anticipates +anticiaption->anticipation +anticipacion->anticipation +anticipare->anticipate +anticipatin->anticipation, anticipating, +anticipato->anticipation, anticipated, +anticipe->anticipate +anticiped->anticipated +anticipes->anticipates +anticiping->anticipating anticpate->anticipate +anticuated->antiquated +antidepressent->antidepressant +antidepressents->antidepressants +antidepresssant->antidepressant +antidepresssants->antidepressants +antiobitic->antibiotic +antiobitics->antibiotics +antiquae->antique +antiquaited->antiquated +antiquited->antiquated +antiqvated->antiquated +antisipate->anticipate +antisipated->anticipated +antisipates->anticipates +antisipating->anticipating +antisipation->anticipation +antisocail->antisocial +antisosial->antisocial +antivirs->antivirus antiviurs->antivirus +antivrius->antivirus +antivuris->antivirus +antoganist->antagonist +antoganists->antagonists +antogonistic->antagonistic +antoher->another +antractica->Antarctica +antrhopology->anthropology antripanewer->entrepreneur antripanewers->entrepreneurs +antrophology->anthropology antry->entry antyhing->anything anual->annual @@ -4546,6 +5015,7 @@ anualize->annualize anualized->annualized anualizing->annualizing anually->annually +anuglar->angular anuled->annulled anuling->annulling anull->annul @@ -4559,11 +5029,15 @@ anuwhere->anywhere anway->anyway anways->anyway anwee->ennui +anwer->answer +anwers->answers anwhere->anywhere anwser->answer anwsered->answered anwsering->answering anwsers->answers +anwyays->anyways +anxeity->anxiety anxios->anxious anxiosly->anxiously anxiosness->anxiousness @@ -4571,18 +5045,25 @@ anxiuos->anxious anxiuosly->anxiously anxiuosness->anxiousness anyawy->anyway +anye->any, ante, anyhing->anything anyhting->anything anyhwere->anywhere anylsing->analysing anylzing->analyzing anynmore->anymore -anyother->any other +anynomity->anonymity +anynomous->anonymous +anyoens->anyone, anyone's, +anyoneis->anyone is, anyone, anyone's, +anyonse->anyone, anyone's, +anyother->any other, another, anytghing->anything anythig->anything anythign->anything anythimng->anything anythin->anything, any thin, +anythng->anything anytiem->anytime anytihng->anything anyting->anything @@ -4591,9 +5072,13 @@ anytrhing->anything anytthing->anything anytying->anything anywere->anywhere +anywya->anyway +anywyas->anyways anyy->any aoache->apache +aobut->about aond->and +aorund->around aother->another, other, mother, aoto->auto aotomate->automate @@ -4603,6 +5088,7 @@ aotomatical->automatic aotomaticall->automatically aotomatically->automatically aotomation->automation +aound->around, sound, aovid->avoid aovidable->avoidable aovidably->avoidably @@ -4611,6 +5097,8 @@ aovoided->avoided aovoiding->avoiding aovoids->avoids apach->apache +apacolypse->apocalypse +apacolyptic->apocalyptic apapt->adapt apaptation->adaptation apaptations->adaptations @@ -4629,7 +5117,14 @@ aparently->apparently aparment->apartment aparrent->apparent aparrently->apparently +apartheied->apartheid +aparthide->apartheid +aparthied->apartheid apartide->apartheid +apartmen->apartment +apartmens->apartments +apartmet->apartment +apartmets->apartments apaul->appall apauled->appalled apauling->appalling @@ -4683,6 +5178,8 @@ aperature->aperture aperatures->apertures aperure->aperture aperures->apertures +aperutre->aperture +apetite->appetite apeture->aperture apetures->apertures aphabet->alphabet @@ -4694,6 +5191,10 @@ apihelion->aphelion apihelions->aphelions apilogue->epilogue aplha->alpha +aplhabet->alphabet +aplhabetical->alphabetical +aplhabetically->alphabetically +aplhabets->alphabets aplicabile->applicable aplicability->applicability aplicable->applicable @@ -4712,36 +5213,98 @@ apllied->applied apllies->applies aplly->apply apllying->applying +aplogies->apologies +aplogise->apologise +aplogize->apologize aply->apply aplyed->applied aplying->applying +apocalipse->apocalypse +apocaliptic->apocalyptic +apocalpyse->apocalypse +apocalpytic->apocalyptic +apocalype->apocalypse +apocalypes->apocalypse +apocalypic->apocalyptic +apocalypitic->apocalyptic +apocalyspe->apocalypse +apocalytic->apocalyptic +apocalytpic->apocalyptic +apocaplyse->apocalypse +apocolapse->apocalypse apocraful->apocryphal apointed->appointed apointing->appointing apointment->appointment apoints->appoints +apolagetic->apologetic +apolagised->apologised +apolagising->apologising +apolagized->apologized +apolagizing->apologizing apolegetic->apologetic apolegetics->apologetics +apolgies->apologies, apologise, +apolgise->apologise +apolgize->apologize +apoligetic->apologetic +apoligies->apologies +apoligise->apologise +apoligised->apologised +apoligises->apologises +apoligising->apologising +apoligist->apologist +apoligists->apologists +apoligize->apologize +apoligized->apologized apollstree->upholstery +apologes->apologies, apologise, +apologiseing->apologising apologisin->apologising +apologism->apology +apologisms->apologies +apologistas->apologists +apologiste->apologist, apologise, +apologistes->apologists, apologises, +apologistic->apologetic, apologist, +apologistics->apologists +apologitic->apologetic +apologizeing->apologizing apologizin->apologizing apon->upon, apron, aportionable->apportionable +aposlte->apostle +aposltes->apostles +apostel->apostle +apostels->apostles apostrafes->apostrophes apostrafies->apostrophes apostrafy->apostrophe +apostraphe->apostrophe +apostrephe->apostrophe +apostrohpe->apostrophe +apostrope->apostrophe +apostropes->apostrophes apostrophie->apostrophe +apostrophied->apostrophe apostrophies->apostrophes appache->apache +appaer->appear +appaered->appeared +appaers->appears appallin->appalling, appall in, +appaluse->applause appar->appear apparance->appearance apparances->appearances apparant->apparent +apparantely->apparently apparantly->apparently +appareal->apparel appareance->appearance appareances->appearances appared->appeared +appareil->apparel apparelin->appareling, apparel in, apparellin->apparelling apparen->apparent @@ -4749,6 +5312,8 @@ apparence->appearance apparences->appearances apparenlty->apparently apparenly->apparently +apparentely->apparently +apparenty->apparently appares->appears apparing->appearing apparoch->approach @@ -4773,8 +5338,11 @@ appatures->apertures appealin->appealing, appeal in, appealling->appealing, appalling, appearaing->appearing +appearane->appearance +appearanes->appearances appearant->apparent appearantly->apparently +appeard->appeared appeareance->appearance appearence->appearance appearences->appearances @@ -4782,6 +5350,8 @@ appearent->apparent appearently->apparently appeares->appears appearin->appearing, appear in, +appearnace->appearance +appearnaces->appearances appearning->appearing appearrs->appears appeasr->appears @@ -4819,15 +5389,28 @@ apperarances->appearances apperared->appeared apperaring->appearing apperars->appears +apperciate->appreciate +apperciated->appreciated +apperciates->appreciates +apperciating->appreciating +apperciation->appreciation +apperead->appeared appereance->appearance appereances->appearances appered->appeared apperent->apparent apperently->apparently +appericate->appreciate +appericated->appreciated +appericates->appreciates +appericating->appreciating appering->appearing appers->appears apperture->aperture appertures->apertures +appetitie->appetite +appetities->appetite +appetitite->appetite appicability->applicability appicable->applicable appicaliton->application @@ -4839,6 +5422,10 @@ appications->applications appicative->applicative appied->applied appies->applies +applainces->appliances +applaude->applaud +applaudes->applause +applaued->applaud applay->apply applayed->applied applaying->applying @@ -4859,8 +5446,11 @@ appliactions->applications appliation->application appliations->applications applicabel->applicable +applicabile->applicable applicaion->application applicaions->applications +applicaition->application +applicaitions->applications applicaiton->application applicaitons->applications applicalbe->applicable @@ -4870,23 +5460,29 @@ applicaple->applicable applicatable->applicable applicaten->application applicatin->application +applicatino->application applicatins->applications applicatio->application applicationb->application applicatios->applications applicatiosn->applications +applicato->application, applicated, applicaton->application applicatons->applications applicble->applicable +applicible->applicable appliction->application applictions->applications applide->applied applie->apply, applied, +applience->appliance +appliences->appliances applikation->application applikations->applications applikay->appliqué applikays->appliqués appling->applying, appalling, +applizes->applies appllicable->applicable appllication->application appllications->applications @@ -4894,6 +5490,13 @@ appllied->applied appllies->applies applly->apply appllying->applying +applogies->apologies +applogise->apologise +applogize->apologize +applogy->apology +appluad->applaud +appluads->applauds +appluase->applause applyable->applicable applycable->applicable applycation->application @@ -4924,7 +5527,20 @@ appoach->approach appoached->approached appoaches->approaches appoaching->approaching +appoinment->appointment +appointement->appointment appointin->appointing, appoint in, +appointmet->appointment +appointmets->appointments +appointmnet->appointment +appointmnets->appointments +appoitment->appointment +appoitments->appointments +appoitnment->appointment +appoitnments->appointments +appoligies->apologies +appoligise->apologise +appoligize->apologize appologies->apologies appologise->apologise appologised->apologised @@ -4936,9 +5552,12 @@ appologizes->apologizes appologizing->apologizing appology->apology appon->upon +appontment->appointment +appontments->appointments appopriate->appropriate appopriately->appropriately apporach->approach +apporachable->approachable apporached->approached apporaches->approaches apporaching->approaching @@ -4965,11 +5584,14 @@ apporpriates->appropriates apporpriating->appropriating apporpriation->appropriation apporpriations->appropriations +apportunity->opportunity apporval->approval apporve->approve apporved->approved apporves->approves apporving->approving +apporximate->approximate +apporximately->approximately appoval->approval appove->approve appoved->approved @@ -5035,6 +5657,19 @@ appraoches->approaches appraoching->approaching apprarent->apparent apprarently->apparently +apprasial->appraisal +apprciate->appreciate +apprciated->appreciated +apprciates->appreciates +apprciating->appreciating +appreaciate->appreciate +appreaciated->appreciated +appreaciates->appreciates +appreaciating->appreciating +appreacite->appreciate +appreacited->appreciated +appreacites->appreciates +appreaciting->appreciating apprear->appear apprearance->appearance apprearances->appearances @@ -5047,15 +5682,45 @@ apprecaites->appreciates apprecaiting->appreciating apprecaition->appreciation apprecaitive->appreciative +apprecate->appreciate +appreceating->appreciating +appreciae->appreciate +appreciaed->appreciated +appreciaes->appreciates +appreciaing->appreciating +appreciaite->appreciative +appreciat->appreciate +appreciateing->appreciating +appreciateive->appreciative +appreciaters->appreciates +appreciatie->appreciative +appreciatied->appreciated appreciatin->appreciating, appreciation, +appreciationg->appreciating +appreciato->appreciation +appreciaton->appreciation +appreciatve->appreciative +appreciste->appreciate, appreciates, +apprecitae->appreciate, appreciates, +apprecite->appreciate +apprecited->appreciated +apprectice->apprentice +apprectices->apprentices +appreiate->appreciate appreicate->appreciate appreicated->appreciated appreicates->appreciates appreicating->appreciating appreication->appreciation appreicative->appreciative +appreiciate->appreciate apprended->appended, apprehended, +apprendice->apprentice apprent->apparent +apprentace->apprentice +apprentie->apprentice +apprentince->apprentice +apprentise->apprentice apprently->apparently appreteate->appreciate appreteated->appreciated @@ -5065,12 +5730,25 @@ appretiates->appreciates appretiating->appreciating appretiation->appreciation appretiative->appreciative +appretince->apprentice +appricate->appreciate +appricated->appreciated +appricates->appreciates +appricating->appreciating +appriceate->appreciate +appriceated->appreciated +appriceates->appreciates +appriceating->appreciating appriciate->appreciate appriciated->appreciated appriciates->appreciates appriciating->appreciating appriciation->appreciation appriciative->appreciative +appriecate->appreciate +appriecated->appreciated +appriecates->appreciates +appriecating->appreciating apprieciate->appreciate apprieciated->appreciated apprieciates->appreciates @@ -5099,6 +5777,7 @@ appriximation->approximation appriximations->approximations approachin->approaching, approach in, approachs->approaches +approacing->approaching approbiate->appropriate approbiately->appropriately approch->approach @@ -5134,6 +5813,7 @@ appropiate->appropriate appropiately->appropriately appropirate->appropriate appropirately->appropriately +appropiration->appropriation approppriate->appropriate approppriately->appropriately appropraite->appropriate @@ -5143,6 +5823,8 @@ approprated->appropriated approprately->appropriately appropration->appropriation approprations->appropriations +appropreation->appropriation +appropreations->appropriations appropriage->appropriate appropriagely->appropriately appropriat->appropriate @@ -5150,10 +5832,15 @@ appropriatedly->appropriately appropriatee->appropriate appropriateely->appropriately appropriatin->appropriating, appropriation, +appropriatley->appropriately appropriatly->appropriately appropriatness->appropriateness +appropriato->appropriation +appropriaton->appropriation +appropriatons->appropriations appropriete->appropriate approprietely->appropriately +approprietly->appropriately appropritae->appropriate appropritaely->appropriately appropritate->appropriate @@ -5179,13 +5866,17 @@ approprpiate->appropriate approprpiately->appropriately approriate->appropriate approriately->appropriately +approrpiation->appropriation +approrpiations->appropriations approrpriate->appropriate approrpriately->appropriately +approstraphe->apostrophe approuval->approval approuve->approve approuved->approved approuves->approves approuving->approving +approvel->approval approvement->approval approvin->approving approxamate->approximate @@ -5212,8 +5903,10 @@ approxiating->approximating approxiation->approximation approxiations->approximations approximat->approximate +approximatelly->approximately approximatin->approximating, approximation, approximatively->approximately +approximatley->approximately approximatly->approximately approxime->approximate approximed->approximated @@ -5226,6 +5919,7 @@ approximetes->approximates approximeting->approximating approximetion->approximation approximetions->approximations +approximetly->approximately approximing->approximating approximion->approximation approximite->approximate @@ -5259,6 +5953,7 @@ apprpriate->appropriate apprpriately->appropriately appy->apply appying->applying +apratheid->apartheid apreciate->appreciate apreciated->appreciated apreciates->appreciates @@ -5276,6 +5971,8 @@ apretiates->appreciates apretiating->appreciating apretiation->appreciation apretiative->appreciative +apreture->aperture +apriciate->appreciate aproach->approach aproached->approached aproaches->approaches @@ -5296,12 +5993,17 @@ aprove->approve aproved->approved aproves->approves aproving->approving +aprox->approx aproximate->approximate aproximated->approximated aproximately->approximately aproximates->approximates aproximation->approximation aproximations->approximations +aprreciate->appreciate +aprreciated->appreciated +aprreciates->appreciates +aprreciating->appreciating aprrovement->approval aprroximate->approximate aprroximated->approximated @@ -5310,15 +6012,37 @@ aprroximates->approximates aprroximation->approximation aprroximations->approximations aprtment->apartment +apsaragus->asparagus +apsect->aspect +apsects->aspects +apserger->asperger +apsergers->aspergers +apshalt->asphalt +apsiration->aspiration +apsirations->aspirations +apsirin->aspirin +apsotle->apostle +apsotles->apostles +apsotrophe->apostrophe +aptitudine->aptitude apyoon->oppugn apyooned->oppugned apyooning->oppugning apyoons->oppugns aqain->again +aqaurium->aquarium +aqauriums->aquariums +aqcuaintance->acquaintance +aqcuaintances->acquaintances +aqcuainted->acquainted aqcuire->acquire aqcuired->acquired aqcuires->acquires aqcuiring->acquiring +aqcuisition->acquisition +aqcuisitions->acquisitions +aqquaintance->acquaintance +aqquaintances->acquaintances aqquire->acquire aqquired->acquired aqquires->acquires @@ -5329,6 +6053,13 @@ aquaintance->acquaintance aquainted->acquainted aquainting->acquainting aquaints->acquaints +aquairum->aquarium +aquairums->aquariums +aquarim->aquarium +aquarims->aquariums +aquaruim->aquarium +aquaruims->aquariums +aqueos->aqueous aqueus->aqueous aquiantance->acquaintance aquiess->acquiesce @@ -5358,6 +6089,7 @@ arameters->parameters arametric->parametric arametrical->parametrical arametrically->parametrically +aramgeddon->Armageddon aranged->arranged arangement->arrangement arangements->arrangements @@ -5367,6 +6099,7 @@ araound->around ararbic->arabic aray->array arays->arrays +arbatrary->arbitrary arbiatraily->arbitrarily arbiatray->arbitrary arbibtarily->arbitrarily @@ -5403,6 +6136,9 @@ arbitrally->arbitrarily arbitralrily->arbitrarily arbitralry->arbitrary arbitraly->arbitrary +arbitrarely->arbitrarily +arbitrariliy->arbitrarily +arbitrarilly->arbitrarily arbitrarion->arbitration arbitrarity->arbitrarily arbitrariy->arbitrarily, arbitrary, @@ -5417,6 +6153,7 @@ arbitratrion->arbitration arbitratry->arbitrary arbitraty->arbitrary arbitray->arbitrary +arbitre->arbiter arbitrer->arbiter, arbitrator, arbitrers->arbiters, arbitrators, arbitriarily->arbitrarily @@ -5440,11 +6177,15 @@ arbituarily->arbitrarily arbituary->arbitrary arbiturarily->arbitrarily arbiturary->arbitrary +arbiture->arbiter arbort->abort arborted->aborted arborting->aborting arborts->aborts +arbritarily->arbitrarily arbritary->arbitrary +arbritation->arbitration +arbritations->arbitrations arbritrarily->arbitrarily arbritrary->arbitrary arbtirarily->arbitrarily @@ -5453,21 +6194,37 @@ arbtrarily->arbitrarily arbtrary->arbitrary arbutrarily->arbitrarily arbutrary->arbitrary +arcaheology->archeology +arcahic->archaic +arcehtype->archetype +arcehtypes->archetypes arch-dependet->arch-dependent arch-independet->arch-independent archaelogical->archaeological archaelogists->archaeologists archaelogy->archaeology +archaeolgy->archaeology archaoelogy->archeology, archaeology, archaology->archeology, archaeology, +archatype->archetype +archatypes->archetypes +archeaological->archaeological archeaologist->archeologist, archaeologist, archeaologists->archeologists, archaeologists, +archeaology->archaeology archetect->architect archetects->architects archetectural->architectural archetecturally->architecturally archetecture->architecture archetectures->architectures +archetipe->archetype +archetipes->archetypes +archetpye->archetype +archetpyes->archetypes +archetyps->archetypes +archetypus->archetypes +archeytpes->archetypes archiac->archaic archictect->architect archictects->architects @@ -5510,20 +6267,30 @@ architcturally->architecturally architcture->architecture architctures->architectures architec->architect +architech->architect +architechs->architects architecht->architect architechts->architects architechtural->architectural architechturally->architecturally architechture->architecture architechtures->architectures +architechural->architectural +architechure->architecture architecs->architects +architecte->architect +architectes->architects +architectrual->architectural architectual->architectural architectually->architecturally architectue->architecture architectues->architectures architectur->architecture +architectureal->architectural +architecturial->architectural architecturs->architectures architecturse->architectures +architectuur->architecture architecural->architectural architecurally->architecturally architecure->architecture @@ -5550,10 +6317,15 @@ architetural->architectural architeturally->architecturally architeture->architecture architetures->architectures +architext->architect +architexts->architects +architexture->architecture architural->architectural architurally->architecturally architure->architecture architures->architectures +architype->archetype +architypes->archetypes archiv->archive archivd->archived archivel->archival @@ -5596,6 +6368,10 @@ archviers->archivers archvies->archives archviing->archiving archving->archiving +archytype->archetype +archytypes->archetypes +arcitechtural->architectural +arcitechture->architecture arcitect->architect arcitects->architects arcitectural->architectural @@ -5613,29 +6389,54 @@ arcticle->article arcticles->articles arctifact->artifact arctifacts->artifacts +arcylic->acrylic Ardiuno->Arduino ardvark->aardvark ardvarks->aardvarks are'nt->aren't aready->already areea->area +aregument->argument +areguments->arguments +aremnia->Armenia +aremnian->Armenian +aremnians->Armenians aren's->aren't arent'->aren't arent->aren't areodynamics->aerodynamics +areospace->aerospace +aresnal->arsenal +aretmis->Artemis argement->argument argements->arguments argemnt->argument argemnts->arguments +argentia->Argentina +argentinia->Argentina +argessive->aggressive +argessively->aggressively +argeument->argument +argeuments->arguments +argicultural->agricultural +argiculturally->agriculturally +argiculture->agriculture argment->argument argments->arguments argmument->argument argmuments->arguments argreement->agreement argreements->agreements +arguabley->arguably +arguablly->arguably +argubaly->arguably argubly->arguably arguement->argument arguements->arguments +arguemet->argument +arguemets->arguments +arguemnet->argument +arguemnets->arguments arguemnt->argument arguemnts->arguments arguemtn->argument @@ -5656,10 +6457,20 @@ argumeng->argument argumengs->arguments argumens->arguments argumenst->arguments +argumentas->arguments +argumentate->argue, argumentative, +argumentated->argued +argumentates->argues +argumentatie->argumentative +argumentating->arguing argumentent->argument argumentents->arguments +argumentitive->argumentative +argumentos->arguments argumeny->argument argumenys->arguments +argumernt->argument +argumernts->arguments argumet->argument argumetn->argument argumetns->arguments @@ -5681,15 +6492,33 @@ arhiver->archiver arhivers->archivers arhives->archives arhiving->archiving +arhtritis->arthritis +arhtrosis->arthrosis aribitary->arbitrary aribiter->arbiter aribitrarily->arbitrarily aribitrary->arbitrary +ariborne->airborne aribrary->arbitrary +aribter->arbiter +aribters->arbiters aribtrarily->arbitrarily aribtrary->arbitrary +aribtration->arbitration +aribtrations->arbitrations +aricraft->aircraft ariflow->airflow +arious->various, areous, +ariplane->airplane +ariplanes->airplanes +ariport->airport +ariports->airports arised->arose +arisoft->airsoft +arispace->airspace +aristolte->Aristotle +aristote->Aristotle +aristotel->Aristotle aritcle->article aritcles->articles aritfact->artifact @@ -5702,21 +6531,47 @@ arithmatic->arithmetic arithmentic->arithmetic arithmetc->arithmetic arithmethic->arithmetic +arithmetisch->arithmetic +arithmetric->arithmetic arithmitic->arithmetic +aritmethic->arithmetic aritmetic->arithmetic aritrary->arbitrary aritst->artist +aritsts->artists arival->arrival, a rival, arivals->arrivals arive->arrive arived->arrived arives->arrives ariving->arriving +arizonia->Arizona +arkasnas->Arkansas arleady->already +arlighty->alrighty +arlignton->Arlington +arlingotn->Arlington arlready->already -armagedon->armageddon -armagedons->armageddons +armagaddon->Armageddon +armageddan->Armageddon +armagedddon->Armageddon +armagedden->Armageddon +armageddeon->Armageddon +armageddin->Armageddon +armageddomon->Armageddon +armagedeon->Armageddon +armagedon->Armageddon +armagedons->Armageddons +armageedon->Armageddon +armagideon->Armageddon armamant->armament +armchar->armchair +armchars->armchairs +armegaddon->Armageddon +armenain->Armenian +armenains->Armenians +armenina->Armenian, Armenia, +armeninas->Armenians armistace->armistice armistis->armistice armistises->armistices @@ -5724,19 +6579,28 @@ armonic->harmonic armorin->armoring, armor in, armorment->armament armorments->armaments +armpitt->armpit +armpitts->armpits +armstorng->Armstrong +armstrog->Armstrong arn't->aren't arne't->aren't aroara->aurora aroaras->auroras arogant->arrogant arogent->arrogant +arond->around aronud->around aroud->around aroudn->around arouind->around +aroun->around arounf->around aroung->around arount->around +arpanoid->paranoid +arpatheid->apartheid +arpeture->aperture arquitect->architect arquitects->architects arquitectural->architectural @@ -5797,6 +6661,7 @@ arrangemenet->arrangement arrangemenets->arrangements arrangent->arrangement arrangents->arrangements +arrangerad->arranged arrangin->arranging arrangmeent->arrangement arrangmeents->arrangements @@ -5834,6 +6699,9 @@ arrengement->arrangement arrengements->arrangements arrenges->arranges arrenging->arranging +arresst->arrests, arrest, +arrestes->arrests +arrestos->arrests arrey->array arreys->arrays arrgue->argue @@ -5842,7 +6710,11 @@ arrgues->argues arrguing->arguing arrgument->argument arrguments->arguments -arrity->arity, parity, +arrise->arise +arrised->arose +arrises->arises +arrising->arising +arrity->arity, parity, rarity, arriveis->arrives arrivial->arrival arrivie->arrive @@ -5850,6 +6722,10 @@ arrivied->arrived arrivies->arrives arriviing->arriving arrivin->arriving +arrnage->arrange +arrnaged->arranged +arrnages->arranges +arrnaging->arranging arro->arrow arros->arrows arround->around @@ -5871,9 +6747,23 @@ arry->array, carry, arrya->array arryas->arrays arrys->arrays +arsenaal->arsenal +arsenaals->arsenals +arsneal->arsenal arsnic->arsenic artcile->article artciles->articles +artcle->article +artcles->articles +artemios->Artemis +artemius->Artemis +arthimetic->arithmetic +arthirtis->arthritis +arthorsis->arthrosis +arthrite->arthritis +arthrits->arthritis +arthrose->arthrosis +arthroses->arthrosis artic->arctic articaft->artifact articafts->artifacts @@ -5887,19 +6777,60 @@ articels->articles artices->articles articifial->artificial articifially->artificially +articluate->articulate +articluated->articulated +articluates->articulates +articluating->articulating +articualte->articulate +articualted->articulated +articualtes->articulates +articualting->articulating +articule->articulate +articuled->articulated +articules->articulates +articuling->articulating +articulted->articulated artifac->artifact artifacs->artifacts +artifacto->artifact +artifactos->artifacts artifcat->artifact artifcats->artifacts +artificail->artificial +artificailly->artificially artifical->artificial artifically->artificially +artificialy->artificially +artificiel->artificial +artificiell->artificial +artificiella->artificial +artificielly->artificially +artificiely->artificially +artifict->artifact +artificts->artifacts +artificually->artificially +artifiically->artificially artihmetic->arithmetic artilce->article artilces->articles artillary->artillery +artillerly->artillery +artilley->artillery +artisitc->artistic +artistas->artists +artistc->artistic +artmeis->Artemis +artsit->artist +artsits->artists artument->argument artuments->arguments +arugable->arguable +arugably->arguably +arugement->argument +arugements->arguments +aruging->arguing arugment->argument +arugmentative->argumentative arugments->arguments arument->argument aruments->arguments @@ -5907,9 +6838,17 @@ arund->around arvg->argv asai->Asia asain->Asian +asapragus->asparagus +asbestoast->asbestos +asbestoes->asbestos asbolute->absolute asbolutelly->absolutely asbolutely->absolutely +asborb->absorb +asborbed->absorbed +asborbes->absorbs +asborbing->absorbing +asborbs->absorbs asbtract->abstract asbtracted->abstracted asbtracter->abstracter @@ -5921,10 +6860,21 @@ asbtractness->abstractness asbtractor->abstractor asbtractors->abstractors asbtracts->abstracts +asburdity->absurdity +asburdly->absurdly ascconciated->associated asceding->ascending +ascendend->ascended ascendin->ascending, ascend in, ascic->ASCII, aspic, ascetic, +ascned->ascend +ascneded->ascended +ascneder->ascender +ascneders->ascenders +ascneding->ascending +ascneds->ascends +ascnesion->ascension +ascnesions->ascensions ascpect->aspect ascpects->aspects ascript->script, a script, @@ -5961,9 +6911,15 @@ aserts->asserts asess->assess asessment->assessment asessments->assessments +asethetic->aesthetic +asethetically->aesthetically +asethetics->aesthetics asetic->ascetic +aseuxal->asexual +asexaul->asexual asfar->as far asgolute->absolute +ashpalt->asphalt asign->assign asigned->assigned asignee->assignee @@ -5977,6 +6933,8 @@ asignor->assignor asignors->assignors asigns->assigns asii->ascii +asiprin->aspirin +asiprins->aspirins asisst->assist asisstance->assistance asisstant->assistant @@ -5993,8 +6951,11 @@ asisting->assisting asists->assists aske->ask askes->asks +askign->asking askin->asking, ask in, akin, skin, a skin, +askreddt->AskReddit aslo->also +asnd->and asnwer->answer asnwered->answered asnwerer->answerer @@ -6016,10 +6977,25 @@ asociations->associations asociative->associative asolute->absolute asorbed->absorbed +aspahlt->asphalt aspected->expected +aspectos->aspects +asperge->asparagus, asperger, +aspergerer->asperger +aspergerers->aspergers, Asperger's, +asperges->asparagus, aspergers, Asperger's, aspestus->asbestos asphaltin->asphalting, asphalt in, +asphlat->asphalt asphyxation->asphyxiation +aspiraton->aspiration +aspiratons->aspirations +aspriation->aspiration +aspriations->aspirations +aspriin->aspirin +aspriins->aspirins +assagne->Assange +assamble->assemble assasin->assassin assasinate->assassinate assasinated->assassinated @@ -6028,7 +7004,23 @@ assasination->assassination assasinations->assassinations assasined->assassinated assasins->assassins +assassian->assassin +assassians->assassins +assassiante->assassinate +assassinare->assassinate +assassinas->assassins +assassinatd->assassinated +assassinatin->assassination +assassinato->assassination +assassinats->assassinates, assassins, +assassine->assassin, assassinate, +assassines->assassins, assassinates, +assassinos->assassins assassintation->assassination +assassinted->assassinated +assasssin->assassin +assasssins->assassins +assaultes->assaults asscciate->associate asscciated->associated asscciates->associates @@ -6068,12 +7060,21 @@ assembe->assemble assembed->assembled assembeld->assembled assember->assembler +assemblare->assemble +assembleing->assembling +assembley->assembly +assemblie->assemble, assembly, assemblin->assembling +assemblying->assembling assemblys->assemblies assemby->assembly +assement->assessment +assements->assessments +assemlies->assemblies assemly->assembly assemnly->assembly assemple->assemble +assempling->assembling assending->ascending asser->assert assered->asserted diff --git a/codespell_lib/data/dictionary_code.txt b/codespell_lib/data/dictionary_code.txt index b0a6e621fe..09b1a7bff1 100644 --- a/codespell_lib/data/dictionary_code.txt +++ b/codespell_lib/data/dictionary_code.txt @@ -1,9 +1,13 @@ agrv->argv alacritty->alacrity alloced->allocated +alst->last amin->main +ands->and, ants, Andes, +aout->about, out, apoint->appoint arange->arrange, a range, +aso->also, ado, ago, assertin->asserting, assert in, assertion, atend->attend atending->attending diff --git a/codespell_lib/data/dictionary_rare.txt b/codespell_lib/data/dictionary_rare.txt index 8d416866b7..243ad72e67 100644 --- a/codespell_lib/data/dictionary_rare.txt +++ b/codespell_lib/data/dictionary_rare.txt @@ -9,6 +9,7 @@ amination->animation, lamination, aminations->animations, laminations, aminator->animator, laminator, aminators->animators, laminators, +anc->and ans->and arithmetics->arithmetic attache->attaché, attached, attach, From 73e3e28afd96b114961f26183739fa2dd71eb436 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 20 Jun 2024 23:28:07 +0200 Subject: [PATCH 033/155] Add variations for words starting with `non-` --- codespell_lib/data/dictionary.txt | 197 +++++++++++++++++++++++++++++- 1 file changed, 196 insertions(+), 1 deletion(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 39495223db..57e6d0f554 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -39661,27 +39661,127 @@ nomralizes->normalizes nomralizing->normalizing nomrally->normally nomrals->normals +non-acii->non-ASCII +non-acsii->non-ASCII non-alphanumunder->non-alphanumeric -non-asii->non-ascii +non-asigned->non-assigned +non-asii->non-ASCII +non-asscii->non-ASCII +non-assgined->non-assigned non-assiged->non-assigned +non-assigend->non-assigned +non-assighed->non-assigned +non-assignend->non-assigned +non-assignted->non-assigned +non-assihned->non-assigned +non-assined->non-assigned +non-assinged->non-assigned +non-assingled->non-assigned +non-assingned->non-assigned +non-asssigned->non-assigned +non-blcoking->non-blocking non-blockin->non-blocking +non-blokcing->non-blocking non-bloking->non-blocking +non-comleted->non-completed +non-comliant->non-compliant +non-commpleted->non-completed +non-commpliant->non-compliant +non-comnpleted->non-completed +non-compeleted->non-completed +non-compelted->non-completed +non-compiant->non-compliant +non-compilant->non-compliant +non-compiliant->non-compliant +non-complated->non-completed +non-compleated->non-completed +non-compleetd->non-completed non-compleeted->non-completed non-complient->non-compliant +non-complted->non-completed +non-coninuous->non-continuous +non-conpleted->non-completed +non-contineous->non-continuous +non-continious->non-continuous +non-continouos->non-continuous +non-continous->non-continuous +non-continueous->non-continuous non-continuos->non-continuous +non-continutous->non-continuous +non-contious->non-continuous +non-contiuous->non-continuous +non-copleted->non-completed non-corelated->non-correlated +non-corellated->non-correlated +non-correlatd->non-correlated +non-corrolated->non-correlated +non-countinuous->non-continuous +non-escluded->non-excluded +non-excliuded->non-excluded +non-excludled->non-excluded +non-exisitent->non-existent non-existant->non-existent +non-exlcuded->non-excluded non-exluded->non-excluded +non-exsistent->non-existent +non-idented->non-indented +non-imediate->non-immediate +non-imidiate->non-immediate +non-immadiate->non-immediate +non-immeadiate->non-immediate +non-immedaite->non-immediate +non-immedate->non-immediate +non-immedeate->non-immediate +non-immediante->non-immediate +non-immediat->non-immediate +non-immediet->non-immediate +non-immeditate->non-immediate +non-immeidate->non-immediate +non-immideate->non-immediate +non-immidiate->non-immediate +non-immmediate->non-immediate non-indentended->non-indented non-inmediate->non-immediate non-inreractive->non-interactive +non-insatnt->non-instant non-instnat->non-instant +non-instnt->non-instant +non-inteactive->non-interactive +non-inteactively->non-interactively +non-interacive->non-interactive +non-interacively->non-interactively +non-interacteve->non-interactive +non-interactevely->non-interactively +non-interactiv->non-interactive non-interactivly->non-interactively +non-interactuable->non-interactive +non-interaktive->non-interactive +non-interaktively->non-interactively +non-interaktivly->non-interactively +non-intercative->non-interactive +non-intercatively->non-interactively +non-interractive->non-interactive +non-interractively->non-interactively +non-maesure->non-measure +non-meaasure->non-measure +non-meassure->non-measure +non-measue->non-measure +non-meaure->non-measure non-meausure->non-measure non-mergable->non-mergeable +non-messure->non-measure +non-mesure->non-measure +non-nagative->non-negative +non-neagtive->non-negative +non-negaive->non-negative +non-negarive->non-negative non-negatiotiable->non-negotiable non-negatiotiated->non-negotiated non-negativ->non-negative +non-negatve->non-negative +non-negitiable->non-negotiable +non-negitiated->non-negotiated +non-negitive->non-negative non-negoable->non-negotiable non-negoated->non-negotiated non-negoatiable->non-negotiable @@ -39719,24 +39819,112 @@ non-negotionated->non-negotiated non-negotiotable->non-negotiable non-negotiotated->non-negotiated non-negotiote->non-negotiated +non-negotioted->non-negotiated non-negotitable->non-negotiable non-negotitaed->non-negotiated non-negotitated->non-negotiated non-negotited->non-negotiated non-negoziable->non-negotiable non-negoziated->non-negotiated +non-negtative->non-negative +non-negtive->non-negative +non-neigboring->non-neighboring +non-neighbaring->non-neighboring +non-neighbboring->non-neighboring +non-neighbeing->non-neighboring +non-neighberhing->non-neighboring +non-neighberhooding->non-neighboring +non-neighbering->non-neighboring +non-neighbhoring->non-neighboring +non-neighboing->non-neighboring +non-neighbooring->non-neighboring +non-neighborhing->non-neighboring +non-neighborhooding->non-neighboring non-neighborin->non-neighboring +non-neighburing->non-neighboring +non-neighobring->non-neighboring +non-neighoring->non-neighboring +non-neighroring->non-neighboring +non-neightboring->non-neighboring +non-neightobring->non-neighboring +non-nighboring->non-neighboring +non-perisistent->non-persistent +non-peristent->non-persistent +non-persisitent->non-persistent non-persistant->non-persistent +non-persisten->non-persistent +non-persitent->non-persistent +non-prersistent->non-persistent +non-presistant->non-persistent +non-presistent->non-persistent +non-previleged->non-privileged +non-priveledged->non-privileged +non-priveleged->non-privileged +non-priveliged->non-privileged +non-privilaged->non-privileged +non-priviledged->non-privileged +non-privilged->non-privileged +non-privilidged->non-privileged non-priviliged->non-privileged +non-privledged->non-privileged +non-privleged->non-privileged +non-provileged->non-privileged +non-prvileged->non-privileged non-referenced-counted->non-reference-counted non-replacable->non-replaceable non-replacalbe->non-replaceable +non-repoducible->non-reproducible +non-reprociblbe->non-reproducible +non-reprocible->non-reproducible +non-reprodicible->non-reproducible non-reproducable->non-reproducible +non-reproducble->non-reproducible +non-reprucible->non-reproducible +non-sepearable->non-separable non-seperable->non-separable +non-sueful->useless +non-tarnsparent->non-transparent +non-thansparent->non-transparent +non-tranparent->non-transparent +non-transpaernt->non-transparent +non-transparaent->non-transparent +non-transparanet->non-transparent +non-transparant->non-transparent +non-transpararent->non-transparent +non-transparnt->non-transparent +non-transparren->non-transparent +non-transparrent->non-transparent +non-transpatrent->non-transparent +non-transperant->non-transparent +non-transperent->non-transparent +non-transprent->non-transparent +non-trasnparent->non-transparent non-trasparent->non-transparent +non-ueful->useless +non-uesful->useless +non-uesfull->useless +non-usefl->useless non-useful->useless +non-usefule->useless non-usefull->useless +non-usefult->useless +non-usefulu->useless +non-usefutl->useless +non-userful->useless +non-usesfull->useless +non-usseful->useless +non-usueful->useless +non-virtal->non-virtual +non-virtaul->non-virtual +non-virtiual->non-virtual +non-virttual->non-virtual +non-virtuell->non-virtual +non-virtural->non-virtual non-virutal->non-virtual +non-virutual->non-virtual +non-vitrual->non-virtual +non-vritual->non-virtual +non-wirtual->non-virtual nonbloking->non-blocking noncombatents->noncombatants noncontigous->non-contiguous @@ -47944,6 +48132,7 @@ referenace->reference referenc->reference referencable->referenceable referencd->referenced, reference, +referenced-counted->reference-counted referencial->referential referencially->referentially referencin->referencing @@ -60360,7 +60549,13 @@ unrepetant->unrepentant unrepetent->unrepentant unreplacable->unreplaceable unreplacalbe->unreplaceable +unrepoducible->unreproducible +unreprociblbe->unreproducible +unreprocible->unreproducible +unreprodicible->unreproducible unreproducable->unreproducible +unreproducble->unreproducible +unreprucible->unreproducible unresgister->unregister unresgisterd->unregistered unresgistered->unregistered From 04c372b245762b5ea4ae2771cfa9e0f03865d8ed Mon Sep 17 00:00:00 2001 From: Jon Leech Date: Thu, 27 Jun 2024 22:46:34 -0700 Subject: [PATCH 034/155] Update "Using a config file" README entry to document behavior with '-' in value fields See https://github.com/codespell-project/codespell/issues/3474#issuecomment-2193878382 --- README.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.rst b/README.rst index 9d50a33a2c..c138dc1eef 100644 --- a/README.rst +++ b/README.rst @@ -178,6 +178,23 @@ which is read using Python's `configparser `_. For example, comments are possible using ``;`` or ``#`` as the first character. +Values in an INI file entry cannot start with a ``-`` character, so if you need to do this, +structure your entries like this: + +.. code-block:: ini + + [codespell] + dictionary = mydict,- + ignore-words = bar,-foo + +instead of these invalid entries: + +.. code-block:: ini + + [codespell] + dictionary = -,mydict + ignore-words = -foo,bar + Codespell will also check in the current directory for a ``pyproject.toml`` (or a path can be specified via ``--toml ``) file, and the ``[tool.codespell]`` entry will be used, but only if the tomli_ package From 2b9ac953359acfb066aa5a1fd0b0fbd137977771 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 14 Dec 2023 16:32:25 -0500 Subject: [PATCH 035/155] Add two choices for verision typo fix Originally detected/fixed in https://github.com/zenodo/zenodo/pull/2519 Apparently there is 13k hits on github: https://github.com/search?q=verision&type=code The other possible close match is derision, which is a legit word and is used in about of 45k hits on github: https://github.com/search?q=derision&type=code 'd' is nearby 'v', so even though unlikely, I have decided that best to have multiple choices here. --- codespell_lib/data/dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 57e6d0f554..edb1d115b5 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -61756,6 +61756,8 @@ verions->versions veriosn->version veriosns->versions verious->various +verision->version, revision, derision, +verisions->versions, revisions, verison->version verisoned->versioned verisoner->versioner From 071f1576896e16aa117475f071266cc81b7f73d2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 17:27:02 +0000 Subject: [PATCH 036/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.10 → v0.5.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.10...v0.5.0) - [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.10.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.10.0...v1.10.1) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 82f6217f10..4404241c33 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.10 + rev: v0.5.0 hooks: - id: ruff - id: ruff-format @@ -79,7 +79,7 @@ repos: hooks: - id: validate-pyproject - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.10.0 + rev: v1.10.1 hooks: - id: mypy args: ["--config-file", "pyproject.toml"] From a21307015828825722b74335f011ef03c0670487 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Tue, 2 Jul 2024 08:46:03 +0200 Subject: [PATCH 037/155] Revert ruff upgrade --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4404241c33..5e4dfa660a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.0 + rev: v0.4.10 hooks: - id: ruff - id: ruff-format From c4f575c11e74da89dcfe23fb6355de3c4a0cf6fc Mon Sep 17 00:00:00 2001 From: spaette <111918424+spaette@users.noreply.github.com> Date: Mon, 1 Jul 2024 11:56:05 -0500 Subject: [PATCH 038/155] typo --- codespell_lib/tests/test_basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codespell_lib/tests/test_basic.py b/codespell_lib/tests/test_basic.py index 98e5dd41f0..8035cf98a7 100644 --- a/codespell_lib/tests/test_basic.py +++ b/codespell_lib/tests/test_basic.py @@ -818,7 +818,7 @@ def _helper_test_case_handling_in_fixes( def test_case_handling_in_fixes( tmp_path: Path, capsys: pytest.CaptureFixture[str] ) -> None: - """Test that the case of fixes is similar to the mispelled word.""" + """Test that the case of fixes is similar to the misspelled word.""" _helper_test_case_handling_in_fixes(tmp_path, capsys, reason=False) _helper_test_case_handling_in_fixes(tmp_path, capsys, reason=True) From ac5c5056441f627efa7b897849fe72bace36aebc Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Tue, 2 Jul 2024 15:22:42 +0200 Subject: [PATCH 039/155] [pre-commit.ci] pre-commit manual update (ruff 0.5.0) (#3481) --- .pre-commit-config.yaml | 2 +- codespell_lib/tests/test_basic.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5e4dfa660a..4404241c33 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.10 + rev: v0.5.0 hooks: - id: ruff - id: ruff-format diff --git a/codespell_lib/tests/test_basic.py b/codespell_lib/tests/test_basic.py index 8035cf98a7..7a0773bcac 100644 --- a/codespell_lib/tests/test_basic.py +++ b/codespell_lib/tests/test_basic.py @@ -70,8 +70,8 @@ def run_codespell( ) -> int: """Run codespell.""" args = tuple(str(arg) for arg in args) - proc = subprocess.run( - ["codespell", "--count", *args], # noqa: S603, S607 + proc = subprocess.run( # noqa: S603 + ["codespell", "--count", *args], # noqa: S607 cwd=cwd, capture_output=True, encoding="utf-8", @@ -241,7 +241,7 @@ def test_interactivity( with mock.patch.object(sys, "argv", ("-i", "-1", fname)): with pytest.raises(SystemExit) as e: cs.main("-i", "-1", fname) - assert e.type == SystemExit + assert e.type is SystemExit assert e.value.code != 0 with FakeStdin("y\n"): assert cs.main("-i", "3", fname) == 1 @@ -1344,8 +1344,8 @@ def run_codespell_stdin( cwd: Optional[Path] = None, ) -> int: """Run codespell in stdin mode and return number of lines in output.""" - proc = subprocess.run( - ["codespell", *args, "-"], # noqa: S603, S607 + proc = subprocess.run( # noqa: S603 + ["codespell", *args, "-"], # noqa: S607 cwd=cwd, input=text, capture_output=True, From dfcfc4ac3f8331adee360030fbf468d8c0a2fafa Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Wed, 3 Jul 2024 12:49:03 +0200 Subject: [PATCH 040/155] Add trusthworth(y|iness)->trustworth(y|iness) correction. --- codespell_lib/data/dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index edb1d115b5..368c72aadc 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -59399,6 +59399,8 @@ truncting->truncating trunction->truncation truned->turned truns->turns +trusthworthiness->trustworthiness +trusthworthy->trustworthy trustworthly->trustworthy trustworthyness->trustworthiness trustworty->trustworthy From d03883df7675c61e901db84d9cb3cebad86c329c Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Thu, 4 Jul 2024 12:33:54 +0200 Subject: [PATCH 041/155] Add thrustworth(y|iness)->trustworth(y|iness). --- codespell_lib/data/dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 368c72aadc..0c90ad5fd0 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -58119,6 +58119,8 @@ thruogh->through thruoghout->throughout thruoghput->throughput thruout->throughout +thrustworthiness->trustworthiness +thrustworthy->trustworthy ths->the, this, Thse->these, this, thses->these From d4cf47fab3118bd6cb2c41e27763a6be9e81f49b Mon Sep 17 00:00:00 2001 From: Gil Forcada Codinachs Date: Fri, 5 Jul 2024 20:41:12 +0200 Subject: [PATCH 042/155] New typos (#3484) --- codespell_lib/data/dictionary.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 0c90ad5fd0..aba9390110 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -37907,6 +37907,7 @@ mmnemonic->mnemonic mnay->many mnemnonic->mnemonic moast->most, moat, +mobiel->mobile mobify->modify mobule->module, mobile, mobules->modules, mobiles, @@ -44734,6 +44735,7 @@ predomiantly->predominately preeceding->preceding preemptable->preemptible preesnt->present +preety->pretty preexistin->preexisting, preexist in, prefacin->prefacing prefectches->prefetches @@ -46712,6 +46714,7 @@ quiestionnaires->questionnaires quiestions->questions quiests->quests quikc->quick +quikly->quickly quinessential->quintessential quitely->quite, quietly, quith->quit, with, @@ -54682,6 +54685,7 @@ spilts->splits spiltting->splitting spindel->spindle spindels->spindles +spining->spinning spinlcok->spinlock spinock->spinlock splel->spell, spiel, @@ -62481,6 +62485,7 @@ wayoints->waypoints wayword->wayward wbsite->website wbsites->websites +wdith->width weahter->weather weahters->weathers weant->want, wean, From eef86433ef0a346a17f96d295474f51b0febdc89 Mon Sep 17 00:00:00 2001 From: slitvackwinkler <144961947+slitvackwinkler@users.noreply.github.com> Date: Sat, 6 Jul 2024 00:30:07 -0700 Subject: [PATCH 043/155] add enrol->enroll to en-GB to en-US dictionary (#3485) --- codespell_lib/data/dictionary_en-GB_to_en-US.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/codespell_lib/data/dictionary_en-GB_to_en-US.txt b/codespell_lib/data/dictionary_en-GB_to_en-US.txt index 9175b3dacd..20ffa9f7df 100644 --- a/codespell_lib/data/dictionary_en-GB_to_en-US.txt +++ b/codespell_lib/data/dictionary_en-GB_to_en-US.txt @@ -144,6 +144,10 @@ endeavour->endeavor endeavoured->endeavored endeavouring->endeavoring endeavours->endeavors +enrol->enroll +enrolment->enrollment +enrolments->enrollments +enrols->enrolls equalisation->equalization equalise->equalize equalised->equalized From d2707c37704d9dbff04046babfa7aa3565592c19 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Jul 2024 17:15:53 +0000 Subject: [PATCH 044/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.5.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.0...v0.5.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4404241c33..940cae070a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.0 + rev: v0.5.1 hooks: - id: ruff - id: ruff-format From f3d85db4f187d123c255d67678a9911ef756b367 Mon Sep 17 00:00:00 2001 From: Julian Smith <83358719+julian-smith-artifex-com@users.noreply.github.com> Date: Mon, 8 Jul 2024 20:04:09 +0000 Subject: [PATCH 045/155] Add --ignore-multiline-regex option. (#3476) --- codespell_lib/_codespell.py | 62 +++++++++++++++++++++++++++++-- codespell_lib/tests/test_basic.py | 37 ++++++++++++++++++ pyproject.toml | 4 +- 3 files changed, 97 insertions(+), 6 deletions(-) diff --git a/codespell_lib/_codespell.py b/codespell_lib/_codespell.py index f5070dc2d9..0ff66c822f 100644 --- a/codespell_lib/_codespell.py +++ b/codespell_lib/_codespell.py @@ -36,6 +36,7 @@ Pattern, Sequence, Set, + TextIO, Tuple, ) @@ -201,11 +202,17 @@ def __str__(self) -> str: class FileOpener: - def __init__(self, use_chardet: bool, quiet_level: int) -> None: + def __init__( + self, + use_chardet: bool, + quiet_level: int, + ignore_multiline_regex: Optional[Pattern[str]], + ) -> None: self.use_chardet = use_chardet if use_chardet: self.init_chardet() self.quiet_level = quiet_level + self.ignore_multiline_regex = ignore_multiline_regex def init_chardet(self) -> None: try: @@ -247,7 +254,7 @@ def open_with_chardet(self, filename: str) -> Tuple[List[str], str]: ) raise else: - lines = f.readlines() + lines = self.get_lines(f) f.close() return lines, f.encoding @@ -262,7 +269,7 @@ def open_with_internal(self, filename: str) -> Tuple[List[str], str]: print(f'WARNING: Trying next encoding "{encoding}"', file=sys.stderr) with open(filename, encoding=encoding, newline="") as f: try: - lines = f.readlines() + lines = self.get_lines(f) except UnicodeDecodeError: if not self.quiet_level & QuietLevels.ENCODING: print( @@ -279,6 +286,22 @@ def open_with_internal(self, filename: str) -> Tuple[List[str], str]: return lines, encoding + def get_lines(self, f: TextIO) -> List[str]: + if self.ignore_multiline_regex: + text = f.read() + pos = 0 + text2 = "" + for m in re.finditer(self.ignore_multiline_regex, text): + text2 += text[pos : m.start()] + # Replace with blank lines so line numbers are unchanged. + text2 += "\n" * m.group().count("\n") + pos = m.end() + text2 += text[pos:] + lines = text2.split("\n") + else: + lines = f.readlines() + return lines + # -.-:-.-:-.-:-.:-.-:-.-:-.-:-.-:-.:-.-:-.-:-.-:-.-:-.:-.-:- @@ -411,6 +434,19 @@ def parse_options( 'e.g., "\\bmatch\\b". Defaults to ' "empty/disabled.", ) + parser.add_argument( + "--ignore-multiline-regex", + action="store", + type=str, + help="regular expression that is used to ignore " + "text that may span multi-line regions. " + "The regex is run with re.DOTALL. For example to " + "allow skipping of regions of Python code using " + "begin/end comments one could use: " + "--ignore-multiline-regex " + "'# codespell:ignore-begin *\\n.*# codespell:ignore-end *\\n'. " + "Defaults to empty/disabled.", + ) parser.add_argument( "-I", "--ignore-words", @@ -1115,6 +1151,20 @@ def main(*args: str) -> int: else: ignore_word_regex = None + if options.ignore_multiline_regex: + try: + ignore_multiline_regex = re.compile( + options.ignore_multiline_regex, re.DOTALL + ) + except re.error as e: + return _usage_error( + parser, + f"ERROR: invalid --ignore-multiline-regex " + f'"{options.ignore_multiline_regex}" ({e})', + ) + else: + ignore_multiline_regex = None + ignore_words, ignore_words_cased = parse_ignore_words_option( options.ignore_words_list ) @@ -1203,7 +1253,11 @@ def main(*args: str) -> int: for exclude_file in exclude_files: build_exclude_hashes(exclude_file, exclude_lines) - file_opener = FileOpener(options.hard_encoding_detection, options.quiet_level) + file_opener = FileOpener( + options.hard_encoding_detection, + options.quiet_level, + ignore_multiline_regex, + ) glob_match = GlobMatch( flatten_clean_comma_separated_arguments(options.skip) if options.skip else [] diff --git a/codespell_lib/tests/test_basic.py b/codespell_lib/tests/test_basic.py index 7a0773bcac..722259245c 100644 --- a/codespell_lib/tests/test_basic.py +++ b/codespell_lib/tests/test_basic.py @@ -942,6 +942,43 @@ def test_ignore_regex_option( assert cs.main(fname, r"--ignore-regex=\bdonn\b") == 1 +def test_ignore_multiline_regex_option( + tmp_path: Path, + capsys: pytest.CaptureFixture[str], +) -> None: + """Test ignore regex option functionality.""" + + # Invalid regex. + result = cs.main("--ignore-multiline-regex=(", std=True) + assert isinstance(result, tuple) + code, stdout, _ = result + assert code == EX_USAGE + assert "usage:" in stdout + + fname = tmp_path / "flag.txt" + fname.write_text( + """ + Please see http://example.com/abandonned for info + # codespell:ignore-begin + ''' + abandonned + abandonned + ''' + # codespell:ignore-end + abandonned + """ + ) + assert cs.main(fname) == 4 + assert ( + cs.main( + fname, + "--ignore-multiline-regex", + "codespell:ignore-begin.*codespell:ignore-end", + ) + == 2 + ) + + def test_uri_regex_option( tmp_path: Path, capsys: pytest.CaptureFixture[str], diff --git a/pyproject.toml b/pyproject.toml index 87fa3c4b2e..feeb1e186e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -169,6 +169,6 @@ max-complexity = 45 [tool.ruff.lint.pylint] allow-magic-value-types = ["bytes", "int", "str",] max-args = 13 -max-branches = 46 -max-returns = 11 +max-branches = 47 +max-returns = 12 max-statements = 119 From 7dc92c848581e495bf52f8e4f4e92904e234cef1 Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Fri, 12 Jul 2024 15:11:16 +0200 Subject: [PATCH 046/155] Add spelling correction for separately. --- codespell_lib/data/dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index aba9390110..d39ed2699b 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -52335,6 +52335,8 @@ seplicurally->sepulchrally seplicuraly->sepulchrally seplicurlly->sepulchrally seporate->separate +sepparatelly->separately +sepparately->separately sepparation->separation sepparations->separations sepperate->separate From 877873bccaed2eea6c31bea15ef6a841a49bac32 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 15 Jul 2024 17:22:27 +0000 Subject: [PATCH 047/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.1 → v0.5.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.1...v0.5.2) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 940cae070a..e049420157 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.1 + rev: v0.5.2 hooks: - id: ruff - id: ruff-format From f4140cd3be6400bb3274d6db07ae0adbb5d50a10 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 15 Jul 2024 22:34:05 +0200 Subject: [PATCH 048/155] Start testing with Python 3.13 (#3488) --- .github/workflows/codespell-private.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codespell-private.yml b/.github/workflows/codespell-private.yml index 823630950b..e312fb40b1 100644 --- a/.github/workflows/codespell-private.yml +++ b/.github/workflows/codespell-private.yml @@ -14,7 +14,7 @@ jobs: REQUIRE_ASPELL: true RUFF_OUTPUT_FORMAT: github # Make sure we're using the latest aspell dictionary - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 10 strategy: fail-fast: false @@ -25,6 +25,7 @@ jobs: - "3.10" - "3.11" - "3.12" + - "3.13" no-toml: - "" include: @@ -39,6 +40,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - run: sudo apt-get install libaspell-dev aspell-en - name: Install dependencies run: | From 51ee50b9887baa234987caa8681eadb3f80b4778 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 17:23:24 +0000 Subject: [PATCH 049/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.2 → v0.5.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.2...v0.5.4) - [github.com/pre-commit/mirrors-mypy: v1.10.1 → v1.11.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.10.1...v1.11.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e049420157..f35b574bc4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.2 + rev: v0.5.4 hooks: - id: ruff - id: ruff-format @@ -79,7 +79,7 @@ repos: hooks: - id: validate-pyproject - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.10.1 + rev: v1.11.0 hooks: - id: mypy args: ["--config-file", "pyproject.toml"] From ac8e4390d71779789100835f6f06041d4a055887 Mon Sep 17 00:00:00 2001 From: Matteo Lupi Date: Wed, 24 Jul 2024 09:11:21 +0200 Subject: [PATCH 050/155] new typo in dictionary --- codespell_lib/data/dictionary.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index d39ed2699b..4554b3f4d1 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -47651,6 +47651,7 @@ recogninse->recognise recognisin->recognising recognizeable->recognizable recognizin->recognizing +recognizion->recognition recognzied->recognized recomend->recommend recomendation->recommendation From e67a462920746219349f7a3ffce181cf0286910e Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Wed, 24 Jul 2024 14:25:47 +0200 Subject: [PATCH 051/155] Add enterpris->enterprise spelling correction. --- codespell_lib/data/dictionary.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 4554b3f4d1..3eb6ab8296 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -24348,6 +24348,7 @@ enternal->internal, external, eternal, enternally->internally, externally, eternally, enterprice->enterprise enterprices->enterprises +enterpris->enterprise entertainin->entertaining, entertain in, entery->entry enteties->entities From a28e3c74c420f73df13de46d84b8928357505245 Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Wed, 24 Jul 2024 16:33:41 +0200 Subject: [PATCH 052/155] Add spelling correction for proir and variant. --- codespell_lib/data/dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 3eb6ab8296..cbb54464bb 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -45776,6 +45776,8 @@ prohibt->prohibit prohibted->prohibited prohibting->prohibiting prohibts->prohibits +proir->prior +proirities->priorities proirity->priority projcet->project projcets->projects From 93cd13e73c2a7bc60892a1b5eb76ea163e04f535 Mon Sep 17 00:00:00 2001 From: MercuryDemo <81722899+MercuryDemo@users.noreply.github.com> Date: Tue, 30 Jan 2024 23:35:03 +0800 Subject: [PATCH 053/155] Enforce --write-changes in interactive mode Co-authored-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> --- codespell_lib/_codespell.py | 3 +++ codespell_lib/tests/test_basic.py | 2 -- pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/codespell_lib/_codespell.py b/codespell_lib/_codespell.py index 0ff66c822f..c7cc63bcfe 100644 --- a/codespell_lib/_codespell.py +++ b/codespell_lib/_codespell.py @@ -1126,6 +1126,9 @@ def main(*args: str) -> int: for ifile, cfg_file in enumerate(used_cfg_files, start=1): print(f" {ifile}: {cfg_file}") + if options.interactive > 0: + options.write_changes = True + if options.regex and options.write_changes: return _usage_error( parser, diff --git a/codespell_lib/tests/test_basic.py b/codespell_lib/tests/test_basic.py index 722259245c..74e10404e1 100644 --- a/codespell_lib/tests/test_basic.py +++ b/codespell_lib/tests/test_basic.py @@ -243,8 +243,6 @@ def test_interactivity( cs.main("-i", "-1", fname) assert e.type is SystemExit assert e.value.code != 0 - with FakeStdin("y\n"): - assert cs.main("-i", "3", fname) == 1 with FakeStdin("n\n"): result = cs.main("-w", "-i", "3", fname, std=True) assert isinstance(result, tuple) diff --git a/pyproject.toml b/pyproject.toml index feeb1e186e..1c5f6c103a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -169,6 +169,6 @@ max-complexity = 45 [tool.ruff.lint.pylint] allow-magic-value-types = ["bytes", "int", "str",] max-args = 13 -max-branches = 47 +max-branches = 48 max-returns = 12 max-statements = 119 From 8d16a900c05910af1ee2e9e1766c9713f4530e4c Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 26 Jul 2024 08:40:39 -1000 Subject: [PATCH 054/155] infastructure typo (15.6k hits on github) (#3501) Co-authored-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> --- codespell_lib/data/dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index cbb54464bb..af63884286 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -32339,6 +32339,8 @@ infalte->inflate infalted->inflated infaltes->inflates infalting->inflating +infastructure->infrastructure +infastructures->infrastructures infectuous->infectious infered->inferred inferface->interface From 6b306fa686b063e15697576f119b55d3974a1497 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Fri, 26 Jul 2024 14:52:06 -0400 Subject: [PATCH 055/155] Add several spelling corrections (#3500) Co-authored-by: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> --- codespell_lib/data/dictionary.txt | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index af63884286..31d428c95b 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -3832,6 +3832,7 @@ altitide->altitude altitute->altitude altnerately->alternately altogehter->altogether +altogher->altogether altogheter->altogether altough->although altought->although @@ -5471,6 +5472,8 @@ applicaton->application applicatons->applications applicble->applicable applicible->applicable +applictaion->application +applictaions->applications appliction->application applictions->applications applide->applied @@ -14503,7 +14506,7 @@ complets->completes complette->complete complettly->completely complety->completely -complext->complexity +complext->complexity, complex, complextion->complexion complextions->complexions compliace->compliance @@ -14709,6 +14712,8 @@ comverter->converter comverters->converters comverting->converting comverts->converts +comvolution->convolution +comvolutions->convolutions conact->contact conacted->contacted conacting->contacting @@ -19586,6 +19591,8 @@ demagogs->demagogues demaind->demand demandin->demanding, demand in, demaned->demand, demeaned, +demaond->demand +demaonds->demands demenor->demeanor demension->dimension demensional->dimensional @@ -27155,6 +27162,7 @@ extrem->extremum, extreme, extremaly->extremely extremeley->extremely extremelly->extremely +extremem->extreme extrememe->extreme extrememely->extremely extrememly->extremely @@ -36870,6 +36878,7 @@ mathods->methods matinay->matinee matirx->matrix matix->matrix +matrces->matrices matreial->material matreials->materials matresses->mattresses @@ -37448,6 +37457,7 @@ Microsof->Microsoft Microsofot->Microsoft Micrsft->Microsoft Micrsoft->Microsoft +middel->middle middlware->middleware mideval->medieval midevil->medieval @@ -37703,6 +37713,10 @@ mirorred->mirrored mirorring->mirroring mirorrs->mirrors mirors->mirrors, minors, +mirrir->mirror +mirrired->mirrored +mirriring->mirroring +mirrirs->mirrors mirro->mirror mirroed->mirrored mirrorin->mirroring, mirror in, @@ -48020,6 +48034,8 @@ reduceable->reducible reducin->reducing redudancy->redundancy redudant->redundant +redumndancy->redundancy +redumndant->redundant redunancy->redundancy redunant->redundant redundacy->redundancy @@ -55894,6 +55910,7 @@ succefull->successful, successfully, succefully->successfully succefuly->successfully succes->success +succesdsful->successful succesful->successful succesfull->successful succesfullly->successfully From 033b04290ddf3efdca74bd098daad40d68d801a4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 17:25:55 +0000 Subject: [PATCH 056/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.4 → v0.5.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.4...v0.5.5) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f35b574bc4..75b478be8d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.4 + rev: v0.5.5 hooks: - id: ruff - id: ruff-format From 823bdc3ca767a8f8ae0a4a5ee9e2269cd94ac069 Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Thu, 1 Aug 2024 11:19:49 +0200 Subject: [PATCH 057/155] Add "releaseds->released, releases," spelling correction --- codespell_lib/data/dictionary.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 31d428c95b..74900e6b77 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -48680,6 +48680,7 @@ releaing->releasing releant->relevant, relent, releas->release releasead->released +releaseds->released, releases, releaseing->releasing releasin->releasing releasse->release From 58d1aeffa29662af88f97c6badb686912b417e5d Mon Sep 17 00:00:00 2001 From: MDW Date: Sat, 3 Aug 2024 19:57:35 +0200 Subject: [PATCH 058/155] Several spelling suggestions (#3504) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- codespell_lib/data/dictionary.txt | 5 +++++ codespell_lib/data/dictionary_rare.txt | 1 + 2 files changed, 6 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 74900e6b77..b790a4bd03 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -2614,6 +2614,7 @@ agani->again aganist->against agant->agent agants->agents, against, +agein->again, ageing, aggaravate->aggravate aggaravated->aggravated aggaravates->aggravates @@ -9735,6 +9736,7 @@ boostrappers->bootstrappers boostrapping->bootstrapping boostraps->bootstraps booteek->boutique +bootime->boot time bootlaoder->bootloader bootlaoders->bootloaders bootle->bottle @@ -12999,6 +13001,7 @@ cliboard->clipboard cliboards->clipboards clibpoard->clipboard clibpoards->clipboards +clicable->clickable clickin->clicking, click in, cliens->clients cliensite->client-side @@ -24693,6 +24696,7 @@ equivalancy->equivalency equivalant->equivalent equivalantly->equivalently equivalants->equivalents +equivalen->equivalent equivalenet->equivalent, equivalents, equivalentsly->equivalently, equivalency, equivallent->equivalent @@ -32264,6 +32268,7 @@ indivudual->individual indivudually->individually indivuduals->individuals indizies->indices +indoro->indoor indpendent->independent indpendently->independently indrect->indirect diff --git a/codespell_lib/data/dictionary_rare.txt b/codespell_lib/data/dictionary_rare.txt index 243ad72e67..1273456105 100644 --- a/codespell_lib/data/dictionary_rare.txt +++ b/codespell_lib/data/dictionary_rare.txt @@ -239,6 +239,7 @@ regraded->regarded regrading->regarding remainer->remainder remainers->remainders +repot->report, repost, retuned->returned retying->retrying revered->reversed From f0911301605878c5f97552d0f53c80463386ae0c Mon Sep 17 00:00:00 2001 From: luzpaz Date: Sun, 4 Aug 2024 09:22:54 -0400 Subject: [PATCH 059/155] Add favilitate->facilitate and its variations (#3505) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- codespell_lib/data/dictionary.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index b790a4bd03..011720e512 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -27439,6 +27439,13 @@ fauture->feature fautured->featured fautures->features fauturing->featuring +favilitate->facilitate +favilitated->facilitated +favilitates->facilitates +favilitating->facilitating +favilitation->facilitation +favilitator->facilitator +favilitators->facilitators favorin->favoring, favor in, favoutrable->favourable favritt->favorite From 3b793f2ca9805b574f22a36300667b4ba233cbd3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 17:32:58 +0000 Subject: [PATCH 060/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.5 → v0.5.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.5...v0.5.6) - [github.com/pre-commit/mirrors-mypy: v1.11.0 → v1.11.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.0...v1.11.1) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 75b478be8d..69f5160003 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.5 + rev: v0.5.6 hooks: - id: ruff - id: ruff-format @@ -79,7 +79,7 @@ repos: hooks: - id: validate-pyproject - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.0 + rev: v1.11.1 hooks: - id: mypy args: ["--config-file", "pyproject.toml"] From 754ff923b3050824c454a3f8d4d68262f695c511 Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Wed, 7 Aug 2024 11:37:07 +0200 Subject: [PATCH 061/155] Add seemd -> seemed This typo seemed to appear in several projects: https://grep.app/search?q=seemd&words=true --- codespell_lib/data/dictionary.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 011720e512..4ffb77d2d7 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -51869,6 +51869,7 @@ seeging->sieging seein->seeing, see in, seen, stein, seelect->select seelected->selected +seemd->seemed seemes->seems seemless->seamless seemlessly->seamlessly From c6c85a81256b69ba271d1d5a0ce6fee54b42ddab Mon Sep 17 00:00:00 2001 From: Tyler White <50381805+IndexSeek@users.noreply.github.com> Date: Thu, 8 Aug 2024 12:48:04 -0400 Subject: [PATCH 062/155] feat: add typo spelling for capabilities (#3507) --- codespell_lib/data/dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 4ffb77d2d7..18ca5e27d1 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -10976,8 +10976,10 @@ capabilitiy->capability capabillities->capabilities capabillity->capability capabilties->capabilities +capabiltiies->capabilities capabiltities->capabilities capabiltity->capability +capabiltiy->capability capabilty->capability capabitilies->capabilities capabitily->capability From eb84ac9f8f57f84fb049cb0dc31db7c5fba49e3f Mon Sep 17 00:00:00 2001 From: Matteo Lupi Date: Fri, 9 Aug 2024 11:06:27 +0200 Subject: [PATCH 063/155] new typo in dict --- codespell_lib/data/dictionary.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 18ca5e27d1..cfd9bbc98a 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -24380,6 +24380,7 @@ enthusiatically->enthusiastically entierly->entirely entired->entered, entire, entireity->entirety +entirerly->entirely entires->entries entirey->entirely entirity->entirety From 8f116a5d99e54552290019ac478bf7fee5fc7d1f Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Fri, 9 Aug 2024 16:06:30 +0200 Subject: [PATCH 064/155] Add stuty -> study and variations It seems common to write "study" with a T instead of D: `stuty` appears in https://github.com/boschresearch/cx-testdata-2-edc/blob/e06311fea52ceb8263351c169b4bf4eda2acc742/dependencies.py#L45 `stutying` appears in https://github.com/lukas-brn/lukas-brn/blob/9ff9ef645dcc9b820d027917cfb1b0597094dae6/README.md?plain=1#L33 `stuties` appears in https://github.com/sanket293/shiv-pooja-angular-/blob/a22010662385646650a182a9eb4af571a597a3d5/todo.txt#L18 --- codespell_lib/data/dictionary.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index cfd9bbc98a..964c8622de 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -55548,7 +55548,11 @@ stuructured->structured stuructures->structures sturucturing->structuring stutdown->shutdown +stutied->studied +stuties->studies stutus->status +stuty->study +stutying->studying styed->stayed, styled, styhe->style styile->style From a2de5805e3ce3852189d62779dcf747c3f92ebbc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Aug 2024 17:20:32 +0000 Subject: [PATCH 065/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.6 → v0.5.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.6...v0.5.7) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 69f5160003..0e4d074845 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.6 + rev: v0.5.7 hooks: - id: ruff - id: ruff-format From a47d6868c065e530982a91caf8ed4c4a806a1310 Mon Sep 17 00:00:00 2001 From: Clay Dugo Date: Fri, 16 Aug 2024 17:08:57 -0400 Subject: [PATCH 066/155] readibly->readably --- codespell_lib/data/dictionary.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 964c8622de..d14c399b59 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -47223,6 +47223,7 @@ reademe->README readiable->readable readibility->readability readible->readable +readibly->readably readig->reading readigs->readings readin->reading, read in, From f0695997de58d3b9c790a940cbb94e14640bdc97 Mon Sep 17 00:00:00 2001 From: Runtemund <102952298+Runtemund@users.noreply.github.com> Date: Sun, 18 Aug 2024 16:39:04 +0200 Subject: [PATCH 067/155] Add clapse->collapse to dictionary.txt (#3513) --- codespell_lib/data/dictionary.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index d14c399b59..0a302a9ee5 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -12841,6 +12841,10 @@ clame->claim clammer->clamber, clamor, clanup->cleanup clanups->cleanups +clapse->collapse, clasp, claps, lapse, +clapsed->collapsed +clapses->collapses +clapsing->collapsing claravoyant->clairvoyant claravoyantes->clairvoyants claravoyants->clairvoyants From f8e1b5f5b95c4f0ad6f4e74eec1ab5bcbff0f03a Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Sun, 18 Aug 2024 18:50:41 +0200 Subject: [PATCH 068/155] fix(rare): remove loath->loathe, as loath is as common as loathe resolves #3522 --- codespell_lib/data/dictionary_rare.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/codespell_lib/data/dictionary_rare.txt b/codespell_lib/data/dictionary_rare.txt index 1273456105..4af779e7dc 100644 --- a/codespell_lib/data/dictionary_rare.txt +++ b/codespell_lib/data/dictionary_rare.txt @@ -159,7 +159,6 @@ lien->line liens->lines lightening->lightning, lighting, loafing->loading -loath->loathe lod->load, loud, lode, loner->longer loos->loose, lose, From b8619017a5d15166610fd369ecbcb914c3eb65dc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 17:21:27 +0000 Subject: [PATCH 069/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.7 → v0.6.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.7...v0.6.1) - [github.com/abravalheri/validate-pyproject: v0.18 → v0.19](https://github.com/abravalheri/validate-pyproject/compare/v0.18...v0.19) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0e4d074845..11c8043d0a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.7 + rev: v0.6.1 hooks: - id: ruff - id: ruff-format @@ -75,7 +75,7 @@ repos: additional_dependencies: - tomli - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.18 + rev: v0.19 hooks: - id: validate-pyproject - repo: https://github.com/pre-commit/mirrors-mypy From bc23d21df4198c2da80c84462b5d90b9a6f0fe92 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 26 Aug 2024 17:27:13 +0000 Subject: [PATCH 070/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.1 → v0.6.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.1...v0.6.2) - [github.com/pre-commit/mirrors-mypy: v1.11.1 → v1.11.2](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.1...v1.11.2) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 11c8043d0a..6e006dafb7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.1 + rev: v0.6.2 hooks: - id: ruff - id: ruff-format @@ -79,7 +79,7 @@ repos: hooks: - id: validate-pyproject - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.1 + rev: v1.11.2 hooks: - id: mypy args: ["--config-file", "pyproject.toml"] From 5de7c6604dd3948f6bf4f7637b1d7c3f64b37148 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Mon, 26 Aug 2024 16:18:58 +0000 Subject: [PATCH 071/155] Add variations of 'symetriy' typo --- codespell_lib/data/dictionary.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 0a302a9ee5..1e68cac1fa 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -7536,6 +7536,7 @@ assurred->assured assymetric->asymmetric assymetrical->asymmetrical assymetries->asymmetries +assymetriy->asymmetry assymetry->asymmetry assymmetric->asymmetric assymmetrical->asymmetrical @@ -7608,6 +7609,7 @@ asymetrical->asymmetrical asymetrically->asymmetrically asymetricaly->asymmetrically asymetries->asymmetries +asymetriy->asymmetry asymetry->asymmetry asymmeric->asymmetric asymmerical->asymmetrical @@ -56846,6 +56848,7 @@ symetri->symmetry symetric->symmetric symetrical->symmetrical symetrically->symmetrically +symetriy->symmetry symetry->symmetry symettric->symmetric symmeterized->symmetrized From d66030df162bc70a680f9bea7441391473572903 Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Tue, 13 Aug 2024 17:00:39 +0200 Subject: [PATCH 072/155] Add distriute->distribute (and variations) Co-authored-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> --- codespell_lib/data/dictionary.txt | 27 ++++++++++++++++++++++++++ codespell_lib/data/dictionary_rare.txt | 1 + 2 files changed, 28 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 1e68cac1fa..06689b2002 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -22325,12 +22325,14 @@ distintions->distinctions distintive->distinctive distintively->distinctively distintly->distinctly, distantly, +distirbitive->distributive distirbute->distribute distirbuted->distributed distirbutes->distributes distirbuting->distributing distirbution->distribution distirbutions->distributions +distirbutive->distributive distirted->distorted distnace->distance distnaces->distances @@ -22353,9 +22355,12 @@ distrbutes->distributes distrbuting->distributing distrbution->distribution distrbutions->distributions +distrbutive->distributive distrct->district distrcts->districts distrebuted->distributed +distribative->distributive +distribitive->distributive distribiton->distribution distribitons->distributions distribtion->distribution @@ -22363,6 +22368,8 @@ distribtions->distributions distribtuion->distribution distribtuions->distributions distribtution->distributions +distribtutor->distributor +distribtutors->distributors distribue->distribute distribued->distributed distribues->distributes @@ -22372,17 +22379,35 @@ distribuited->distributed distribuiting->distributing distribuition->distribution distribuitng->distributing +distribuitor->distributor +distribuitors->distributors +distribuor->distributor +distribuors->distributors distribure->distribute +distributave->distributive distributer->distributor, distributed, distributes, distribute, distributers->distributors, distributes, +distributibe->distributive distributin->distributing, distribution, +distributiv->distributive +distributvie->distributive districct->district +distriute->distribute +distriuted->distributed +distriutes->distributes +distriuting->distributing +distriution->distribution +distriutions->distributions +distriutor->distributor +distriutors->distributors distrobute->distribute distrobuted->distributed distrobutes->distributes distrobuting->distributing distrobution->distribution distrobutions->distributions +distrobutor->distributor +distrobutors->distributors distrobuts->distributes Distrobxx->Distrobox distroname->distro name @@ -22395,6 +22420,7 @@ distroys->destroys distrub->disturb distrubiotion->distribution distrubite->distribute +distrubitive->distributive, disruptive, distrubte->distribute distrubted->distributed, disrupted, distrubtes->distributes @@ -22447,6 +22473,7 @@ ditribute->distribute ditributed->distributed ditribution->distribution ditributions->distributions +ditributive->distributive divde->divide divded->divided divdes->divides diff --git a/codespell_lib/data/dictionary_rare.txt b/codespell_lib/data/dictionary_rare.txt index 4af779e7dc..d9eadd8f26 100644 --- a/codespell_lib/data/dictionary_rare.txt +++ b/codespell_lib/data/dictionary_rare.txt @@ -93,6 +93,7 @@ discontentment->discontent discreet->discrete discus->discuss discuses->discusses +disturbative->distributive, disruptive, doest->does, doesn't, empress->impress empresses->impresses From 1e72592b4b5d5dbe51c138b35b0f8ffb77d0b82a Mon Sep 17 00:00:00 2001 From: MDW Date: Fri, 2 Aug 2024 23:40:24 +0200 Subject: [PATCH 073/155] Several spelling suggestions --- codespell_lib/data/dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 06689b2002..01ae988d33 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -9737,6 +9737,7 @@ boostrapper->bootstrapper boostrappers->bootstrappers boostrapping->bootstrapping boostraps->bootstraps +bootime->boottime booteek->boutique bootime->boot time bootlaoder->bootloader @@ -49595,6 +49596,7 @@ repostiories->repositories repostiory->repository repostories->repositories repostory->repository +repot->report, repost, repote->report, remote, repute, repoted->reported, reposted, reputed, repeated, repoter->reporter, repeater, remoter, From ca02dba5313d57645dcc1927901ced8069675f87 Mon Sep 17 00:00:00 2001 From: MDW Date: Fri, 2 Aug 2024 23:59:53 +0200 Subject: [PATCH 074/155] Fix order --- codespell_lib/data/dictionary.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 01ae988d33..f31b715c71 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -9737,7 +9737,6 @@ boostrapper->bootstrapper boostrappers->bootstrappers boostrapping->bootstrapping boostraps->bootstraps -bootime->boottime booteek->boutique bootime->boot time bootlaoder->bootloader From 1545bfdcb65007a18ff4951212ca79d652479c69 Mon Sep 17 00:00:00 2001 From: MDW Date: Sat, 3 Aug 2024 19:51:07 +0200 Subject: [PATCH 075/155] Move repot to 'rare' dictionnary --- codespell_lib/data/dictionary.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index f31b715c71..06689b2002 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -49595,7 +49595,6 @@ repostiories->repositories repostiory->repository repostories->repositories repostory->repository -repot->report, repost, repote->report, remote, repute, repoted->reported, reposted, reputed, repeated, repoter->reporter, repeater, remoter, From 35ef5691b7d12147a2e292a077f731dff9516af6 Mon Sep 17 00:00:00 2001 From: MDW Date: Tue, 13 Aug 2024 12:50:01 +0200 Subject: [PATCH 076/155] Add a few spelling suggestions --- codespell_lib/data/dictionary.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 06689b2002..ab31cbbb19 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -8469,6 +8469,7 @@ autogroping->autogrouping autohorized->authorized autoincrememnt->autoincrement autoincrementive->autoincrement +aumatically->automatically automaatically->automatically automagicaly->automagically automaitc->automatic @@ -23311,6 +23312,7 @@ easly->easily easyer->easier easyest->easiest easyly->easily +eatch->each, teach, eather->either, rather, weather, feather, leather, ether, eat her, eater, eaturn->return, eaten, Saturn, eavesdroppin->eavesdropping @@ -53367,6 +53369,7 @@ simutaneous->simultaneous simutaneously->simultaneously sinagog->synagogue sinagogs->synagogues +sinal->signal sinature->signature sincerley->sincerely sincerly->sincerely @@ -63168,6 +63171,8 @@ wrappper->wrapper wrapppers->wrappers wrappping->wrapping wrapps->wraps +wrehouse->warehouse +wrehouses->warehouses wressel->wrestle wresseled->wrestled wresseler->wrestler From 075c336a3586ea7fce1d01045d5adf7551ff5b38 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 13 Aug 2024 10:56:04 +0000 Subject: [PATCH 077/155] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- codespell_lib/data/dictionary.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index ab31cbbb19..7a78ea555e 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -8057,6 +8057,7 @@ auhtorized->authorized auhtorizes->authorizes auhtorizing->authorizing auhtors->authors +aumatically->automatically aunthenticate->authenticate aunthenticated->authenticated aunthenticates->authenticates @@ -8469,7 +8470,6 @@ autogroping->autogrouping autohorized->authorized autoincrememnt->autoincrement autoincrementive->autoincrement -aumatically->automatically automaatically->automatically automagicaly->automagically automaitc->automatic From 0044acdced6603b23311a2c987416b0e9f8528cd Mon Sep 17 00:00:00 2001 From: MDW Date: Tue, 13 Aug 2024 14:40:08 +0200 Subject: [PATCH 078/155] Add suggestions Suggested by @DimitriPapadopoulos --- codespell_lib/data/dictionary.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 7a78ea555e..6a2413607c 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -8057,7 +8057,7 @@ auhtorized->authorized auhtorizes->authorizes auhtorizing->authorizing auhtors->authors -aumatically->automatically +aumatically->automatically, traumatically, aunthenticate->authenticate aunthenticated->authenticated aunthenticates->authenticates @@ -23312,7 +23312,7 @@ easly->easily easyer->easier easyest->easiest easyly->easily -eatch->each, teach, +eatch->death, each, teach, watch, eather->either, rather, weather, feather, leather, ether, eat her, eater, eaturn->return, eaten, Saturn, eavesdroppin->eavesdropping @@ -53369,7 +53369,7 @@ simutaneous->simultaneous simutaneously->simultaneously sinagog->synagogue sinagogs->synagogues -sinal->signal +sinal->signal, spinal, sinature->signature sincerley->sincerely sincerly->sincerely From b762465817d05f8466af23250092bcb4c8b3a18a Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Tue, 4 Jun 2024 10:17:52 +0200 Subject: [PATCH 079/155] Prefer -able over -eable The grammar rule is that the final silent "e" of the root verb is dropped, except for root verbs ending in "ce" and "ge". The only exceptions are: cachable->cacheable gatable->gateable The Google Ngram Viewer shows overwhelming use of cacheable and gateable in practice. --- codespell_lib/data/dictionary.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 6a2413607c..7356852709 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -36589,7 +36589,7 @@ mamory->memory mamuth->mammoth manafacturer->manufacturer manafacturers->manufacturers -managable->manageable +managable->manageable, manageably, managably->manageably managament->management manageed->managed From 7c71084c38852a49de8212f60dc463d13e623e72 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Wed, 19 Jun 2024 21:12:27 +0200 Subject: [PATCH 080/155] Typos from zstd https://github.com/facebook/zstd/pull/4068#issuecomment-2179272543 --- codespell_lib/data/dictionary.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 7356852709..fade4ee9ef 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -14399,6 +14399,10 @@ comphrehensive->comprehensive compialtion->compilation, complication, compialtions->compilations, complications, compiant->compliant +compiation->compilation +compiations->compilations +compiator->compilator +compiators->compilators compicated->complicated compications->complications compied->compiled, copied, complied, @@ -22468,6 +22472,8 @@ disutils->distutils ditance->distance ditial->digital ditinguishes->distinguishes +ditionaries->dictionaries +ditionary->dictionary dito->ditto ditorconfig->editorconfig ditribute->distribute @@ -45128,6 +45134,10 @@ pretecting->protecting pretection->protection pretects->protects pretendend->pretended +pretified->prettified +pretifies->prettifies +pretify->prettify +pretifying->prettifying pretty-printter->pretty-printer prety->pretty, prey, preveiw->preview @@ -48786,6 +48796,7 @@ reletive->relative reletively->relatively relevabt->relevant relevane->relevant +relevants->relevant releveant->relevant relevence->relevance relevent->relevant @@ -53611,10 +53622,12 @@ skillfull->skillful, skilful, skillfully, skilfully, skillfullness->skillfulness, skilfulness, skipd->skipped skipe->skip, Skype, +skipeable->skippable skiped->skipped, skyped, skiping->skipping skipp->skip, skipped, skippd->skipped +skippeable->skippable skippin->skipping skippped->skipped skippps->skips @@ -59261,6 +59274,7 @@ triggger->trigger trigggered->triggered trigggering->triggering trigggers->triggers +trigging->triggering trignametric->trigonometric trignametry->trigonometry trignometric->trigonometric From 1a047bd73e908adc1a78b0b1f1ab3de3afbcec9b Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 1 Sep 2024 08:04:37 +0300 Subject: [PATCH 081/155] New retrieve typos https://github.com/Enet4/dicom-rs/pull/557 --- codespell_lib/data/dictionary.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index fade4ee9ef..2a8cfeee09 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -50585,6 +50585,9 @@ retrieces->retrieves retriev->retrieve retrieveds->retrieved retrieveing->retrieving +retrievie->retrieve +retrievied->retrieved +retrievies->retrieves retrievin->retrieving retrivable->retrievable retrival->retrieval, retrial, From 293bec1ddb3825a3ab39a30a33618bbb390c8ff3 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 1 Sep 2024 09:34:50 +0300 Subject: [PATCH 082/155] Typos found in pandas https://github.com/pandas-dev/pandas/pull/59665 --- codespell_lib/data/dictionary.txt | 93 +++++++++++++++++++++++++- codespell_lib/data/dictionary_rare.txt | 4 ++ 2 files changed, 96 insertions(+), 1 deletion(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 2a8cfeee09..6f6608064a 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -822,6 +822,7 @@ acciedential->accidental acciednetally->accidentally accient->accident acciental->accidental +accientally->accidentally accissible->accessible acclamied->acclaimed acclerate->accelerate @@ -9238,6 +9239,8 @@ behaviros->behaviors behaviuor->behaviour behaviuoral->behavioural behaviuors->behaviours +behavivor->behavior +behavivour->behaviour behavoir->behavior behavoiral->behavioral behavoirs->behaviors @@ -9337,6 +9340,7 @@ beloning->belonging belove->below, beloved, belowe->below belown->below, belong, blown, +belows->below, bellows, belwo->below belye->belie belyed->belied @@ -20755,6 +20759,7 @@ determineing->determining determing->determining, determine, determinin->determining determinining->determining +determinint->determining, determinant, determist, determinisitic->deterministic determinisitically->deterministically deterministinc->deterministic @@ -23752,6 +23757,7 @@ elsewere->elsewhere elsewhwere->elsewhere elsiof->elseif elsof->elseif +elswhere->elsewhere emabaroged->embargoed emable->enable emabled->enabled @@ -24246,6 +24252,10 @@ enfornced->enforced enforncement->enforcement enfornces->enforces enforncing->enforcing +enforrce->enforce +enforrced->enforced +enforrces->enforces +enforrcing->enforcing engagment->engagement engeneer->engineer engeneering->engineering @@ -25488,7 +25498,11 @@ exceptin->excepting, exception, expecting, accepting, exceptins->exceptions, excepting, exceptioin->exception exceptioins->exceptions +exceptionn->exception exceptionnal->exceptional +exceptionnalism->exceptionalism +exceptionnally->exceptionally +exceptionns->exceptions exceptionss->exceptions exceptionts->exceptions excercise->exercise @@ -26502,6 +26516,8 @@ experimentatlly->experimentally experimentatly->experimentally experimentel->experimental experimentelly->experimentally +experimential->experimental, experiential, +experimentially->experimental, experientially, experimentin->experimenting, experiment in, experimentt->experiment experimentted->experimented @@ -26861,6 +26877,8 @@ explicetly->explicitly explicilt->explicit expliciltly->explicitly explicilty->explicitly +explicily->explicitly +explicing->explaining, explicating, explicitly, explicit, explicite->explicit, explicitly, explicited->explicit, explicitly, explicitelly->explicitly @@ -27215,6 +27233,8 @@ extrememe->extreme extrememely->extremely extrememly->extremely extremeophile->extremophile +extremeties->extremities +extremety->extremity, extremely, extremitys->extremities extremly->extremely extrems->extrema, extremes, @@ -30284,6 +30304,7 @@ herarchies->hierarchies herarchy->hierarchy herat->heart heree->here +herely->hereby, heresy, merely, here, heridity->heredity heroe->hero heros->heroes @@ -30595,6 +30616,8 @@ horozontally->horizontally horphan->orphan horrable->horrible horray->hooray +horrendeous->horrendous +horrendeously->horrendously horrifing->horrifying horrifyin->horrifying, horrify in, horyzontally->horizontally @@ -32010,6 +32033,9 @@ increaded->increased increades->increased, increases, increadible->incredible increading->increasing +increae->increase +increaed->increased +increaes->increases, increase, increaing->increasing increament->increment increamental->incremental @@ -32337,7 +32363,10 @@ indutrial->industrial indvidual->individual indvidually->individually indviduals->individuals +indx->index +indxed->indexed indxes->indexes +indxing->indexing ine->one, in, dine, fine, line, mine, nine, pine, sine, tine, vine, wine, inearisation->linearisation ineffciency->inefficiency @@ -32558,6 +32587,7 @@ inheritied->inherited inheritin->inheriting, inherit in, inheritted->inherited inheritting->inheriting +inherrently->inherently inherrit->inherit inherritance->inheritance inherrited->inherited @@ -34293,12 +34323,23 @@ intervall->interval intervalls->intervals interveening->intervening intervenin->intervening +intervine->intervene +intervined->intervened intervines->intervenes +intervining->intervening +interwine->intertwine +interwined->intertwined +interwines->intertwines +interwining->intertwining intesection->intersection +intesections->intersections intesity->intensity inteval->interval intevals->intervals intevene->intervene +intevened->intervened +intevenes->intervenes +intevening->intervening intger->integer intgers->integers intgral->integral @@ -35137,6 +35178,8 @@ jorunaling->journaling jorunals->journals joruney->journey joruneys->journeys +jorurnal->journal +jorurnals->journals Jospeh->Joseph jossle->jostle jounal->journal @@ -35639,7 +35682,8 @@ launher->launcher launhers->launchers launhes->launches launhing->launching, laughing, -lavae->larvae +lauout->layout +lavae->larvae, lava, lavel->level, label, laravel, laveled->leveled, labeled, laveling->leveling, labeling, @@ -36251,6 +36295,7 @@ locaizes->localizes localation->location localed->located localizin->localizing +locallly->locally localtion->location localtions->locations localy->locally @@ -36493,6 +36538,7 @@ mainling->mailing maintainance->maintenance maintaince->maintenance maintainces->maintenances +maintaine->maintain, maintained, maintainence->maintenance maintaing->maintaining maintainin->maintaining, maintain in, @@ -36663,6 +36709,7 @@ mangagers->managers mangages->manages mangaging->managing mangaing->managing +mangeled->mangled mangement->management mangementt->management manges->manages @@ -37147,6 +37194,7 @@ medevial->medieval medevil->medieval medhod->method medhods->methods +mediam->median, medial, mediad, medium, mediciney->medicine, medicinal, mediciny->medicine, medicinal, medicore->mediocre, Medicare, @@ -38543,6 +38591,10 @@ multiplicty->multiplicity multiplikation->multiplication multipling->multiplying multipllication->multiplication +multiplpied->multiplied +multiplpies->multiplies +multiplpy->multiply +multiplpying->multiplying multiplyed->multiplied multiplyer->multiplier, multiplayer, multiplyers->multipliers @@ -40138,6 +40190,7 @@ nothihg->nothing nothin->nothing nothind->nothing nothink->nothing +notibly->notably noticable->noticeable noticably->noticeably notication->notification @@ -40787,6 +40840,7 @@ offser->offset offsers->offers offsest->offsets, offset, offseted->offsetted +offsetes->offsets offseting->offsetting offsetp->offset offsett->offset @@ -42892,6 +42946,7 @@ passangers->passengers passerbys->passersby passess->passes, possess, passers, passin->passing +passinig->passing passiv->passive passord->password passords->passwords @@ -43384,6 +43439,8 @@ permisisons->permissions permissable->permissible permissble->permissible permissiosn->permissions +permissoin->permission +permissoins->permissions permisson->permission permissons->permissions permisssion->permission @@ -44634,6 +44691,11 @@ pre-congifured->pre-configured pre-defiend->pre-defined pre-defiened->pre-defined pre-empt->preempt +pre-empted->preempted +pre-empting->preempting +pre-emptive->preemptive +pre-emptively->preemptively +pre-empts->preempts pre-pend->prepend pre-pended->prepended pre-pending->prepending @@ -44999,6 +45061,10 @@ presbaterian->Presbyterian presbaterians->Presbyterians presbaterien->Presbyterian presbateriens->Presbyterians +prescibe->prescribe +prescibed->prescribed +prescibes->prescribes +prescibing->prescribing presciuos->precious presciuosly->preciously prescius->precious @@ -46454,6 +46520,7 @@ puls->pulse, plus, pumkin->pumpkin punctation->punctuation punctiation->punctuation +punctuations->punctuation, punctuation's, puncutation->punctuation pundent->pundit pundents->pundits @@ -47727,6 +47794,8 @@ recognice->recognize, recognise, recogniced->recognized, recognised, recognices->recognizes, recognises, recognicing->recognizing, recognising, +recognied->recognized, recognised, +recognies->recognizes, recognises, recogninse->recognise recognisin->recognising recognizeable->recognizable @@ -48318,6 +48387,7 @@ refinemenet->refinement refinin->refining refinmenet->refinement refinment->refinement +reflectd->reflected reflectin->reflecting, reflect in, reflection, reflet->reflect refleted->reflected @@ -49291,6 +49361,7 @@ renosance->renaissance, resonance, renoun->renown renouned->renowned, renounced, renovatin->renovating, renovation, +rentention->retention rentime->runtime rentors->renters renumberin->renumbering, renumber in, @@ -49549,6 +49620,8 @@ repoistories->repositories repoistory->repository repond->respond reponded->responded +repondent->respondent +repondents->respondents reponder->responder reponders->responders reponding->responding @@ -49671,6 +49744,8 @@ representaions->representations representaiton->representation representated->represented representating->representing +representaton->representation +representatons->representations representd->represented represente->represents, represented, representes->represents, represented, @@ -49865,6 +49940,7 @@ requiests->requests requiing->requiring, requiting, requir->require requird->required +requireds->required, requires, requireing->requiring requiremenet->requirement requiremenets->requirements @@ -50236,6 +50312,7 @@ responser->responder responsers->responders responsess->responses responsibe->responsive, responsible, +responsibel->responsible responsibile->responsible responsibilites->responsibilities responsibilties->responsibilities @@ -50513,6 +50590,7 @@ retcieved->retrieved, received, retciever->retriever, receiver, retcievers->retrievers, receivers, retcieves->retrieves, receives, +retension->retention, pretension, recension, retestin->retesting, retest in, retet->reset, retest, retetting->resetting, retesting, @@ -50816,6 +50894,10 @@ revrieved->retrieved revriever->retriever revrievers->retrievers revrieves->retrieves +revrse->reverse +revrsed->reversed +revrses->reverses +revrsing->reversing revserse->reverse revsion->revision rewiev->review @@ -51190,6 +51272,7 @@ sagital->sagittal Sagitarius->Sagittarius sailin->sailing, sail in, sais->says +salaraies->salaries saleries->salaries salery->salary salveof->slaveof @@ -52711,6 +52794,7 @@ setions->sections setis->set is, settees, setitng->setting setitngs->settings +setpember->september setquential->sequential setted->set setteing->setting @@ -53076,7 +53160,11 @@ signalin->signaling, signal in, signall->signal signallin->signalling signatue->signature +signatues->signatures signatur->signature +signaturs->signatures +signaure->signature +signaures->signatures signed-of-by->Signed-off-by signes->signs signficance->significance @@ -53371,6 +53459,7 @@ simultanaeous->simultaneous simultanaeously->simultaneously simultaneos->simultaneous simultaneosly->simultaneously +simultaneouly->simultaneously simultaneus->simultaneous simultaneusly->simultaneously simultanious->simultaneous @@ -58835,6 +58924,7 @@ transesxuals->transsexuals transferd->transferred transfered->transferred transfering->transferring +transferrable->transferable transferrd->transferred transferrin->transferring transfert->transfer, transferred, @@ -60191,6 +60281,7 @@ unessecary->unnecessary unevaluted->unevaluated unexcected->unexpected unexcectedly->unexpectedly +unexceptionnal->unexceptional unexcpected->unexpected unexcpectedly->unexpectedly unexecpted->unexpected diff --git a/codespell_lib/data/dictionary_rare.txt b/codespell_lib/data/dictionary_rare.txt index d9eadd8f26..e37abc6c77 100644 --- a/codespell_lib/data/dictionary_rare.txt +++ b/codespell_lib/data/dictionary_rare.txt @@ -198,6 +198,10 @@ patter->pattern patters->patterns pavings->paving payed->paid +permutate->permute +permutated->permuted +permutates->permutes +permutating->permuting plack->plaque placks->plaques planed->planned From a94f826e385ad5641120962f13db605ecfb5e021 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Sep 2024 17:22:11 +0000 Subject: [PATCH 083/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.2 → v0.6.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.2...v0.6.3) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6e006dafb7..2dc3f8905d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.2 + rev: v0.6.3 hooks: - id: ruff - id: ruff-format From 134c257a42413dcb390bb53e809f724b83a4e922 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Tue, 3 Sep 2024 14:06:49 +0200 Subject: [PATCH 084/155] Add a spelling correction --- codespell_lib/data/dictionary.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 6f6608064a..28475dbec2 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -36923,6 +36923,7 @@ mataphysical->metaphysical matatable->metatable matc->match matchies->matches +matchig->matching matchign->matching matchin->matching matchine->matching, machine, From ec7abff541f841c0f5a4141015db15b56889032c Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 18 Jul 2024 08:35:18 +0200 Subject: [PATCH 085/155] Move `hom` to code dictionary This word appears in mathematical code: https://en.wikipedia.org/wiki/HOM --- codespell_lib/data/dictionary.txt | 1 - codespell_lib/data/dictionary_code.txt | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 28475dbec2..31e6cfb7ce 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -30556,7 +30556,6 @@ hokay->okay holf->hold holliday->holiday hollowcost->holocaust -hom->home, whom, homapage->homepage homapages->homepages hombrew->Homebrew diff --git a/codespell_lib/data/dictionary_code.txt b/codespell_lib/data/dictionary_code.txt index 09b1a7bff1..3282312623 100644 --- a/codespell_lib/data/dictionary_code.txt +++ b/codespell_lib/data/dictionary_code.txt @@ -37,6 +37,7 @@ gadjet->gadget gadjets->gadgets gae->game, Gael, gale, hist->heist, his, +hom->home, whom, iam->I am, aim, iff->if ifset->if set From 7f20219b05f8ed7fc48d8307c53333e8632f29a7 Mon Sep 17 00:00:00 2001 From: Janosh Riebesell Date: Sun, 8 Sep 2024 17:34:25 -0400 Subject: [PATCH 086/155] add realtd->related, prediced->predicted to dictionary --- codespell_lib/data/dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 31e6cfb7ce..5f80ebef1c 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -44845,6 +44845,7 @@ predicat->predicate predicatbility->predictability predicatble->predictable predicatbly->predictably +prediced->predicted predicit->predict predicitability->predictability predicitable->predictable @@ -47403,6 +47404,7 @@ reallocaiton->reallocation reallocaitons->reallocations reallocatin->reallocating, reallocation, realsitic->realistic +realtd->related realte->relate realted->related realtes->relates From 3a47391f2ed769cf74ba20f97bdcc533d66179ad Mon Sep 17 00:00:00 2001 From: Mike Taves Date: Tue, 10 Sep 2024 01:27:55 +1200 Subject: [PATCH 087/155] Handle CTRL+C better (#3511) --- codespell_lib/__main__.py | 5 +---- codespell_lib/_codespell.py | 7 ++++++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/codespell_lib/__main__.py b/codespell_lib/__main__.py index 0a8630df52..ecc82e092b 100644 --- a/codespell_lib/__main__.py +++ b/codespell_lib/__main__.py @@ -3,7 +3,4 @@ from ._codespell import _script_main if __name__ == "__main__": - try: - sys.exit(_script_main()) - except KeyboardInterrupt: - pass + sys.exit(_script_main()) diff --git a/codespell_lib/_codespell.py b/codespell_lib/_codespell.py index c7cc63bcfe..7198e99e9e 100644 --- a/codespell_lib/_codespell.py +++ b/codespell_lib/_codespell.py @@ -1099,7 +1099,12 @@ def flatten_clean_comma_separated_arguments( def _script_main() -> int: """Wrap to main() for setuptools.""" - return main(*sys.argv[1:]) + try: + return main(*sys.argv[1:]) + except KeyboardInterrupt: + # User has typed CTRL+C + sys.stdout.write("\n") + return 130 def _usage_error(parser: argparse.ArgumentParser, message: str) -> int: From ad06514eab8b73c5e584ffe5b5947626cc387e0d Mon Sep 17 00:00:00 2001 From: luzpaz Date: Mon, 9 Sep 2024 12:06:45 -0400 Subject: [PATCH 088/155] Move crate->create to code dictionary (#3537) --- codespell_lib/data/dictionary_code.txt | 3 ++- codespell_lib/data/dictionary_rare.txt | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/codespell_lib/data/dictionary_code.txt b/codespell_lib/data/dictionary_code.txt index 3282312623..795966d402 100644 --- a/codespell_lib/data/dictionary_code.txt +++ b/codespell_lib/data/dictionary_code.txt @@ -18,7 +18,8 @@ clas->class cloneable->clonable cmo->com copyable->copiable -creat->create, crate, +crate->create +creat->create dateset->dataset datesets->datasets define'd->defined diff --git a/codespell_lib/data/dictionary_rare.txt b/codespell_lib/data/dictionary_rare.txt index e37abc6c77..965d08910a 100644 --- a/codespell_lib/data/dictionary_rare.txt +++ b/codespell_lib/data/dictionary_rare.txt @@ -69,7 +69,6 @@ covert->convert, cover, covet, coverts->converts, covers, covets, crasher->crash crashers->crashes -crate->create crated->created creche->crèche crufts->cruft From 827286931ccbb1b88bedc9156ff1489f72a16365 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Wed, 19 Jun 2024 21:12:27 +0200 Subject: [PATCH 089/155] Typos from zstd https://github.com/facebook/zstd/pull/4068#issuecomment-2179272543 --- codespell_lib/data/dictionary.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 5f80ebef1c..6543c1ad2e 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -45201,6 +45201,8 @@ pretecting->protecting pretection->protection pretects->protects pretendend->pretended +pretier->prettier +pretiest->prettiest pretified->prettified pretifies->prettifies pretify->prettify @@ -53714,6 +53716,7 @@ sketcking->sketching, skating, skilfull->skilful, skillful, skillfull->skillful, skilful, skillfully, skilfully, skillfullness->skillfulness, skilfulness, +skipable->skippable skipd->skipped skipe->skip, Skype, skipeable->skippable From 708980388199502147c498d66e5c322c8a33836b Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Sun, 8 Sep 2024 22:20:16 +0200 Subject: [PATCH 090/155] Typos found in numpy https://github.com/numpy/numpy/issues/27336 --- codespell_lib/data/dictionary.txt | 120 ++++++++++++++++++++++++- codespell_lib/data/dictionary_rare.txt | 5 ++ 2 files changed, 123 insertions(+), 2 deletions(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 6543c1ad2e..912ebf0e97 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -433,6 +433,11 @@ abstructs->abstracts, obstructs, absuer->abuser absuers->abusers absulute->absolute +absuolate->absolute +absuolately->absolutely +absuolatism->absolutism +absuolatist->absolutist +absuolatists->absolutists absurditiy->absurdity absurdley->absurdly absurdy->absurdly @@ -872,6 +877,7 @@ accomadates->accommodates accomadating->accommodating accomadation->accommodation accomadations->accommodations +accomblishable->accomplishable accomdate->accommodate accomdated->accommodated accomdates->accommodates @@ -3931,6 +3937,9 @@ ambigous->ambiguous ambiguious->ambiguous ambiguitiy->ambiguity ambiguos->ambiguous +ambiguuous->ambiguous +ambiguuously->ambiguously +ambiguuousness->ambiguousness ambitous->ambitious ambluance->ambulance ambluances->ambulances @@ -7534,6 +7543,10 @@ assupmption->assumption assuption->assumption assuptions->assumptions assurred->assured +assyemetric->asymmetric +assyemetrical->asymmetrical +assyemetrically->asymmetrically +assyemetry->asymmetry assymetric->asymmetric assymetrical->asymmetrical assymetries->asymmetries @@ -9933,7 +9946,7 @@ boxs->boxes, box, boyant->buoyant boycot->boycott bracese->braces -brach->branch +brach->beach, branch, brash, bract, brachia, brace, brached->branched, breached, braches->branches, breaches, braching->branching, breaching, @@ -13624,6 +13637,7 @@ comarisons->comparisons comatibility->compatibility comatible->compatible comback->comeback +combain->combine combaination->combination combainations->combinations combainator->combinator @@ -13636,6 +13650,7 @@ combainer->combiner combainers->combiners combaines->combines combaining->combining +combains->combines combanation->combination combanations->combinations combanator->combinator @@ -13663,6 +13678,8 @@ combiers->combiners combies->combines, zombies, combiing->combining, combing, combin->combing, comb in, combine, +combinaison->combination +combinaisons->combinations combinatation->combination combinatations->combinations combinatator->combinator @@ -13725,6 +13742,8 @@ combintaor->combinator combintaorial->combinatorial combintaorics->combinatorics combintaors->combinators +combintation->combination +combintations->combinations combusion->combustion comceptually->conceptually comdemnation->condemnation @@ -14500,6 +14519,7 @@ compleetness->completeness compleets->completes complelely->completely complelte->complete +complelx->complex complementt->complement compleness->completeness complession->compression @@ -14652,6 +14672,7 @@ compsable->composable compsite->composite comptabile->compatible comptability->compatibility, computability, +comptablity->compatibility, computability, comptibility->compatibility comptible->compatible comptuation->computation @@ -15749,6 +15770,8 @@ conquerer->conqueror conquerers->conquerors conquerin->conquering, conquer in, conqured->conquered +conraction->contraction +conractions->contractions conrete->concrete conribute->contribute conributed->contributed @@ -16094,6 +16117,7 @@ constructer->constructor constructers->constructors constructes->constructs constructin->constructing, construct in, construction, +constructings->constructing, constructions, constructiong->constructing, construction, constructr->constructor constructred->constructed @@ -16615,6 +16639,8 @@ conveniance->convenience conveniant->convenient conveniantly->conveniently conveniece->convenience +conveniene->convenience, conveniency, convene, +convenienes->conveniences, conveniencies, convenes, convenin->convening convenince->convenience conveninent->convenient @@ -18276,9 +18302,13 @@ custome->custom, customs, costume, customer, customicable->customisable, customizable, customie->customize customied->customized +customisatoin->customisation +customisatoins->customisations customisaton->customisation customisatons->customisations customisin->customising +customizatoin->customization +customizatoins->customizations customizaton->customization customizatons->customizations customizeable->customizable @@ -21863,6 +21893,10 @@ discotek->discotheque discoteque->discotheque discouranged->discouraged discourarged->discouraged +discourge->discourage +discourged->discouraged +discourges->discourages +discourging->discouraging discourrage->discourage discourraged->discouraged discove->discover @@ -23922,6 +23956,8 @@ empressive->impressive empressively->impressively emprical->empirical emprically->empirically +empricical->empirical +empricically->empirically emprisoned->imprisoned emprove->improve emproved->improved @@ -27112,6 +27148,8 @@ extensiability->extensibility extensiable->extensible extensibity->extensibility extensilbe->extensible +extensino->extension +extensinos->extensions extensiones->extensions extensiv->extensive extensivly->extensively @@ -28886,6 +28924,8 @@ functionaily->functionality functionaities->functionalities functionaity->functionality functionalies->functionalities +functionalilties->functionalities +functionalilty->functionality functionalites->functionalities functionalitis->functionalities functionallities->functionalities @@ -30323,8 +30363,9 @@ hesistation->hesitation hesistations->hesitations hesitatin->hesitating, hesitation, hestiate->hesitate +hetergeneous->heterogeneous hetrogeneous->heterogeneous -hetrogenous->heterogenous, heterogeneous, +hetrogenous->heterogeneous heuristc->heuristic heuristcs->heuristics heursitic->heuristic @@ -32031,6 +32072,7 @@ increade->increase, increased, increaded->increased increades->increased, increases, increadible->incredible +increadibly->incredibly increading->increasing increae->increase increaed->increased @@ -32056,6 +32098,8 @@ incremeantal->incremental incremeanted->incremented incremeanting->incrementing incremeants->increments +incremement->increment +incremements->increments incremenet->increment incremenetal->incremental incremenetally->incrementally @@ -32577,6 +32621,7 @@ inhereting->inheriting inherets->inherits inheritablility->inheritability inheritage->heritage, inheritance, +inheritcs->inherits inheritence->inheritance inherith->inherit inherithed->inherited @@ -33972,6 +34017,8 @@ interaxction->interaction interaxctions->interactions interaxtion->interaction interaxtions->interactions +interbal->internal +interbally->internally interbread->interbreed, interbred, intercahnge->interchange intercahnged->interchanged @@ -34588,6 +34635,8 @@ intriduce->introduce intriduced->introduced intriduction->introduction intriguin->intriguing +intrinic->intrinsic +intrinics->intrinsics intrisic->intrinsic intrisically->intrinsically intrisics->intrinsics @@ -35744,6 +35793,7 @@ leapyear->leap year leapyears->leap years learnin->learning, learn in, leary->leery +leasat->least leaset->least leasin->leasing, leas in, leasure->leisure @@ -36513,6 +36563,7 @@ maillinglist->mailing list maillinglists->mailing lists mailny->mainly mailstrum->maelstrom +maily->mainly mainain->maintain mainained->maintained mainainer->maintainer @@ -39581,6 +39632,9 @@ nessecarry->necessary nessecary->necessary nesseccarily->necessarily nesseccary->necessary +nessecerily->necessarily +nessecery->necessary +nessecity->necessity nessesarily->necessarily nessesary->necessary nessessarily->necessarily @@ -40567,7 +40621,13 @@ obsolote->obsolete obsoloted->obsoleted obsolte->obsolete obsolted->obsoleted +obsolutely->absolutely +obsolutism->absolutism +obsolutist->absolutist +obsolutists->absolutists obssessed->obsessed +obstable->obstacle +obstables->obstacles obstacal->obstacle obstancles->obstacles obstruced->obstructed @@ -41578,11 +41638,19 @@ orgamise->organise organim->organism organisaion->organisation organisaions->organisations +organisate->organise +organisated->organised +organisates->organises +organisating->organising organisin->organising organistion->organisation organistions->organisations organizaion->organization organizaions->organizations +organizate->organize +organizated->organized +organizates->organizes +organizating->organizing organizin->organizing organiztion->organization organiztions->organizations @@ -41726,6 +41794,7 @@ orriginal->original orthagnal->orthogonal orthagonal->orthogonal orthagonalize->orthogonalize +ortherwise->otherwise orthoganal->orthogonal orthoganalize->orthogonalize orthognal->orthogonal @@ -42550,6 +42619,7 @@ paramtere->parameter paramterer->parameter paramterers->parameters paramteres->parameters +paramteric->parametric paramterical->parametric, parametrically, paramterisation->parameterisation paramterise->parameterise @@ -46735,6 +46805,8 @@ quantititive->quantitative quantitity->quantity quantitiy->quantity quarantaine->quarantine +quarantee->guarantee, quarantine, +quarantees->guarantees, quarantines, quarentine->quarantine quarentined->quarantined quarentines->quarantines @@ -46871,6 +46943,8 @@ quiting->quitting quitt->quit quitted->quit quittin->quitting +quivalence->equivalence +quivalent->equivalent quizes->quizzes quizs->quizzes quizzs->quizzes @@ -48095,6 +48169,8 @@ recusrively->recursively recusrsive->recursive recustion->recursion recustions->recursions +recution->reduction, recursion, precaution, +recutions->reductions, recursions, precautions, recyclin->recycling recyclying->recycling recylcing->recycling @@ -48166,6 +48242,12 @@ redners->renders, redness, redonly->readonly reduceable->reducible reducin->reducing +reducter->reducer, redacter, +reducters->reducers, redacters, +reductible->deductible, reducible, +reductibles->deductibles +reductin->reduction +reductins->reductions redudancy->redundancy redudant->redundant redumndancy->redundancy @@ -49700,6 +49782,14 @@ reppository->repository repraesentation->representation repraesentational->representational repraesentations->representations +reprecate->deprecate +reprecated->deprecated +reprecates->deprecates +reprecating->deprecating +repreciate->depreciate +repreciated->depreciated +repreciates->depreciates +repreciating->depreciating reprecussion->repercussion reprecussions->repercussions repreesnt->represent @@ -50240,6 +50330,7 @@ resovling->resolving respawining->respawning respberries->raspberries respberry->raspberry +respecitely->respectively respecitve->respective respecitvely->respectively respecive->respective @@ -50457,6 +50548,10 @@ restrcuture->restructure restriced->restricted restrictin->restricting, restrict in, restriction, restroing->restoring +restrore->restore +restrored->restored +restrores->restores +restroring->restoring restructed->restricted, restructured, reStructedText->reStructuredText restructing->restricting, restructuring, @@ -50909,6 +51004,7 @@ rewieved->reviewed rewiever->reviewer rewieving->reviewing rewievs->reviews +rewinded->rewound, reminded, rewirin->rewiring rewirtable->rewritable rewirte->rewrite @@ -51126,7 +51222,9 @@ rountripped->roundtripped, round-tripped, round tripped, rountripping->roundtripping, round-tripping, round tripping, rountrips->roundtrips, round-trips, round trips, routet->routed, route, router, +routie->routine, route, routiens->routines +routies->routines, routes, routin->routine, routing, routins->routines rovide->provide @@ -51189,6 +51287,7 @@ runnign->running runnigng->running runnin->running runnining->running +runninng->running runnint->running runnner->runner runnners->runners @@ -51280,6 +51379,9 @@ salaraies->salaries saleries->salaries salery->salary salveof->slaveof +samilar->similar +samilarity->similarity +samilarly->similarly samle->sample, same, samled->sampled samler->sampler @@ -54022,6 +54124,7 @@ sometihng->something sometile->some tile, sometime, sometiles->some tiles, sometimes, sometim->sometime +sometimed->sometimes sometims->sometimes sometine->sometime sometines->sometimes @@ -56264,6 +56367,8 @@ suffiently->sufficiently suffisticated->sophisticated suffixin->suffixing, suffix in, suffocatin->suffocating, suffocation, +suffux->suffix +suffuxes->suffixes suficate->suffocate suficated->suffocated suficates->suffocates @@ -56572,6 +56677,10 @@ supppose->suppose suppposed->supposed suppposes->supposes suppposing->supposing +supppress->suppress +supppressed->suppressed +supppresses->suppresses +supppressing->suppressing suppres->suppress suppresed->suppressed suppreses->suppresses @@ -60160,6 +60269,7 @@ underlow->underflow underlowed->underflowed underlowing->underflowing underlows->underflows +underlyign->underlying underlyin->underlying underlyng->underlying underneeth->underneath @@ -60406,6 +60516,7 @@ unifed->unified, united, unfed, unifes->unifies, unites, unifform->uniform unifforms->uniforms +unifing->unifying unifiy->unify unifiying->unifying uniformely->uniformly @@ -60528,6 +60639,7 @@ univeristies->universities univeristy->university univerities->universities univerity->university +universell->universal universial->universal universiality->universality universirty->university @@ -61008,6 +61120,7 @@ unvailability->unavailability unvailable->unavailable unvalid->invalid unvalidate->invalidate +unvavailable->unavailable unverfified->unverified unversal->universal unversality->universality @@ -62834,6 +62947,7 @@ whick->which, whisk, wick, whack, whih->which whihc->which whihch->which +whiher->whether, whiter, whither, whiner, whinger, whike->while whilest->whilst whill->will, while, @@ -62911,6 +63025,7 @@ widhtpoint->widthpoint widhtpoints->widthpoints widnow->window, widow, widnows->windows, widows, +widthes->widths widthn->width widthout->without wief->wife @@ -63233,6 +63348,7 @@ worspace->workspace worspaces->workspaces worstation->workstation worstations->workstations +worstcase->worst-case, worst case, worstened->worsened worte->wrote worthing->worth, meriting, diff --git a/codespell_lib/data/dictionary_rare.txt b/codespell_lib/data/dictionary_rare.txt index 965d08910a..c57532fca5 100644 --- a/codespell_lib/data/dictionary_rare.txt +++ b/codespell_lib/data/dictionary_rare.txt @@ -184,6 +184,7 @@ multistory->multistorey, multi-storey, nickle->nickel noes->nose, knows, nodes, does, nome->gnome +obsolute->obsolete, absolute, ochry->ochery, ochrey, oerflow->overflow oerflowed->overflowed @@ -231,6 +232,10 @@ readding->re-adding, reading, readds->re-adds, reads, ream->stream recuse->recurse +reduct->deduct, reduce, redact, +reducted->deducted, reduced, redacted, +reducting->deducting, reducing, redacting, +reducts->deducts, reduces, redacts, refect->reflect refected->reflected refecting->reflecting From 6aa2c36a3304d760af3fea79bca862ab572c8617 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 17:24:47 +0000 Subject: [PATCH 091/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.3 → v0.6.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.3...v0.6.4) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2dc3f8905d..dac748dda2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.3 + rev: v0.6.4 hooks: - id: ruff - id: ruff-format From 408978d7e145809002c3854b60bec42e49c3517e Mon Sep 17 00:00:00 2001 From: algonell Date: Wed, 11 Sep 2024 15:29:11 +0300 Subject: [PATCH 092/155] Add cirumvent -> circumvent suggestion (#3540) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- codespell_lib/data/dictionary.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 912ebf0e97..864cf6874a 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -12772,6 +12772,11 @@ cirularly->circularly cirumflex->circumflex cirumstance->circumstance cirumstances->circumstances +cirumvent->circumvent +cirumvented->circumvented +cirumventing->circumventing +cirumvention->circumvention +cirumvents->circumvents citeria->criteria citerion->criterion civalasation->civilisation From 5556f4f872911138a956d3069302c0fc13292eb0 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Thu, 12 Sep 2024 23:16:18 +0200 Subject: [PATCH 093/155] More typos found in numpy https://github.com/numpy/numpy/pull/27376#issuecomment-2347239690 --- codespell_lib/data/dictionary.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 864cf6874a..51d9b93d09 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -21927,6 +21927,7 @@ discreminates->discriminates discrepencies->discrepancies discrepency->discrepancy discrepicies->discrepancies +discret->discrete, discreet, discribe->describe discribed->described discribes->describes @@ -27523,6 +27524,7 @@ fassinate->fascinate fastenin->fastening, fasten in, fasterner->fastener fasterners->fasteners +fastests->fastest fastner->fastener fastners->fasteners fastr->faster @@ -34161,6 +34163,10 @@ interited->inherited interiting->inheriting interits->inherits interlacin->interlacing +interlave->interlace, interleave, +interlaved->interlaced, interleaved, +interlaves->interlaces, interleaves, +interlaving->interlacing, interleaving, interleavin->interleaving interliveing->interleaving interlly->internally From 93aba3f601543ea5f9569b0df2d2791085ed11cd Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Sep 2024 17:23:09 +0000 Subject: [PATCH 094/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.4 → v0.6.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.4...v0.6.5) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dac748dda2..4e0203bbf9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.4 + rev: v0.6.5 hooks: - id: ruff - id: ruff-format From 35f3b603d311a90c3eaf328bf307d1235789d5e7 Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Tue, 17 Sep 2024 13:41:31 +0200 Subject: [PATCH 095/155] Add spelling correction for appliance and variants. --- codespell_lib/data/dictionary.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 51d9b93d09..d69bdcb96e 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -5207,6 +5207,8 @@ aplhabet->alphabet aplhabetical->alphabetical aplhabetically->alphabetically aplhabets->alphabets +apliance->appliance, alliance, +apliances->appliances, alliances, aplicabile->applicable aplicability->applicability aplicable->applicable @@ -5467,6 +5469,7 @@ applicaiton->application applicaitons->applications applicalbe->applicable applicance->appliance +applicances->appliances applicapility->applicability applicaple->applicable applicatable->applicable From 04e96818c0b43c66543b15f7df8bcda1c082fe7d Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Thu, 19 Sep 2024 21:00:13 +0200 Subject: [PATCH 096/155] Workaround for Python issue (#3546) --- codespell_lib/_codespell.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/codespell_lib/_codespell.py b/codespell_lib/_codespell.py index 7198e99e9e..8e9165ff95 100644 --- a/codespell_lib/_codespell.py +++ b/codespell_lib/_codespell.py @@ -25,7 +25,6 @@ import re import sys import textwrap -from ctypes import wintypes from typing import ( Any, Dict, @@ -40,6 +39,12 @@ Tuple, ) +if sys.platform == "win32": + from ctypes import wintypes + + ENABLE_VIRTUAL_TERMINAL_PROCESSING = 0x0004 + STD_OUTPUT_HANDLE = wintypes.HANDLE(-11) + from ._spellchecker import Misspelling, build_dict from ._text_util import fix_case @@ -138,10 +143,6 @@ EX_DATAERR = 65 EX_CONFIG = 78 -# Windows specific constants -ENABLE_VIRTUAL_TERMINAL_PROCESSING = 0x0004 -STD_OUTPUT_HANDLE = wintypes.HANDLE(-11) - # OPTIONS: # # ARGUMENTS: From 75e65f9656b5ea92d9ccc880256ad71ec7fb189c Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 23 Sep 2024 22:28:01 +0200 Subject: [PATCH 097/155] Partially undo 293bec1 / #3465 (#3548) --- codespell_lib/data/dictionary_rare.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/codespell_lib/data/dictionary_rare.txt b/codespell_lib/data/dictionary_rare.txt index c57532fca5..6abe98e3fa 100644 --- a/codespell_lib/data/dictionary_rare.txt +++ b/codespell_lib/data/dictionary_rare.txt @@ -198,10 +198,6 @@ patter->pattern patters->patterns pavings->paving payed->paid -permutate->permute -permutated->permuted -permutates->permutes -permutating->permuting plack->plaque placks->plaques planed->planned From c3c5989def487d4376a2c2658baaedc5e1cde6aa Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 17:22:54 +0000 Subject: [PATCH 098/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.5 → v0.6.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.5...v0.6.7) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4e0203bbf9..67ba8036e8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.5 + rev: v0.6.7 hooks: - id: ruff - id: ruff-format From e2f26d8de1d60675844a571601f650e660594e92 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Thu, 26 Sep 2024 19:33:07 +0200 Subject: [PATCH 099/155] =?UTF-8?q?master=20=E2=86=92=20main=20(#3555)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 4 ++-- .pre-commit-config.yaml | 2 +- README.rst | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fbdd95b05f..88048710d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,10 +6,10 @@ on: types: [published] push: branches: - - master + - main pull_request: branches: - - master + - main permissions: contents: read diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 67ba8036e8..4162b68c63 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: rev: v4.6.0 hooks: - id: no-commit-to-branch - args: [--branch, master] + args: [--branch, main] - id: check-yaml args: [--unsafe] - id: debug-statements diff --git a/README.rst b/README.rst index c138dc1eef..6c07a77422 100644 --- a/README.rst +++ b/README.rst @@ -364,13 +364,13 @@ In the scenario where the user prefers not to follow the development version of .. code-block:: sh - wget https://raw.githubusercontent.com/codespell-project/codespell/master/codespell_lib/data/dictionary.txt + wget https://raw.githubusercontent.com/codespell-project/codespell/main/codespell_lib/data/dictionary.txt codespell -D dictionary.txt The above simply downloads the latest ``dictionary.txt`` file and then by utilizing the ``-D`` flag allows the user to specify the freshly downloaded ``dictionary.txt`` as the custom dictionary instead of the default one. You can also do the same thing for the other dictionaries listed here: - https://github.com/codespell-project/codespell/tree/master/codespell_lib/data + https://github.com/codespell-project/codespell/tree/main/codespell_lib/data License ------- From b7167f38f2a47bc2db80f480bb54e3ef417ae34c Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Tue, 24 Sep 2024 17:34:50 +0200 Subject: [PATCH 100/155] Add a spelling correction --- codespell_lib/data/dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index d69bdcb96e..7566d7b236 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -33750,6 +33750,8 @@ instructer->instructor, instructed, instruct, instructers->instructors, instructs, instructin->instructing, instruct in, instruction, instructiosn->instructions +instructon->instruction +instructons->instructions instrumenet->instrument instrumenetation->instrumentation instrumenetd->instrumented From 852e50a1154baf5d1c13901d6dac1a9896f0aca5 Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Tue, 24 Sep 2024 12:28:00 +0200 Subject: [PATCH 101/155] Add spelling corrections for remote and variants. --- codespell_lib/data/dictionary.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 7566d7b236..56a8d3a775 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -49123,6 +49123,9 @@ remenissently->reminiscently remenisser->reminiscer remenisses->reminisces remenissing->reminiscing +remeote->remote +remeotely->remotely +remeotes->remotes remian->remain remiander->remainder, reminder, remianed->remained From f42c25ec03ad3502a02dee2ccdce32b29d5dd929 Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Thu, 26 Sep 2024 16:59:40 +0200 Subject: [PATCH 102/155] Add spelling correction for revert and variants. --- codespell_lib/data/dictionary.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 56a8d3a775..ae83d906d2 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -48456,9 +48456,12 @@ referrrer->referrer referrrers->referrers referrring->referring referrs->refers +refert->revert, refer, refers, +referted->reverted, referred, refereed, refertence->reference refertenced->referenced refertences->references +referting->reverting, referring, refesh->refresh refeshed->refreshed refeshes->refreshes From 7567078b8edf774d0339845d413a3178166d4099 Mon Sep 17 00:00:00 2001 From: Peter Cock Date: Fri, 27 Sep 2024 22:39:55 +0100 Subject: [PATCH 103/155] workdlow->workflow (#3556) --- codespell_lib/data/dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index ae83d906d2..91327d1167 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -63318,6 +63318,8 @@ workbnech->workbench workbneches->workbenches workboos->workbooks workd->worked, works, word, world, +workdlow->workflow +workdlows->workflows workds->works, words, worlds, worke->work, worked, works, workes->works From 31ceeedb53fbcd3b530284b5bca19c89e9f713a0 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Fri, 27 Sep 2024 22:11:42 +0200 Subject: [PATCH 104/155] More typos found in Scipy https://github.com/scipy/scipy/pull/21573 https://github.com/scipy/scipy/pull/21575 https://github.com/scipy/scipy/pull/21585 https://github.com/scipy/scipy/pull/21586 https://github.com/scipy/scipy/pull/21607 https://github.com/scipy/scipy/pull/21617 https://github.com/scipy/scipy/pull/21621 https://github.com/scipy/scipy/pull/21624 https://github.com/scipy/scipy/pull/21634 --- codespell_lib/data/dictionary.txt | 260 +++++++++++++++++++++++++++++- 1 file changed, 253 insertions(+), 7 deletions(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 91327d1167..845855c99c 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -908,8 +908,11 @@ accomodate->accommodate accomodated->accommodated accomodates->accommodates accomodating->accommodating +accomodatingly->accommodatingly accomodation->accommodation accomodations->accommodations +accomodative->accommodative +accomodativeness->accommodativeness accomondate->accommodate accomondated->accommodated accomondates->accommodates @@ -1885,6 +1888,11 @@ addicitons->addictions addictes->addicts addictin->addictions, addicting, addictis->addictions +addidition->addition +addiditional->additional +addiditionally->additionally +addiditions->additions +addiditive->additive addied->added addig->adding addiing->adding @@ -1911,6 +1919,8 @@ additiionally->additionally additiions->additions additinal->additional additinally->additionally +additioal->additional +additioally->additionally additioanal->additional additioanally->additionally additioanl->additional @@ -3637,6 +3647,7 @@ alogrithmically->algorithmically alogrithms->algorithms alomost->almost alomst->almost +alongsize->alongside aloow->allow aloowance->allowance aloowances->allowances @@ -3799,6 +3810,8 @@ alternatrs->alternators alternatve->alternative alternatvely->alternatively alternatves->alternatives +alternatvie->alternative +alternatvies->alternatives alternavte->alternative alternavtely->alternatively alternavtes->alternatives @@ -4595,6 +4608,7 @@ anlayse->analyse anlaysed->analysed anlayses->analyses anlaysing->analysing +anlaytic->analytic anlaytics->analytics anlayze->analyze anlayzed->analyzed @@ -5461,6 +5475,7 @@ appliation->application appliations->applications applicabel->applicable applicabile->applicable +applicabiltiy->applicability applicaion->application applicaions->applications applicaition->application @@ -7344,6 +7359,8 @@ assocciating->associating assocciation->association assocciations->associations assocciative->associative +associaed->associated +associaes->associates associat->associate associatate->associate associatated->associated @@ -7552,11 +7569,13 @@ assyemetrically->asymmetrically assyemetry->asymmetry assymetric->asymmetric assymetrical->asymmetrical +assymetrically->asymmetrically assymetries->asymmetries assymetriy->asymmetry assymetry->asymmetry assymmetric->asymmetric assymmetrical->asymmetrical +assymmetrically->asymmetrically assymmetries->asymmetries assymmetry->asymmetry assymptote->asymptote @@ -7633,7 +7652,20 @@ asymmerical->asymmetrical asymmerically->asymmetrically asymmeries->asymmetries asymmery->asymmetry +asymmetetric->asymmetric asymmetri->asymmetric, asymmetry, +asymmmetric->asymmetric +asymmmetrical->asymmetrical +asymmmetrically->asymmetrically +asymmmetry->asymmetry +asymptopte->asymptote +asymptoptic->asymptotic +asymptoptical->asymptotical +asymptoptically->asymptotically +asympyote->asymptote +asympyotic->asymptotic +asympyotical->asymptotical +asympyotically->asymptotically asymtomatic->asymptomatic asymtomatically->asymptomatically asynchnous->asynchronous @@ -8801,6 +8833,10 @@ axix->axis axixsymmetric->axisymmetric axpressed->expressed aymore->anymore +aymptote->asymptote +aymptotic->asymptotic +aymptotical->asymptotical +aymptotically->asymptotically aynchronous->asynchronous aynchronously->asynchronously aysnc->async @@ -10373,6 +10409,10 @@ byte-copiler->byte-compiler byteoder->byteorder, byte order, bytetream->bytestream bytetreams->bytestreams +cababilities->capabilities +cabability->capability +cabable->capable +cabably->capably cabint->cabinet cabints->cabinets cabnet->cabinet @@ -10591,6 +10631,8 @@ calculatess->calculates, calculated, calculatin->calculating, calculation, calculationg->calculating, calculation, calculationgs->calculations +calculaton->calculation +calculatons->calculations calculats->calculates calculatted->calculated calculatter->calculator @@ -13338,7 +13380,20 @@ coelesce->coalesce coercable->coercible coerceion->coercion coercin->coercing, coercion, +coersce->coerce +coersced->coerced +coersces->coerces +coerscible->coercible +coerscing->coercing +coerscion->coercion +coerscitive->coercitive +coerscive->coercive +coerscivity->coercivity +coerse->coarse, coerce, course, +coersed->coerced, coursed, co-versed, coersion->coercion, conversion, +coersitive->coercitive +coersitivity->coercitivity coexhist->coexist, co-exist, coexhistance->coexistence, co-existence, coexhisted->coexisted, co-existed, @@ -13667,6 +13722,7 @@ combanatorics->combinatorics combanators->combinators combatibility->compatibility combatible->compatible +combatting->combating combiantion->combination combiantions->combinations combiantor->combinator @@ -14230,6 +14286,7 @@ comparater->comparator comparaters->comparators comparation->comparison comparations->comparisons +comparble->comparable compareable->comparable compareing->comparing compareison->comparison @@ -14740,8 +14797,11 @@ comunist->communist comunists->communists comunities->communities comunity->community +comutability->commutability, computability, comutation->computation comutations->computations +comutative->commutative, computative, +comutativity->commutativity comute->commute, compute, comuted->commuted, computed, comuter->computer, commuter, @@ -15546,6 +15606,11 @@ congratualtion->congratulation congratualtions->congratulations congratulatin->congratulating, congratulation, congresional->congressional +congugate->conjugate +congugated->conjugated +congugates->conjugates +congugating->conjugating +congugation->conjugation conider->consider, conifer, coniderable->considerable coniderably->considerably @@ -15601,6 +15666,11 @@ conjonction->conjunction conjonctive->conjunctive conjuction->conjunction conjuctions->conjunctions +conjugage->conjugate +conjugaged->conjugated +conjugages->conjugates +conjugaging->conjugating +conjugagion->conjugation conjuncion->conjunction conjuntion->conjunction conjuntions->conjunctions @@ -16476,12 +16546,12 @@ contracter->contractor contracters->contractors contradically->contradictory contradictary->contradictory -contrain->contain, constrain, -contrained->contained, constrained, -contrainer->container, constrained, +contrain->constrain, contain, +contrained->constrained, contained, +contrainer->container contrainers->containers -contraining->containing, constraining, -contrains->contains, constrains, constraints, +contraining->constraining, containing, +contrains->constrains, contains, constraints, contraint->constraint contrainted->constrained contraints->constraints @@ -17187,7 +17257,16 @@ correesponds->corresponds correlasion->correlation correlatd->correlated correlatin->correlating, correlation, +correlelate->correlate +correlelated->correlated +correlelates->correlates +correlelating->correlating +correlelation->correlation +correlelations->correlations correllate->correlate +correllated->correlated +correllates->correlates +correllating->correlating correllation->correlation correllations->correlations correnspond->correspond @@ -19336,6 +19415,7 @@ definiatively->definitively definied->defined definiet->definite definietly->definitely +definifing->defining definifiton->definition definin->defining definine->define, definite, @@ -19695,6 +19775,8 @@ denined->denied, defined, denines->defines, denies, denining->defining denisty->density +denomimator->denominator +denomimators->denominators denominater->denominator, denominated, denominates, denominate, denominaters->denominators, denominates, denomitator->denominator @@ -19710,6 +19792,7 @@ denpendently->dependently denpendents->dependents denpending->depending denpends->depends +densitities->densities densitity->density densly->densely denstiy->density @@ -21722,6 +21805,10 @@ disalow->disallow disambigouate->disambiguate disambiguaiton->disambiguation disambiguiation->disambiguation +disance->distance +disanced->distanced +disances->distances +disancing->distancing disapait->dissipate disapaited->dissipated disapaiting->dissipating @@ -22470,6 +22557,12 @@ distroyer->destroyer distroyers->destroyers distroying->destroying distroys->destroys +distrtibute->distribute +distrtibuted->distributed +distrtibutes->distributes +distrtibuting->distributing +distrtibution->distribution +distrtibutions->distributions distrub->disturb distrubiotion->distribution distrubite->distribute @@ -25067,10 +25160,23 @@ establishs->establishes establising->establishing establsihed->established estbalishment->establishment +estiamate->estimate +estiamated->estimated +estiamates->estimates +estiamating->estimating +estiamation->estimation +estiamations->estimations +estiamative->estimative +estiamatively->estimatively +estiamator->estimator +estiamators->estimators estimage->estimate estimages->estimates +estimateor->estimator +estimateors->estimators estimater->estimator, estimated, estimates, estimate, estimaters->estimators, estimates, +estimatied->estimated estimatin->estimating, estimation, estiomator->estimator estiomators->estimators @@ -27291,6 +27397,7 @@ extrenaly->externally extrime->extreme extrimely->extremely extrimly->extremely +extrinsinc->extrinsic extrmities->extremities extrodinary->extraordinary extrordinarily->extraordinarily @@ -28495,6 +28602,12 @@ formualation->formulation formualations->formulations formuale->formulae formuals->formulas +formualte->formulate +formualted->formulated +formualtes->formulates +formualting->formulating +formualtion->formulation +formualtions->formulations formulaical->formulaic formulatin->formulating, formulation, formulayic->formulaic @@ -32161,6 +32274,7 @@ incure->incur incurruptable->incorruptible incurruptible->incorruptible incvalid->invalid +indadvertently->inadvertently indcate->indicate indcated->indicated indcates->indicates @@ -32579,6 +32693,8 @@ infrastracture->infrastructure infrastractures->infrastructures infrastrcuture->infrastructure infrastrcutures->infrastructures +infrastruction->infrastructure +infrastructions->infrastructures infrastruture->infrastructure infrastrutures->infrastructures infrastucture->infrastructure @@ -32690,6 +32806,19 @@ iniative->initiative iniatives->initiatives iniator->initiator iniators->initiators +inicial->initial, indicial, +inicialisation->initialisation +inicialisations->initialisations +inicialise->initialise +inicialised->initialised +inicialises->initialises +inicialising->initialising +inicialization->initialization +inicializations->initializations +inicialize->initialize +inicialized->initialized +inicializes->initializes +inicializing->initializing inidcate->indicate inidcated->indicated inidcates->indicates @@ -34597,6 +34726,7 @@ intitiator->initiator intitiators->initiators intity->entity intoduction->introduction +intoloerance->intolerance intorduce->introduce intorduced->introduced intorduces->introduces @@ -34652,7 +34782,11 @@ intriduced->introduced intriduction->introduction intriguin->intriguing intrinic->intrinsic +intrinically->intrinsically intrinics->intrinsics +intrinsinc->intrinsic +intrinsincally->intrinsically +intrinsincs->intrinsics intrisic->intrinsic intrisically->intrinsically intrisics->intrinsics @@ -36085,6 +36219,7 @@ ligthweight->lightweight ligthweights->lightweights liitle->little lik->like, lick, link, +likehood->likelihood likeley->likely likelly->likely likelyhood->likelihood @@ -37070,7 +37205,8 @@ mauals->manuals, mauls, maube->maybe, mauve, mavrick->maverick mawsoleum->mausoleum -maximice->maximize +maximial->maximal +maximice->maximize, maximise, maximim->maximum maximims->maximums maximimum->maximum @@ -38222,7 +38358,9 @@ modificaton->modification modificatons->modifications modifid->modified modifified->modified +modififies->modifies modifify->modify +modififying->modifying modifing->modifying modifires->modifiers modifiy->modify @@ -38597,6 +38735,7 @@ multidimenionsal->multi-dimensional multidimensinal->multidimensional multidimension->multidimensional multidimensionnal->multidimensional +multidimentional->multidimensional multidimentionnal->multidimensional multiecast->multicast multifuction->multifunction @@ -38678,6 +38817,9 @@ multithreds->multithreads multitute->multitude multivriate->multivariate multixsite->multisite +multlication->multiplication +multlications->multiplications +multlicative->multiplicative multline->multiline multliple->multiple multliples->multiples @@ -38697,6 +38839,9 @@ multpilying->multiplying multplayer->multiplayer multple->multiple multples->multiples +multplication->multiplication +multplications->multiplications +multplicative->multiplicative multplied->multiplied multplier->multiplier multpliers->multipliers @@ -39419,6 +39564,8 @@ neigbor->neighbor neigborhood->neighborhood neigboring->neighboring neigbors->neighbors +neigboud->neighbour +neigbouds->neighbours neigbour->neighbour neigbourhood->neighbourhood neigbouring->neighbouring @@ -41576,7 +41723,11 @@ optionnally->optionally optionnaly->optionally optionss->options optios->options +optisimation->optimisation +optisimations->optimisations optismied->optimised +optizimation->optimization +optizimations->optimizations optizmied->optimized optmisation->optimisation optmisations->optimisations @@ -41814,6 +41965,7 @@ ortherwise->otherwise orthoganal->orthogonal orthoganalize->orthogonalize orthognal->orthogonal +orthogonnal->orthogonal orthongonalise->orthogonalise orthongonalised->orthogonalised orthongonalises->orthogonalises @@ -41916,6 +42068,7 @@ otification->notification otifications->notifications otiginal->original otimal->optimal +otimality->optimality otimally->optimally otimisation->optimisation otimisations->optimisations @@ -43841,6 +43994,8 @@ physican->physician physicans->physicians physicion->physician physicions->physicians +physicst->physicist +physicsts->physicists physisan->physician physisans->physicians physisian->physician @@ -44299,6 +44454,7 @@ polynomal->polynomial polynomals->polynomials polynomical->polynomial polynomicals->polynomials +polyonimial->polynomial polyphonyic->polyphonic polypoygon->polypolygon polypoylgons->polypolygons @@ -47818,6 +47974,10 @@ recieving->receiving recievs->receives recipent->recipient recipents->recipients +recipercal->reciprocal +recipercality->reciprocality +recipercally->reciprocally +recipercity->reciprocity recipiant->recipient recipiants->recipients recipie->recipe @@ -48137,6 +48297,10 @@ rectanges->rectangles rectanglar->rectangular rectangluar->rectangular rectangual->rectangular, rectangle, +rectengle->rectangle +rectengles->rectangles +rectengular->rectangular +rectengularity->rectangularity rectiinear->rectilinear recude->reduce recuiting->recruiting @@ -49545,6 +49709,10 @@ repacing->replacing repackge->repackage repackged->repackaged repaitnt->repaint +repalace->replace +repalaced->replaced +repalaces->replaces +repalacing->replacing repalce->replace repalced->replaced repalcement->replacement @@ -51221,6 +51389,8 @@ rotateable->rotatable rotatin->rotating, rotation, rotatio->rotation, ratio, rotatios->rotations, ratios, +rotaton->rotation, rotator, +rotatons->rotations, rotators, rotats->rotates, rotate, rouding->rounding roughtly->roughly @@ -51569,12 +51739,20 @@ satisifies->satisfies satisify->satisfy satisifying->satisfying satistaction->satisfaction +satistfied->satisfied +satistfies->satisfies +satistfy->satisfy +satistfying->satisfying satistic->statistic, sadistic, satistical->statistical satistically->statistically, sadistically, satistics->statistics satistied->satisfied satisties->satisfies +satistified->satisfied +satistifies->satisfies +satistify->satisfy +satistifying->satisfying satisty->satisfy satistying->satisfying satisy->satisfy @@ -53360,6 +53538,7 @@ silabuses->syllabuses silencin->silencing silentely->silently silenty->silently +silentyly->silently silhouete->silhouette silhoueted->silhouetted silhouetes->silhouettes @@ -53965,6 +54144,7 @@ smoetime->sometime smoetimes->sometimes smoewhat->somewhat smoewhere->somewhere +smooghing->smoothing smoot->smooth smooter->smoother smoothign->smoothing @@ -55178,6 +55358,10 @@ stabalizers->stabilizers stabalizes->stabilizes stabalizing->stabilizing stabel->stable +stabilish->establish, stabilise, +stabilished->established, stabilised, +stabilishes->establishes, stabilises, +stabilishing->establishing, stabilising, stabilitation->stabilization stabilite->stabilize stabilited->stabilized @@ -55378,6 +55562,12 @@ statisfied->satisfied statisfies->satisfies statisfy->satisfy statisfying->satisfying +statisic->statistic +statisical->statistical +statisically->statistically +statisician->statistician +statisicians->statisticians +statisics->statistics statisitic->statistic statisitical->statistical statisitically->statistically @@ -55536,6 +55726,10 @@ straigh-forward->straightforward straighforward->straightforward straightenin->straightening, straighten in, straightfoward->straightforward +straightorward->straightforward +straightoward->straightforward, straightwards, +straightowards->straightwards +straightward->straightwards straigt->straight straigtforward->straightforward straigth->straight @@ -56090,6 +56284,8 @@ substitues->substitutes substituing->substituting substituion->substitution substituions->substitutions +substituition->substitution +substituitions->substitutions substitutin->substitution, substituting, substitutins->substitutions substiution->substitution @@ -56505,6 +56701,12 @@ summmarized->summarized summmarizes->summarizes summmarizing->summarizing summmary->summary +summmation->summation +summmations->summations +summmed->summed +summmer->summer +summmers->summers +summming->summing summur->summer summuries->summaries summurisation->summarisation @@ -56795,6 +56997,7 @@ surgestions->suggestions surgests->suggests surious->serious, spurious, curious, furious, usurious, suriously->seriously, spuriously, curiously, furiously, usuriously, +surivial->survival surley->surly, surely, suround->surround surounded->surrounded @@ -56810,6 +57013,16 @@ surpisingly->surprisingly surplanted->supplanted surport->support surported->supported +surporter->supporter +surporters->supporters +surporting->supporting +surports->supports +surpport->support +surpported->supported +surpporter->supporter +surpporters->supporters +surpporting->supporting +surpports->supports surpress->suppress surpressed->suppressed surpresses->suppresses @@ -57123,10 +57336,15 @@ symetriy->symmetry symetry->symmetry symettric->symmetric symmeterized->symmetrized +symmetetric->symmetric symmetic->symmetric symmetral->symmetric symmetri->symmetry symmetricaly->symmetrically +symmmetric->symmetric +symmmetrical->symmetrical +symmmetrically->symmetrically +symmmetry->symmetry symnol->symbol symnols->symbols symobilic->symbolic @@ -58193,6 +58411,12 @@ themselvs->themselves themslves->themselves thenes->themes thenn->then +theoeretic->theoretic +theoeretical->theoretical +theoeretically->theoretically +theoeretics->theoretics +theoeries->theories +theoery->theory theorectical->theoretical theorectically->theoretically theoreticall->theoretically @@ -58451,7 +58675,7 @@ thruout->throughout thrustworthiness->trustworthiness thrustworthy->trustworthy ths->the, this, -Thse->these, this, +thse->these, those, this, thses->these thsi->this thsnk->thank @@ -58680,6 +58904,9 @@ tollerable->tolerable tollerance->tolerance tollerances->tolerances tollerant->tolerant +toloerance->tolerance +toloerances->tolerances +toloerant->tolerant tolorance->tolerance tolorances->tolerances tolorant->tolerant @@ -59064,6 +59291,12 @@ transferrable->transferable transferrd->transferred transferrin->transferring transfert->transfer, transferred, +transfmrom->transform +transfmromation->transformation +transfmromations->transformations +transfmromed->transformed +transfmroming->transforming +transfmroms->transforms transfom->transform transfomation->transformation transfomational->transformational @@ -59453,6 +59686,17 @@ trggers->triggers trgistration->registration trhe->the trhough->through +triagle->triangle +triagular->triangular +triagularity->triangularity +triagulate->triangulate +triagulated->triangulated +triagulates->triangulates +triagulating->triangulating +triagulation->triangulation +triagulations->triangulations +triagulator->triangulator +triagulators->triangulators trialin->trialing, trial in, triallin->trialling trian->train, trial, @@ -60620,6 +60864,7 @@ uniocde->unicode unios->unions uniqe->unique uniqu->unique +uniquenes->uniqueness uniquness->uniqueness unistall->uninstall unistallation->uninstallation @@ -60726,6 +60971,7 @@ unmodifed->unmodified unmoutned->unmounted unnable->unable unnacceptable->unacceptable +unnaceptably->unacceptably unnacquired->unacquired unncessarily->unnecessarily unncessary->unnecessary From 36a68711639aad45ce2f17db1c7f3fdeaaa7c76d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 17:25:14 +0000 Subject: [PATCH 105/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.7 → v0.6.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.7...v0.6.8) - [github.com/abravalheri/validate-pyproject: v0.19 → v0.20.2](https://github.com/abravalheri/validate-pyproject/compare/v0.19...v0.20.2) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4162b68c63..06ca860e4d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.7 + rev: v0.6.8 hooks: - id: ruff - id: ruff-format @@ -75,7 +75,7 @@ repos: additional_dependencies: - tomli - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.19 + rev: v0.20.2 hooks: - id: validate-pyproject - repo: https://github.com/pre-commit/mirrors-mypy From 6ed5df16e9ddd436d6c093669e6d5e73de7c3dd1 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Wed, 2 Oct 2024 18:57:35 +0200 Subject: [PATCH 106/155] Update ruff settings (#3558) --- codespell_lib/__init__.py | 2 +- codespell_lib/tests/test_basic.py | 18 ++++----- codespell_lib/tests/test_dictionary.py | 8 ++-- pyproject.toml | 53 +++++++++++++++----------- 4 files changed, 44 insertions(+), 37 deletions(-) diff --git a/codespell_lib/__init__.py b/codespell_lib/__init__.py index c5dc784cb8..621e36d8de 100644 --- a/codespell_lib/__init__.py +++ b/codespell_lib/__init__.py @@ -1,4 +1,4 @@ from ._codespell import _script_main, main from ._version import __version__ # type: ignore[import-not-found] -__all__ = ["_script_main", "main", "__version__"] +__all__ = ["__version__", "_script_main", "main"] diff --git a/codespell_lib/tests/test_basic.py b/codespell_lib/tests/test_basic.py index 74e10404e1..69aac176f5 100644 --- a/codespell_lib/tests/test_basic.py +++ b/codespell_lib/tests/test_basic.py @@ -217,12 +217,12 @@ def test_permission_error( fname.write_text("abandonned\n") result = cs.main(fname, std=True) assert isinstance(result, tuple) - code, _, stderr = result + _, _, stderr = result assert "WARNING:" not in stderr fname.chmod(0o000) result = cs.main(fname, std=True) assert isinstance(result, tuple) - code, _, stderr = result + _, _, stderr = result assert "WARNING:" in stderr @@ -464,7 +464,7 @@ def test_inline_ignores( expected_error_count: int, ) -> None: d = str(tmpdir) - with open(op.join(d, "bad.txt"), "w") as f: + with open(op.join(d, "bad.txt"), "w", encoding="utf-8") as f: f.write(content) assert cs.main(d) == expected_error_count @@ -772,7 +772,7 @@ def _helper_test_case_handling_in_fixes( fname.write_text("early adoptor\n") result = cs.main("-D", dictionary_name, fname, std=True) assert isinstance(result, tuple) - code, stdout, _ = result + _, stdout, _ = result # all suggested fixes must be lowercase too assert "adopter, adaptor" in stdout # the reason, if any, must not be modified @@ -783,7 +783,7 @@ def _helper_test_case_handling_in_fixes( fname.write_text("Early Adoptor\n") result = cs.main("-D", dictionary_name, fname, std=True) assert isinstance(result, tuple) - code, stdout, _ = result + _, stdout, _ = result # all suggested fixes must be capitalized too assert "Adopter, Adaptor" in stdout # the reason, if any, must not be modified @@ -794,7 +794,7 @@ def _helper_test_case_handling_in_fixes( fname.write_text("EARLY ADOPTOR\n") result = cs.main("-D", dictionary_name, fname, std=True) assert isinstance(result, tuple) - code, stdout, _ = result + _, stdout, _ = result # all suggested fixes must be uppercase too assert "ADOPTER, ADAPTOR" in stdout # the reason, if any, must not be modified @@ -805,7 +805,7 @@ def _helper_test_case_handling_in_fixes( fname.write_text("EaRlY AdOpToR\n") result = cs.main("-D", dictionary_name, fname, std=True) assert isinstance(result, tuple) - code, stdout, _ = result + _, stdout, _ = result # all suggested fixes should be lowercase assert "adopter, adaptor" in stdout # the reason, if any, must not be modified @@ -1234,7 +1234,7 @@ def test_quiet_level_32( d = tmp_path / "files" d.mkdir() conf = str(tmp_path / "setup.cfg") - with open(conf, "w") as f: + with open(conf, "w", encoding="utf-8") as f: # It must contain a "codespell" section. f.write("[codespell]\n") args = ("--config", conf) @@ -1263,7 +1263,7 @@ def test_ill_formed_ini_config_file( d = tmp_path / "files" d.mkdir() conf = str(tmp_path / "setup.cfg") - with open(conf, "w") as f: + with open(conf, "w", encoding="utf-8") as f: # It should contain but lacks a section. f.write("foobar =\n") args = ("--config", conf) diff --git a/codespell_lib/tests/test_dictionary.py b/codespell_lib/tests/test_dictionary.py index 60b14826d2..85a6b86b7e 100644 --- a/codespell_lib/tests/test_dictionary.py +++ b/codespell_lib/tests/test_dictionary.py @@ -315,11 +315,11 @@ def test_dictionary_looping( reps = [r for r in reps if len(r)] this_err_dict[err] = reps # 1. check the dict against itself (diagonal) - for err in this_err_dict: + for err, reps in this_err_dict.items(): assert word_regex.fullmatch( err ), f"error {err!r} does not match default word regex '{word_regex_def}'" - for r in this_err_dict[err]: + for r in reps: assert r not in this_err_dict, ( f"error {err}: correction {r} is an error itself " f"in the same dictionary file {short_fname}" @@ -337,12 +337,12 @@ def test_dictionary_looping( # 2. check corrections in this dict against other dicts (upper) pair = (short_fname, other_fname) if pair not in allowed_dups: - for err in this_err_dict: + for err, reps in this_err_dict.items(): assert err not in other_err_dict, ( f"error {err!r} in dictionary {short_fname} " f"already exists in dictionary {other_fname}" ) - for r in this_err_dict[err]: + for r in reps: assert r not in other_err_dict, ( f"error {err}: correction {r} from dictionary {short_fname} " f"is an error itself in dictionary {other_fname}" diff --git a/pyproject.toml b/pyproject.toml index 1c5f6c103a..69d7c80d8a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -109,29 +109,6 @@ filterwarnings = ["error"] line-length = 88 [tool.ruff.lint] -ignore = [ - "ANN101", - "B904", - "PLW2901", - "RET505", - "SIM105", - "SIM115", - # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules - "W191", - "E111", - "E114", - "E117", - "D206", - "D300", - "Q000", - "Q001", - "Q002", - "Q003", - "COM812", - "COM819", - "ISC001", - "ISC002", -] select = [ "A", "ANN", @@ -157,6 +134,36 @@ select = [ "W", "YTT", ] +ignore = [ + "ANN101", + "B904", + "PLR0914", + "PLR6201", + "PLW2901", + "PT004", # deprecated + "PT005", # deprecated + "RET505", + "S404", + "SIM105", + "SIM115", + "UP027", # deprecated + "UP038", # https://github.com/astral-sh/ruff/issues/7871 + # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules + "W191", + "E111", + "E114", + "E117", + "D206", + "D300", + "Q000", + "Q001", + "Q002", + "Q003", + "COM812", + "COM819", + "ISC001", + "ISC002", +] [tool.ruff.lint.mccabe] max-complexity = 45 From 98a60acd191e657a52f2cdb7bfd8cbeb0f22ba12 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 7 Oct 2024 17:58:53 +0200 Subject: [PATCH 107/155] Improve config file documentation in README (#3495) --- README.rst | 62 +++++++++++++++++++++++++++--------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/README.rst b/README.rst index 6c07a77422..393a950df6 100644 --- a/README.rst +++ b/README.rst @@ -161,7 +161,8 @@ Using a config file Command line options can also be specified in a config file. -When running ``codespell``, it will check in the current directory for a file +When running ``codespell``, it will check in the current directory for an +`INI file `_ named ``setup.cfg`` or ``.codespellrc`` (or a file specified via ``--config``), containing an entry named ``[codespell]``. Each command line argument can be specified in this file (without the preceding dashes), for example: @@ -173,32 +174,16 @@ be specified in this file (without the preceding dashes), for example: count = quiet-level = 3 -The ``.codespellrc`` file is an `INI file `_, -which is read using Python's -`configparser `_. -For example, comments are possible using ``;`` or ``#`` as the first character. - -Values in an INI file entry cannot start with a ``-`` character, so if you need to do this, -structure your entries like this: - -.. code-block:: ini - - [codespell] - dictionary = mydict,- - ignore-words = bar,-foo - -instead of these invalid entries: - -.. code-block:: ini - - [codespell] - dictionary = -,mydict - ignore-words = -foo,bar +Python's +`configparser `_ +module defines the exact format of INI config files. For example, +comments are possible using ``;`` or ``#`` as the first character. Codespell will also check in the current directory for a ``pyproject.toml`` -(or a path can be specified via ``--toml ``) file, and the -``[tool.codespell]`` entry will be used, but only if the tomli_ package -is installed for versions of Python prior to 3.11. For example: +file (or a file specified via ``--toml``), and the ``[tool.codespell]`` +entry will be used. For versions of Python prior to 3.11, this requires +the tomli_ package. For example, here is the TOML equivalent of the +previous config file: .. code-block:: toml @@ -207,25 +192,40 @@ is installed for versions of Python prior to 3.11. For example: count = true quiet-level = 3 -These are both equivalent to running: +The above INI and TOML files are equivalent to running: .. code-block:: sh - codespell --quiet-level 3 --count --skip "*.po,*.ts,./src/3rdParty,./src/Test" + codespell --skip "*.po,*.ts,./src/3rdParty,./src/Test" --count --quiet-level 3 If several config files are present, they are read in the following order: -#. ``pyproject.toml`` (only if the ``tomli`` library is available) +#. ``pyproject.toml`` (only if the ``tomli`` library is available for Python < 3.11) #. ``setup.cfg`` #. ``.codespellrc`` #. any additional file supplied via ``--config`` If a codespell configuration is supplied in several of these files, the configuration from the most recently read file overwrites previously -specified configurations. +specified configurations. Any options specified in the command line will +*override* options from the config files. -Any options specified in the command line will *override* options from the -config files. +Values in a config file entry cannot start with a ``-`` character, so if +you need to do this, structure your entries like this: + +.. code-block:: ini + + [codespell] + dictionary = mydict,- + ignore-words = bar,-foo + +instead of these invalid entries: + +.. code-block:: ini + + [codespell] + dictionary = -,mydict + ignore-words = -foo,bar .. _tomli: https://pypi.org/project/tomli/ From a52c340fc12488a7eb760670d5cff40bb35cf9e9 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 7 Oct 2024 17:59:11 +0200 Subject: [PATCH 108/155] Support Python 3.13 (#3560) --- .github/workflows/codespell-private.yml | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codespell-private.yml b/.github/workflows/codespell-private.yml index e312fb40b1..3d4fc36a59 100644 --- a/.github/workflows/codespell-private.yml +++ b/.github/workflows/codespell-private.yml @@ -14,7 +14,7 @@ jobs: REQUIRE_ASPELL: true RUFF_OUTPUT_FORMAT: github # Make sure we're using the latest aspell dictionary - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest timeout-minutes: 10 strategy: fail-fast: false diff --git a/pyproject.toml b/pyproject.toml index 69d7c80d8a..cb158691be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] dependencies = [] dynamic = ["version"] From b8e42299a2b249b79c5238d608454114a59c9b4d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 17:48:00 +0000 Subject: [PATCH 109/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.6.8 → v0.6.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.8...v0.6.9) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 06ca860e4d..2a0d3f8b56 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,7 +26,7 @@ repos: hooks: - id: rst-linter - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: no-commit-to-branch args: [--branch, main] @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.8 + rev: v0.6.9 hooks: - id: ruff - id: ruff-format From a50b0ef8f7128fa19936f5f446be2270e38cd5b4 Mon Sep 17 00:00:00 2001 From: Tyler White <50381805+IndexSeek@users.noreply.github.com> Date: Tue, 8 Oct 2024 23:34:41 +0000 Subject: [PATCH 110/155] feat: add typo for override and overridden --- codespell_lib/data/dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 845855c99c..218a6dd127 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -42284,6 +42284,8 @@ overriddes->overrides overridding->overriding overrideable->overridable overrided->overrode, overridden, +overridee->override +overrideen->overridden overriden->overridden overrident->overridden overridiing->overriding From 88882b416046d7ec0d474583136974d7d55e6818 Mon Sep 17 00:00:00 2001 From: Tyler White <50381805+IndexSeek@users.noreply.github.com> Date: Mon, 14 Oct 2024 02:02:44 -0400 Subject: [PATCH 111/155] feat: add strring entry for string and stirring (#3565) --- codespell_lib/data/dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 218a6dd127..ddbd85da74 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -55877,6 +55877,8 @@ strory->story strotage->storage stroy->story, destroy, stroyboard->storyboard +strring->string, stirring, starring, +strrings->strings struc->struct strucrural->structural strucrure->structure From f50bd63695fda07c37e1eda94418aa486792f438 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 17:30:41 +0000 Subject: [PATCH 112/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/executablebooks/mdformat: 0.7.17 → 0.7.18](https://github.com/executablebooks/mdformat/compare/0.7.17...0.7.18) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2a0d3f8b56..166bd7f1a3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ exclude: ^(\.[^/]*cache/.*)$ repos: - repo: https://github.com/executablebooks/mdformat # Do this before other tools "fixing" the line endings - rev: 0.7.17 + rev: 0.7.18 hooks: - id: mdformat name: Format Markdown From 061e2faf3ad51647e1553824b469919b57ce56fb Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Tue, 15 Oct 2024 10:53:44 +0200 Subject: [PATCH 113/155] Add spelling correction for credential and variant. --- codespell_lib/data/dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index ddbd85da74..ce9628b67a 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -23150,6 +23150,8 @@ drawm->drawn drawng->drawing dreasm->dreams dreawn->drawn +dredential->credential +dredentials->credentials dregee->degree dregees->degrees dregree->degree From 0172ebc5846edf7925344a4893013d49dc4f5a46 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Fri, 4 Oct 2024 19:08:55 +0200 Subject: [PATCH 114/155] Typo from filesystem_spec https://github.com/fsspec/filesystem_spec/pull/1705 --- codespell_lib/data/dictionary.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index ce9628b67a..ed4d24b147 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -13505,6 +13505,7 @@ colission->collision colissions->collisions collaberative->collaborative collaberatively->collaboratively +collable->callable collaboritave->collaborative collaboritavely->collaboratively collaction->collection From 65816101beb86a2bf3c07c58aed17ec9883140bc Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 15 Oct 2024 15:17:31 -0400 Subject: [PATCH 115/155] Add zarr as a fix for zar. Zarr is a new community driven data format, discover more https://en.wikipedia.org/wiki/Zarr_(data_format) and I ran into this while fixing a Zarr related project Co-authored-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> --- codespell_lib/data/dictionary.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index ed4d24b147..62fe3aed13 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -63859,7 +63859,7 @@ yuo->you yuor->your yur->your yymmetrical->symmetrical -zar->czar +zar->czar, Zarr, zars->czars zeebra->zebra zeebras->zebras From 214ec81db561da6d1b25e036395f199b324195c4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 17:26:45 +0000 Subject: [PATCH 116/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.7.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.9...v0.7.0) - [github.com/abravalheri/validate-pyproject: v0.20.2 → v0.21](https://github.com/abravalheri/validate-pyproject/compare/v0.20.2...v0.21) - [github.com/pre-commit/mirrors-mypy: v1.11.2 → v1.12.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.2...v1.12.1) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 166bd7f1a3..5b601990a7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.9 + rev: v0.7.0 hooks: - id: ruff - id: ruff-format @@ -75,11 +75,11 @@ repos: additional_dependencies: - tomli - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.20.2 + rev: v0.21 hooks: - id: validate-pyproject - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.2 + rev: v1.12.1 hooks: - id: mypy args: ["--config-file", "pyproject.toml"] From 1abbb26bc62ef803de131b8f90a15b93d26988ab Mon Sep 17 00:00:00 2001 From: MDW Date: Mon, 21 Oct 2024 20:13:33 +0200 Subject: [PATCH 117/155] Add multiple spellings (#3569) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- codespell_lib/data/dictionary.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 62fe3aed13..8a5421c406 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -21278,6 +21278,8 @@ dictoinaries->dictionaries dictoinary->dictionary dictonaries->dictionaries dictonary->dictionary +dictonnaries->dictionaries +dictonnary->dictionary dictrionaries->dictionaries dictrionary->dictionary dicuss->discuss @@ -24580,6 +24582,7 @@ entirly->entirely entite->entire, entity, entitee->entity entitees->entities +entiteis->entities entites->entities entiti->entity entitie->entity @@ -28491,6 +28494,7 @@ forcasters->forecasters forcasting->forecasting forcasts->forecasts forceably->forcibly +forceing->forcing forcin->forcing forcot->forgot forcus->focus, forces, @@ -35845,6 +35849,7 @@ larvays->larvae larvy->larvae laso->also, lasso, lasonya->lasagna +lasr->laser, last, lastes->latest lastest->latest, last, lastr->last @@ -36322,6 +36327,7 @@ linkely->likely linkes->links, linked, likes, lines, linkfy->linkify linnaena->linnaean +lins->lines, links, lions, loins, limns, lintain->lintian lintin->linting, lint in, linz->lines @@ -53278,6 +53284,8 @@ shifed->shifted shifing->shifting shifs->shifts shiftin->shifting, shift in, +shiiped->shipped +shiiping->shipping shineing->shining shinin->shining, shin in, shiped->shipped @@ -57736,6 +57744,8 @@ tarce->trace tarced->traced tarces->traces tarcing->tracing +taregt->target +taregts->targets tarffic->traffic targed->target targer->target, larger, tagger, From 2fa406ff14fe1945a15078b45274f218c44aa356 Mon Sep 17 00:00:00 2001 From: SpookyYomo <48710653+SpookyYomo@users.noreply.github.com> Date: Mon, 21 Oct 2024 18:24:42 +0000 Subject: [PATCH 118/155] acceleratored->accelerated (#3571) --- codespell_lib/data/dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 8a5421c406..87f05ed6e7 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -630,6 +630,8 @@ acceleratio->acceleration, accelerator, accelerato->acceleration acceleratoin->acceleration acceleraton->acceleration +acceleratored->accelerated +acceleratoring->accelerating acceleratrion->acceleration acceleread->accelerated accelerte->accelerate From 85dab37c703fbb69017d29c76ae9f67329825ffd Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Wed, 23 Oct 2024 14:33:07 +0200 Subject: [PATCH 119/155] Add correction for seens->seems, seen, scenes, --- codespell_lib/data/dictionary.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 87f05ed6e7..1935ba0483 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -52328,6 +52328,7 @@ seemd->seemed seemes->seems seemless->seamless seemlessly->seamlessly +seens->seems, seen, scenes, seesion->session seesions->sessions seethin->seething From e412499fdb4054a0e1d19b7d5b195342cf52097c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 17:30:55 +0000 Subject: [PATCH 120/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.0 → v0.7.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.0...v0.7.1) - [github.com/abravalheri/validate-pyproject: v0.21 → v0.22](https://github.com/abravalheri/validate-pyproject/compare/v0.21...v0.22) - [github.com/pre-commit/mirrors-mypy: v1.12.1 → v1.13.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.12.1...v1.13.0) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5b601990a7..0054c66349 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.0 + rev: v0.7.1 hooks: - id: ruff - id: ruff-format @@ -75,11 +75,11 @@ repos: additional_dependencies: - tomli - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.21 + rev: v0.22 hooks: - id: validate-pyproject - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.12.1 + rev: v1.13.0 hooks: - id: mypy args: ["--config-file", "pyproject.toml"] From ea9f03bb74d53af370eccd8357e23748316e9d44 Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Fri, 25 Oct 2024 14:46:58 +0200 Subject: [PATCH 121/155] Add generaml->general spelling correction. --- codespell_lib/data/dictionary.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 1935ba0483..467ac19e86 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -29422,6 +29422,7 @@ generallly->generally generaly->generally generalyl->generally generalyse->generalise +generaml->general generaor->generator generaors->generators generare->generate From 27437cbacf22a348611715923d02432f4d4936e0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 17:30:50 +0000 Subject: [PATCH 122/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.1 → v0.7.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.1...v0.7.2) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0054c66349..0c6dfb3048 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.1 + rev: v0.7.2 hooks: - id: ruff - id: ruff-format From ce7c44eaad8bcdd25d1c84ca1f156defe28e1e55 Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Thu, 7 Nov 2024 08:07:18 +0100 Subject: [PATCH 123/155] Add forach->foreach, orach, spelling correction --- codespell_lib/data/dictionary.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 467ac19e86..7ee2c78b67 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -28468,6 +28468,7 @@ footprinst->footprints foound->found foppy->floppy foppys->floppies +forach->foreach, orach, foraign->foreign foraigner->foreigner foraigners->foreigners From 7105603dfbd25f7dc44fce868c940079d96ad52d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 17:23:21 +0000 Subject: [PATCH 124/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.2 → v0.7.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.2...v0.7.3) - [github.com/abravalheri/validate-pyproject: v0.22 → v0.23](https://github.com/abravalheri/validate-pyproject/compare/v0.22...v0.23) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0c6dfb3048..dcf70d1cf9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.2 + rev: v0.7.3 hooks: - id: ruff - id: ruff-format @@ -75,7 +75,7 @@ repos: additional_dependencies: - tomli - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.22 + rev: v0.23 hooks: - id: validate-pyproject - repo: https://github.com/pre-commit/mirrors-mypy From 385622baa5bc4ebe7d524431ddd13c97b1fdc294 Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Tue, 12 Nov 2024 14:36:45 +0100 Subject: [PATCH 125/155] Add spelling correction for leadin. --- codespell_lib/data/dictionary.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 7ee2c78b67..4422f2be8f 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -35931,6 +35931,7 @@ lcuase->clause leaast->least leace->leave leack->leak +leadin->leading, lead in, leagacy->legacy leagal->legal leagalise->legalise From 2f330f72da49e54352873b22b1c44fe2a889006c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Nov 2024 02:44:41 +0000 Subject: [PATCH 126/155] Bump codecov/codecov-action from 4 to 5 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v4...v5) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/codespell-private.yml | 2 +- .github/workflows/codespell-windows.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codespell-private.yml b/.github/workflows/codespell-private.yml index 3d4fc36a59..44d2d11053 100644 --- a/.github/workflows/codespell-private.yml +++ b/.github/workflows/codespell-private.yml @@ -52,7 +52,7 @@ jobs: - run: codespell --help - run: codespell --version - run: make check - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} # tomli should not be required for the next two steps (and make sure it's not) diff --git a/.github/workflows/codespell-windows.yml b/.github/workflows/codespell-windows.yml index 4bb12b2045..c090a224d7 100644 --- a/.github/workflows/codespell-windows.yml +++ b/.github/workflows/codespell-windows.yml @@ -25,6 +25,6 @@ jobs: - run: codespell --help - run: codespell --version - run: pytest codespell_lib - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} From a4bbf6517ea2a8ed1b5a17e24c3ad76af4189879 Mon Sep 17 00:00:00 2001 From: "Haoyu (Daniel) YANG" Date: Sat, 16 Nov 2024 00:42:15 +0800 Subject: [PATCH 127/155] Minor typo fix in README (#3580) --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 393a950df6..92b89ecd10 100644 --- a/README.rst +++ b/README.rst @@ -119,7 +119,7 @@ You can select the optional dictionaries with the ``--builtin`` option. Ignoring words -------------- -When ignoring false positives, note that spelling errors are *case-insensitive* but words to ignore are *case-sensitive*. For example, the dictionary entry ``wrod`` will also match the typo ``Wrod``, but to ignore it you must pass ``wrod``. +When ignoring false positives, note that spelling errors are *case-insensitive* but words to ignore are *case-sensitive*. For example, the dictionary entry ``wrod`` will also match the typo ``Wrod``, but to ignore it you must pass ``Wrod``. The words to ignore can be passed in two ways: From 1dfeed41ba6cb00bf4e022af8371568fc9b7d708 Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Sun, 17 Nov 2024 00:53:26 +0000 Subject: [PATCH 128/155] Add pauload->payload --- codespell_lib/data/dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 4422f2be8f..e2940876ec 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -43309,6 +43309,8 @@ pattrn->pattern pattrns->patterns patttern->pattern pattterns->patterns +pauload->payload +pauloads->payloads pavillion->pavilion pavillions->pavilions pavin->paving, pain, From 9f8ef00a1d13891581e31901e9fa3205cc49c178 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 17:25:47 +0000 Subject: [PATCH 129/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/executablebooks/mdformat: 0.7.18 → 0.7.19](https://github.com/executablebooks/mdformat/compare/0.7.18...0.7.19) - [github.com/astral-sh/ruff-pre-commit: v0.7.3 → v0.7.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.3...v0.7.4) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dcf70d1cf9..ee22f12ea5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ exclude: ^(\.[^/]*cache/.*)$ repos: - repo: https://github.com/executablebooks/mdformat # Do this before other tools "fixing" the line endings - rev: 0.7.18 + rev: 0.7.19 hooks: - id: mdformat name: Format Markdown @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.3 + rev: v0.7.4 hooks: - id: ruff - id: ruff-format From d8e22d2a1e715f333235c121ae99744b80fa40a1 Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Fri, 22 Nov 2024 16:17:28 +0100 Subject: [PATCH 130/155] Add spelling correction for "agos". --- codespell_lib/data/dictionary.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 5a58dc11ac..1f2b27fe21 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -2800,6 +2800,7 @@ agonsticism->agnosticism agorithm->algorithm agorithmic->algorithmic agorithms->algorithms +agos->ago, ages, egos, Lagos, agracultural->agricultural agrain->again agrandize->aggrandize From 53c55d11340fcbd17124f9319a18710c2c300734 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 Nov 2024 17:22:57 +0000 Subject: [PATCH 131/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.4 → v0.8.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.4...v0.8.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ee22f12ea5..4d0ac94425 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.4 + rev: v0.8.0 hooks: - id: ruff - id: ruff-format From 7ba821bc58f52afd452a41306ac9f583e46c1f25 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 2 Dec 2024 18:35:09 +0100 Subject: [PATCH 132/155] If `writeable` is OK, so is `overwriteable` (#3593) --- .github/workflows/codespell.yml | 2 +- codespell_lib/data/dictionary.txt | 1 - codespell_lib/data/dictionary_en-GB_to_en-US.txt | 2 ++ codespell_lib/tests/data/en_GB-additional.wordlist | 1 + codespell_lib/tests/data/en_US-additional.wordlist | 1 + 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 68188d6668..3163b4e35f 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -16,4 +16,4 @@ jobs: with: check_filenames: true # When using this Action in other repos, the --skip option below can be removed - skip: "./.git,./codespell_lib/data,./example/code.c,test_basic.py,*.pyc,README.rst,pyproject-codespell.precommit-toml" + skip: "./.git,./codespell_lib/data,./example/code.c,test_basic.py,./codespell_lib/tests/data,*.pyc,README.rst,pyproject-codespell.precommit-toml" diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 1f2b27fe21..5916c58c76 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -42354,7 +42354,6 @@ overwridden->overridden, overwritten, overwride->overwrite, override, overwrides->overwrites, overrides, overwriding->overwriting, overriding, -overwriteable->overwritable overwrited->overwritten, overwrote, overwriten->overwritten overwritin->overwriting diff --git a/codespell_lib/data/dictionary_en-GB_to_en-US.txt b/codespell_lib/data/dictionary_en-GB_to_en-US.txt index 20ffa9f7df..adab0d1277 100644 --- a/codespell_lib/data/dictionary_en-GB_to_en-US.txt +++ b/codespell_lib/data/dictionary_en-GB_to_en-US.txt @@ -323,6 +323,7 @@ organiser->organizer organisers->organizers organises->organizes organising->organizing +overwriteable->overwritable parallelisation->parallelization parallelise->parallelize parallelised->parallelized @@ -522,3 +523,4 @@ visualised->visualized visualiser->visualizer visualises->visualizes visualising->visualizing +writeable->writable diff --git a/codespell_lib/tests/data/en_GB-additional.wordlist b/codespell_lib/tests/data/en_GB-additional.wordlist index 5ee451606a..6ccc1b3fcd 100644 --- a/codespell_lib/tests/data/en_GB-additional.wordlist +++ b/codespell_lib/tests/data/en_GB-additional.wordlist @@ -27,6 +27,7 @@ localisations normalisations ochreous ochrey +overwriteable parallelisation parallelise parallelised diff --git a/codespell_lib/tests/data/en_US-additional.wordlist b/codespell_lib/tests/data/en_US-additional.wordlist index 0f5a287f4e..813242fec0 100644 --- a/codespell_lib/tests/data/en_US-additional.wordlist +++ b/codespell_lib/tests/data/en_US-additional.wordlist @@ -22,6 +22,7 @@ localizations normalizations ocherous ochery +overwritable parallelization parallelize parallelized From b85f3bda236ca26617aeb3c700f949fae8eda72f Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Sun, 1 Dec 2024 16:36:21 +0100 Subject: [PATCH 133/155] Add atfer->after and variations Several places misspelled `after` to `atfer` and `afterwards` to `atferwards`. Other words with `after` such as `thereafter` and `afternoon` were misspelled on GitHub. --- codespell_lib/data/dictionary.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 5916c58c76..7da31bc5a5 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -7740,6 +7740,13 @@ atends->attends atention->attention aternies->attorneys aterny->attorney +atfer->after +atfernoon->afternoon +atfernoons->afternoons +atferthought->afterthought +atferthoughts->afterthoughts +atferward->afterward +atferwards->afterwards atheistical->atheistic athenean->Athenian atheneans->Athenians @@ -58465,6 +58472,7 @@ theread->thread, the read, thereaded->threaded thereading->threading, the reading, thereads->threads, the reads, +thereatfer->thereafter thered->thread, the red, therem->there, theorem, thereom->theorem From 6748315e422b5d21737c9927e05f05ff063c5e7a Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Mon, 2 Dec 2024 18:41:11 +0000 Subject: [PATCH 134/155] Add poduce->produce and friends (#3599) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- codespell_lib/data/dictionary.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 7da31bc5a5..0343695593 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -44311,6 +44311,17 @@ pocesses->processes, possesses, pocessing->processing, possessing, pocession->procession, possession, podfie->podfile +poduce->produce +poduced->produced +poduces->produces +poducibility->producibility +poducible->producible +poducibly->producibly +poducing->producing +poduct->product +poduction->production +poductions->productions +poducts->products podule->module poenis->penis poential->potential From 640a0989992771e8ec8b5d4b128b634e90008417 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Mon, 2 Dec 2024 05:34:51 -0800 Subject: [PATCH 135/155] Add plural for correction: reurn->return Found the misspelling "reurns" in a personal projects as in: "It reurns ..." The mistake could also be a typo for "rerun", so include that as a potential fix too. --- codespell_lib/data/dictionary.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 0343695593..a141dc015d 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -51107,7 +51107,10 @@ reuqirement->requirement reuqirements->requirements reuqires->requires reuqiring->requiring -reurn->return +reurn->return, rerun, +reurned->returned, reran, +reurning->returning, rerunning, +reurns->returns, reruns, reursively->recursively reuseable->reusable reusin->reusing, resin, From edfecff319654b67f6cbfa728b9e486feb1f8d12 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 17:30:04 +0000 Subject: [PATCH 136/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.0 → v0.8.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.0...v0.8.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4d0ac94425..f9288a590c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.0 + rev: v0.8.1 hooks: - id: ruff - id: ruff-format From b2340208e91a435072f13131f10d65d693afb255 Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Mon, 2 Dec 2024 16:30:34 +0100 Subject: [PATCH 137/155] Add spelling correction for various variants of everything. --- codespell_lib/data/dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index a141dc015d..adde6b9f88 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -23599,6 +23599,7 @@ eeeprom->EEPROM eeger->eager eegerly->eagerly eejus->aegis +eerything->everything, eerie thing, eescription->description eevery->every eeverything->everything @@ -25348,6 +25349,7 @@ evauluation->evaluation evauluations->evaluations evauluator->evaluator evauluators->evaluators +eveerything->everything evelope->envelope, envelop, evelopes->envelopes, envelops, eveluate->evaluate From d29850731b5b25ab030301c353854285b4da588b Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Wed, 4 Dec 2024 19:35:58 +0100 Subject: [PATCH 138/155] Add "sems->seems, stems, semis, sens, seams," correction (#3603) --- codespell_lib/data/dictionary.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index adde6b9f88..cb4e1c5e15 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -52590,6 +52590,7 @@ sempaphores->semaphores semphore->semaphore semphores->semaphores sempphore->semaphore +sems->seems, stems, semis, sens, seams, senaireo->scenario senaireos->scenarios senaphore->semaphore From 74379ca2898e412e469af1781040d9bfb8e7c6e7 Mon Sep 17 00:00:00 2001 From: Loymdayddaud <145969603+TheGiraffe3@users.noreply.github.com> Date: Wed, 4 Dec 2024 23:43:13 +0300 Subject: [PATCH 139/155] Add replacements for complasance and complisance (#3597) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- codespell_lib/data/dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index cb4e1c5e15..daf630704e 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -14560,6 +14560,7 @@ complaince->compliance, complaints, complaing->complaining complainin->complaining, complain in, complanied->complained +complasance->complaisance, compliance, complate->complete complated->completed complately->completely @@ -14643,6 +14644,7 @@ compliler->compiler compliles->compiles compliling->compiling compling->compiling +complisance->complaisance, compliance, complitation->compilation, complication, complitations->compilations, complications, complite->complete, compile, From d978dd934960cdb3313b32e742288ef07f991f48 Mon Sep 17 00:00:00 2001 From: Mike Taves Date: Fri, 6 Dec 2024 06:35:12 +1300 Subject: [PATCH 140/155] Add typos found in software projects (#3595) Co-authored-by: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com> --- codespell_lib/data/dictionary.txt | 131 ++++++++++++++++++++++++++++++ 1 file changed, 131 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index daf630704e..0d9b74603d 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -1184,6 +1184,10 @@ accumualtion->accumulation accumualtive->accumulative accumualtor->accumulator accumualtors->accumulators +accumuate->accumulate +accumuated->accumulated +accumuates->accumulates +accumuating->accumulating accumulare->accumulate accumulater->accumulator, accumulated, accumulates, accumulate, accumulaters->accumulators, accumulates, @@ -1842,6 +1846,10 @@ adavantages->advantages adbandon->abandon adbomen->abdomen adbominal->abdominal +adborb->adsorb, absorb, +adborbed->adsorbed, absorbed, +adborbing->adsorbing, absorbing, +adborbs->adsorbs, absorbs, adbuct->abduct adbucted->abducted adbucting->abducting @@ -3757,6 +3765,7 @@ altenative->alternative altenatively->alternatively altenatives->alternatives alteracion->alteration +alterady->already alterante->alternate alteranted->alternated alterantely->alternately @@ -4578,6 +4587,7 @@ aninators->animators aninteresting->uninteresting aniother->another, any other, anisotrophically->anisotropically +anistropy->anisotropy anitaliasing->antialiasing anitbiotic->antibiotic anitbiotics->antibiotics @@ -6451,6 +6461,7 @@ argemnt->argument argemnts->arguments argentia->Argentina argentinia->Argentina +arges->args argessive->aggressive argessively->aggressively argeument->argument @@ -8777,10 +8788,18 @@ avdisories->advisories avdisoriy->advisory, advisories, avdisoriyes->advisories avdisory->advisory +avearge->average +avearged->averaged +avearges->averages +avearging->averaging avengence->a vengeance averageed->averaged averagin->averaging averagine->averaging +averge->average, avenge, +averged->averaged, avenged, +averges->averages, avenges, +averging->averaging, avenging, averload->overload averloaded->overloaded averloads->overloads @@ -9935,6 +9954,7 @@ bounbdaries->boundaries bounbdary->boundary bouncin->bouncing boundares->boundaries +boundart->boundary boundaryi->boundary boundarys->boundaries bounday->boundary @@ -10579,6 +10599,10 @@ calcalation->calculation calcalations->calculations calcalator->calculator calcalators->calculators +calcaulte->calculate +calcaulted->calculated +calcaultes->calculates +calcaulting->calculating calciulate->calculate calciulating->calculating calclate->calculate @@ -10633,6 +10657,10 @@ calcuations->calculations calcuator->calculator calcuators->calculators calculaion->calculation +calculalate->calculate +calculalated->calculated +calculalates->calculates +calculalating->calculating calculat->calculate calculataed->calculated calculatble->calculatable, calculable, @@ -12137,6 +12165,7 @@ charictors->characters chariman->chairman charistics->characteristics charizma->charisma +charnge->change, charge, chartroose->chartreuse chasim->chasm chasims->chasms @@ -13613,6 +13642,7 @@ coloered->colored coloering->coloring coloers->colors coloful->colorful +colombus->Columbus colomn->column colomns->columns colon-seperated->colon-separated @@ -14774,6 +14804,7 @@ compunds->compounds computaion->computation computarized->computerized computaton->computation +computd->computed computin->computing computs->computes, computus, computtaion->computation @@ -14937,12 +14968,16 @@ conceeting->conceiting conceets->conceits concensors->consensus concensus->consensus +concentartion->concentration +concentartions->concentrations concentate->concentrate concentated->concentrated concentates->concentrates concentating->concentrating concentation->concentration concentic->concentric +concentraion->concentration +concentraions->concentrations concentratin->concentrating, concentration, concentraze->concentrate conceous->conscious @@ -15094,6 +15129,8 @@ condtitions->conditions conducter->conductor, conducted, conducters->conductors conductin->conducting, conduct in, conduction, +conductuctance->conductance +conductuctances->conductances conductuve->conductive, conducive, conecct->connect coneccted->connected @@ -15758,6 +15795,8 @@ connectiviy->connectivity connectivty->connectivity connectng->connecting connecto->connect +connectoin->connection +connectoins->connections connecton->connection, connector, connectons->connections, connectors, connectt->connect @@ -18343,6 +18382,8 @@ curvasious->curvaceous curvatrue->curvature curvatrues->curvatures curvelinear->curvilinear +curvture->curvature +curvtures->curvatures cushin->cushion cushins->cushions cusine->cuisine @@ -18725,6 +18766,10 @@ datecreatedd->datecreated datection->detection datections->detections datee->date +dateteim->datetime +dateteims->datetimes +datetiem->datetime +datetiems->datetimes datin->dating, satin, latin, datset->dataset datsets->datasets @@ -19725,6 +19770,9 @@ deliverin->delivering, deliver in, delivermode->deliverymode deliverying->delivering deliverys->deliveries, delivers, +dellocate->deallocate +dellocated->deallocated +dellocates->deallocates delpoy->deploy delpoyed->deployed delpoying->deploying @@ -21286,6 +21334,7 @@ dictionarys->dictionaries dictionay->dictionary dictionnaries->dictionaries dictionnary->dictionary +dictionray->dictionary dictionries->dictionaries dictionry->dictionary dictoinaries->dictionaries @@ -21619,6 +21668,7 @@ dimissing->dismissing dimissive->dismissive dimissively->dismissively dimmension->dimension +dimmensional->dimensional dimmensioned->dimensioned dimmensioning->dimensioning dimmensions->dimensions @@ -21949,6 +21999,8 @@ disccussion->discussion disccussions->discussions discernable->discernible discernin->discerning, discern in, +dischage->discharge +dischages->discharges dischare->discharge discimenation->dissemination disciplinin->disciplining @@ -22035,6 +22087,9 @@ discrepencies->discrepancies discrepency->discrepancy discrepicies->discrepancies discret->discrete, discreet, +discretation->discretization +discretiztion->discretization +discretiztions->discretizations discribe->describe discribed->described discribes->describes @@ -22048,6 +22103,12 @@ discriptive->descriptive discriptor's->descriptor's discriptor->descriptor discriptors->descriptors +discritization->discretization +discritizations->discretizations +discritized->discretized +discrtization->discretization +discrtizations->discretizations +discrtized->discretized disctinct->distinct disctinction->distinction disctinctions->distinctions @@ -22643,6 +22704,8 @@ divde->divide divded->divided divdes->divides divding->dividing +diverison->diversion +diverisons->diversions diversed->diverse, diverged, divertion->diversion divertions->diversions @@ -23161,6 +23224,7 @@ Dravadian->Dravidian draview->drawview drawack->drawback drawacks->drawbacks +drawdow->drawdown drawed->drew, drawn, had drawn, drawin->drawing, draw in, drawn, drawm->drawn @@ -23769,6 +23833,7 @@ elease->release eleased->released eleases->releases eleate->relate +elecation->elevation, election, electic->eclectic, electric, electical->electrical electin->electing, elect in, election, @@ -24587,6 +24652,7 @@ enthusiam->enthusiasm enthusiatic->enthusiastic enthusiatically->enthusiastically entierly->entirely +entir->entire, enter, entired->entered, entire, entireity->entirety entirerly->entirely @@ -27118,6 +27184,7 @@ exponetial->exponential exponetially->exponentially exponetiation->exponentiation exponets->exponents +expontential->exponential exporation->exploration, expiration, expore->explore, expire, export, exposure, expose, expored->explored, expired, exported, exposed, @@ -27676,6 +27743,7 @@ faulsures->failures faulure->failure faulures->failures faund->found, fund, +fause->false fauture->feature fautured->featured fautures->features @@ -29728,6 +29796,7 @@ givven->given givving->giving glamourous->glamorous glancin->glancing +glaobal->global glight->flight gloab->globe gloabal->global @@ -29941,6 +30010,7 @@ groshuries->groceries groshury->grocery groth->growth groubpy->groupby +groudwater->groundwater groupd->grouped groupe->grouped, group, groupes->groups, grouped, @@ -30395,6 +30465,7 @@ headerrs->headers heades->headers, heads, headin->heading, head in, headle->handle +headng->heading headong->heading headquarer->headquarter headquater->headquarter @@ -32601,6 +32672,8 @@ inershial->inertial inersia->inertia inersial->inertial inertion->insertion +inerval->interval +inervals->intervals ines->lines inestart->linestart inetrrupts->interrupts @@ -33268,6 +33341,10 @@ initiializes->initializes initiializing->initializing initiially->initially initiials->initials +initilaize->initialize +initilaized->initialized +initilaizes->initializes +initilaizing->initializing initilal->initial initilalisation->initialisation initilalisations->initialisations @@ -34303,6 +34380,7 @@ intergates->integrates intergating->integrating intergation->integration intergations->integrations +interge->integer interger's->integer's interger->integer intergerated->integrated @@ -34681,6 +34759,10 @@ intiializes->initializes intiializing->initializing intiially->initially intiials->initials +intilaize->initialize +intilaized->initialized +intilaizes->initializes +intilaizing->initializing intilisation->initialisation intilisations->initialisations intilise->initialise @@ -35099,6 +35181,7 @@ isntance->instance isntances->instances isntead->instead, isn't read, isolatin->isolating, isolation, +isothem->isotherm isotrophically->isotropically ispatches->dispatches isplay->display @@ -35945,6 +36028,7 @@ lcuase->clause leaast->least leace->leave leack->leak +leackage->leakage leadin->leading, lead in, leagacy->legacy leagal->legal @@ -36523,6 +36607,7 @@ locaizes->localizes localation->location localed->located localizin->localizing +locall->local, locale, locallly->locally localtion->location localtions->locations @@ -36560,6 +36645,7 @@ lodgin->lodging loding->loading loev->love logarithimic->logarithmic +logarithmetic->logarithmic logarithmical->logarithmically logaritmic->logarithmic logcal->logical @@ -36826,6 +36912,7 @@ makfile->makefile makfiles->makefiles makign->making makin->making, main, +makr->maker, mark, makretplace->marketplace makro->macro makros->macros @@ -37065,6 +37152,8 @@ maped->mapped maping->mapping mapings->mappings mapp->map +mappaing->mapping +mappaings->mappings mappble->mappable mappeds->mapped mappeed->mapped @@ -38299,6 +38388,7 @@ modellinng->modelling modellled->modelled modellling->modelling modells->models +moderetely->moderately moderm->modern, modem, modernination->modernization moderninations->modernizations @@ -39982,6 +40072,7 @@ nodels->models nodess->nodes nodulated->modulated noe->not, no, node, note, know, now, +noen->none, neon, nofification->notification nofifications->notifications nofified->notified @@ -40653,6 +40744,8 @@ numnbering->numbering numnbers->numbers numner->number numners->numbers +numvber->number +numvbers->numbers numver->number numvers->numbers nunber->number @@ -40683,6 +40776,9 @@ oakerous->ocherous oakerously->ocherously oakery->ochery oaram->param +oarticle->particle +oarticles->particles +obatain->obtain obation->ovation obations->ovations obay->obey @@ -41993,6 +42089,7 @@ ortherwise->otherwise orthoganal->orthogonal orthoganalize->orthogonalize orthognal->orthogonal +orthogonalizaion->orthogonalization orthogonnal->orthogonal orthongonalise->orthogonalise orthongonalised->orthogonalised @@ -42196,6 +42293,10 @@ outisde->outside outlinin->outlining outllook->outlook outloud->out loud +outlow->outflow, outlaw, +outlowed->outflowed, outlawed, +outlowing->outflowing, outlawing, +outlows->outflows, outlaws, outoign->outgoing outoing->outgoing, outdoing, outing, outout->output @@ -43774,6 +43875,7 @@ perpares->prepares perparing->preparing perpective->perspective, perceptive, perpectives->perspectives +perpedicular->perpendicular perperties->properties perpertrated->perpetrated perperty->property @@ -44348,6 +44450,7 @@ poindcloud->pointcloud poiner->pointer poiners->pointers poing->point +poings->points poining->pointing poinits->points poinnter->pointer @@ -44485,6 +44588,8 @@ polyedral->polyhedral polygond->polygons polygone->polygon polylon->polygon, pylon, +polymomial->polynomial +polymomials->polynomials polymoprh->polymorph polymoprhic->polymorphic polymoprhism->polymorphism @@ -45911,6 +46016,7 @@ processibg->processing processig->processing processin->processing, process in, procession, processinf->processing +processiong->processing processore->processor processores->processors processpr->processor @@ -46582,6 +46688,7 @@ provices->provides, provinces, provicial->provincial provicing->providing provid->provide, prove, proved, proves, +provideded->provided provideres->providers providewd->provided providfers->providers @@ -48495,6 +48602,7 @@ reeaser->releaser reeasers->releasers reeases->releases reeasing->releasing +reecord->record reedeming->redeeming reegion->region reegions->regions @@ -48978,6 +49086,7 @@ rehersal->rehearsal rehersing->rehearsing rehighlightes->rehighlights, rehighlighted, reicarnation->reincarnation +reidual->residual reight->right, eight, freight, reigining->reigning reignin->reigning, reign in, @@ -49031,6 +49140,8 @@ reinitailise->reinitialise reinitailised->reinitialised reinitailize->reinitialize reinitalize->reinitialize +reinitilaize->reinitialize +reinitilaized->reinitialized reinitilize->reinitialize reinitilized->reinitialized reinstal->reinstall @@ -50788,6 +50899,7 @@ restroring->restoring restructed->restricted, restructured, reStructedText->reStructuredText restructing->restricting, restructuring, +restructued->restructured reStructuredTetx->reStructuredText reStructuredTxet->reStructuredText restructurin->restructuring @@ -51263,6 +51375,7 @@ rference->reference rferences->references rfeturned->returned rgister->register +rhapson->Raphson rhethoric->rhetoric rhethorical->rhetorical rhethorically->rhetorically @@ -55219,6 +55332,7 @@ spezialisation->specialization spezific->specific spezified->specified spezify->specify +spheriod->spheroid spicific->specific spicified->specified spicify->specify @@ -55578,6 +55692,8 @@ starup->startup starups->startups statamenet->statement statamenets->statements +statastic->statistic +statastics->statistics stategies->strategies stategise->strategise stategised->strategised @@ -55655,6 +55771,10 @@ statustics->statistics statuts->status, statutes, statues, statutses->statuses, statutes, staulk->stalk +staurate->saturate +staurated->saturated +staurates->saturates +staurating->saturating stauration->saturation staus->status stauts->status @@ -55682,6 +55802,7 @@ sterio->stereo steriods->steroids sterotype->stereotype sterotypes->stereotypes +stess->stress stetch->stretch, sketch, stitch, stench, stetched->stretched, sketched, stitched, stetches->stretches, sketches, stitches, stenches, @@ -58446,6 +58567,7 @@ thefore->therefore thei->their, they, theif->thief theifs->thieves +theim->Thiem, them, theism, theire->their, they're, theis->this, thesis, theiv->thief, they've, @@ -58498,6 +58620,7 @@ thereom->theorem thererin->therein theres->there's thereshold->threshold +theresholding->thresholding theresholds->thresholds therfore->therefore theri->their, there, @@ -58516,6 +58639,7 @@ theshold->threshold thesholds->thresholds thess->this, these, thest->test +thet->they, that, theft, thether->tether, whether, thetraedral->tetrahedral thetrahedron->tetrahedron @@ -59257,6 +59381,7 @@ tranpose->transpose tranposed->transposed tranposes->transposes tranposing->transposing +tranpsort->transport transacion->transaction transacional->transactional transacions->transactions @@ -59559,6 +59684,7 @@ transtitioning->transitioning transtitions->transitions transtorm->transform transtormed->transformed +transvers->transverse transvorm->transform transvormation->transformation transvormed->transformed @@ -59708,6 +59834,7 @@ travesed->traversed traveses->traverses travesing->traversing trawlin->trawling, trawl in, +trcking->tracking, tricking, trucking, tre->tree, the, treadet->treated, treaded, threaded, treak->treat, tweak, @@ -60923,6 +61050,7 @@ uniqe->unique uniqu->unique uniquenes->uniqueness uniquness->uniqueness +unirom->uniform unistall->uninstall unistallation->uninstallation unistalled->uninstalled @@ -61470,6 +61598,7 @@ unx->unix unxepected->unexpected unxepectedly->unexpectedly unxpected->unexpected +unzaturated->unsaturated unziped->unzipped upack->unpack upacked->unpacked @@ -62479,6 +62608,7 @@ vertexts->vertices vertial->vertical verticall->vertical verticaly->vertically +verticed->vertices verticies->vertices verticla->vertical verticlealign->verticalalign @@ -63451,6 +63581,7 @@ witespace->whitespace witespaces->whitespaces witha->with a, with, withdrawl->withdrawal, withdraw, +withdrawls->withdrawals, withdraws, witheld->withheld withh->with withhin->within From c8d70999b5fd3e96083366d1d5f413da6b40c907 Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Fri, 6 Dec 2024 14:59:32 +0100 Subject: [PATCH 141/155] Add distinghish->distinguish and variations It was found for example in https://github.com/v8/v8/blob/d5424dbd69332f7483dde5e900dde3d43f2c35f0/src/compiler/turboshaft/operations.h#L3399 and https://github.com/NatronGitHub/Natron/blob/8326245bf9b646c54ad6171aef5a8ccb292500e7/libs/Eigen3/Eigen/src/Core/GeneralProduct.h#L135 and https://github.com/ligolang/ligo/blob/c61d549ef9ed7dfa427fcc95aa80ab718fb97ab8/gitlab-pages/docs/signatures/extending.md?plain=1#L68 --- codespell_lib/data/dictionary.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 0d9b74603d..204309a4d4 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -22516,6 +22516,11 @@ distince->distance distinced->distanced distinces->distances distincing->distancing +distinghish->distinguish +distinghishable->distinguishable +distinghished->distinguished +distinghishes->distinguishes +distinghishing->distinguishing distingish->distinguish distingished->distinguished distingishes->distinguishes From 2ec98c97e3bdab165590b8b8c20fa27296c2d6fd Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 17:24:10 +0000 Subject: [PATCH 142/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.1 → v0.8.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.1...v0.8.2) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f9288a590c..bead8cc99c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.1 + rev: v0.8.2 hooks: - id: ruff - id: ruff-format From 678bc90e77b43b45d6047ab4d4b6805b95bb59ea Mon Sep 17 00:00:00 2001 From: Rambaud Pierrick <12rambau@users.noreply.github.com> Date: Thu, 12 Dec 2024 21:50:12 +0100 Subject: [PATCH 143/155] docs: typo in an example --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 92b89ecd10..d98f8cd96d 100644 --- a/README.rst +++ b/README.rst @@ -217,7 +217,7 @@ you need to do this, structure your entries like this: [codespell] dictionary = mydict,- - ignore-words = bar,-foo + ignore-words-list = bar,-foo instead of these invalid entries: @@ -225,7 +225,7 @@ instead of these invalid entries: [codespell] dictionary = -,mydict - ignore-words = -foo,bar + ignore-words-list = -foo,bar .. _tomli: https://pypi.org/project/tomli/ From b16bf8729fb7fcbbf3a27e02a26af91bf31a2df6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 17:25:06 +0000 Subject: [PATCH 144/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.2 → v0.8.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.2...v0.8.3) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bead8cc99c..8d3976ab4c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.2 + rev: v0.8.3 hooks: - id: ruff - id: ruff-format From 4aca7ad0ea45b1540ec2046db32252647729ac75 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Wed, 18 Dec 2024 09:24:02 -0500 Subject: [PATCH 145/155] Add typos found in various software projects (#3612) Includes revisions recommended by reviewers --- codespell_lib/data/dictionary.txt | 47 ++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index 204309a4d4..ba8d7b3787 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -234,6 +234,7 @@ aboved->above abovemtioned->abovementioned aboves->above abovmentioned->abovementioned +abpout->about abput->about abreviate->abbreviate abreviated->abbreviated @@ -764,6 +765,7 @@ accessiiblity->accessibility accessile->accessible accessin->accessing, access in, accession, accessintg->accessing +accessiores->accessories accessisble->accessible accessment->assessment accessments->assessments @@ -1413,6 +1415,12 @@ acknolwedgement->acknowledgement acknolwedgements->acknowledgements acknolwedges->acknowledges acknolwedging->acknowledging +acknowedge->acknowledge +acknowedged->acknowledged +acknowedgement->acknowledgement +acknowedgements->acknowledgements +acknowedges->acknowledges +acknowedging->acknowledging acknoweldge->acknowledge acknoweldged->acknowledged acknoweldgement->acknowledgement @@ -7104,10 +7112,12 @@ assemalate->assimilate assemalated->assimilated assemalates->assimilates assemalating->assimilating +assembalge->assemblage assembe->assemble assembed->assembled assembeld->assembled assember->assembler +assembladge->assemblage assemblare->assemble assembleing->assembling assembley->assembly @@ -7120,6 +7130,7 @@ assement->assessment assements->assessments assemlies->assemblies assemly->assembly +assemmbly->assembly assemnly->assembly assemple->assemble assempling->assembling @@ -19594,6 +19605,8 @@ degreeees->degrees degreees->degrees degres->degrees, digress, degress->degrees, digress, +deifinition->definition +deifinitions->definitions deifne->define deifned->defined deifnes->defines @@ -23854,9 +23867,15 @@ electriv->electric electrnoics->electronics electronnegativity->electronegativity eleemnt->element +eleemnts->elements eleent->element +eleents->elements elegibility->eligibility, illegibility, legibility, elegible->eligible, illegible, legible, +eleiminate->eliminate +eleiminated->eliminated +eleiminates->eliminates +eleiminating->eliminating elelement->element elelements->elements elelment->element @@ -23865,6 +23884,7 @@ elelmentary->elementary elelments->elements elemant->element elemantary->elementary +elemants->elements elemement->element elemements->elements elememt->element @@ -25252,6 +25272,10 @@ establishs->establishes establising->establishing establsihed->established estbalishment->establishment +esteblish->establish +esteblished->established +esteblishes->establishes +esteblishing->establishing estiamate->estimate estiamated->estimated estiamates->estimates @@ -27263,6 +27287,7 @@ exptectations->expectations exptected->expected exptecting->expecting exptects->expects +exptra->extra exra->extra exract->extract, exact, exracted->extracted, exacted, @@ -27694,6 +27719,7 @@ farmework->framework farse->farce farses->farces farsical->farcical +farthere->farther farward->forward farwarded->forwarded farwarding->forwarding @@ -29269,6 +29295,9 @@ furtermore->furthermore furtest->furthest furthe->further furthemore->furthermore +furthere->further +furtheremor->furthermore +furtheremore->furthermore furthermor->furthermore furtherst->furthest furthher->further @@ -30864,6 +30893,8 @@ horison->horizon horisons->horizons horisontal->horizontal horisontally->horizontally +horizintal->horizontal +horizintally->horizontally horizntal->horizontal horizonal->horizontal horizonally->horizontally @@ -35142,6 +35173,7 @@ irraditate->irradiate irraditated->irradiated irraditates->irradiates irraditating->irradiating +irratic->erratic irregularties->irregularities irregulier->irregular irregulierties->irregularities @@ -35475,6 +35507,7 @@ joineable->joinable joinin->joining, join in, joinning->joining jointin->jointing, joint in, +jonction->junction jont->joint jonts->joints jornal->journal @@ -35600,6 +35633,7 @@ kenerl->kernel kenerls->kernels kenrel->kernel kenrels->kernels +kepp->keep, kelp, kepping->keeping kepps->keeps kerenl->kernel @@ -36098,6 +36132,8 @@ legionairs->legionnaires legitamate->legitimate legitimiately->legitimately legitmate->legitimate +legngth->length +legngths->lengths legnth->length legth->length legths->lengths @@ -38790,6 +38826,10 @@ muiltipliers->multipliers muiltiplies->multiplies muiltiply->multiply muiltiplying->multiplying +mulfunction->malfunction, multifunction, +mulfunctioned->malfunctioned +mulfunctioning->malfunctioning +mulfunctions->malfunctions mulicast->multicast mulipart->multipart muliplayer->multiplayer @@ -50073,6 +50113,8 @@ repored->reported, reposed, repores->reports, reposes, reporeted->reported reporing->reporting +reporisaties->repositories +reporisaty->repository reporitories->repositories reporitory->repository reporsitories->repositories @@ -62544,7 +62586,8 @@ verisons->versions veritcal->vertical veritcally->vertically veritical->vertical -verly->very +verivy->verify +verly->very, verily, overly, vermen->vermin vermillion->vermilion vermuth->vermouth @@ -63317,6 +63360,7 @@ weilded->wielded weill->will weired->weird weitght->weight +weith->weight, weigh, with, width, wel->well welfair->welfare well-reknown->well-renowned, well renown, @@ -64072,6 +64116,7 @@ ziper->zipper zipers->zippers ziping->zipping zippin->zipping +zise->size zlot->slot zombe->zombie zombes->zombies From 51262cff8708635e9ae725c5abe6356a3c60b3af Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 17:25:55 +0000 Subject: [PATCH 146/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/executablebooks/mdformat: 0.7.19 → 0.7.21](https://github.com/executablebooks/mdformat/compare/0.7.19...0.7.21) - [github.com/astral-sh/ruff-pre-commit: v0.8.3 → v0.8.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.3...v0.8.4) - [github.com/pre-commit/mirrors-mypy: v1.13.0 → v1.14.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.13.0...v1.14.0) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8d3976ab4c..86a38036a5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ exclude: ^(\.[^/]*cache/.*)$ repos: - repo: https://github.com/executablebooks/mdformat # Do this before other tools "fixing" the line endings - rev: 0.7.19 + rev: 0.7.21 hooks: - id: mdformat name: Format Markdown @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.3 + rev: v0.8.4 hooks: - id: ruff - id: ruff-format @@ -79,7 +79,7 @@ repos: hooks: - id: validate-pyproject - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.13.0 + rev: v1.14.0 hooks: - id: mypy args: ["--config-file", "pyproject.toml"] From 2acfc37507a99e0e0e60f20e72780b3c74aba2e7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:28:37 +0000 Subject: [PATCH 147/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.4 → v0.8.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.4...v0.8.6) - [github.com/pre-commit/mirrors-mypy: v1.14.0 → v1.14.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.14.0...v1.14.1) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 86a38036a5..03b1f3651c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.4 + rev: v0.8.6 hooks: - id: ruff - id: ruff-format @@ -79,7 +79,7 @@ repos: hooks: - id: validate-pyproject - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.14.0 + rev: v1.14.1 hooks: - id: mypy args: ["--config-file", "pyproject.toml"] From ec57cffcaac0f1dd7d8adb7116742b026aa5950f Mon Sep 17 00:00:00 2001 From: Christian Fischer Date: Tue, 7 Jan 2025 09:42:54 +0100 Subject: [PATCH 148/155] Add spelling correction for denila and variant. --- codespell_lib/data/dictionary.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index ba8d7b3787..b53522c688 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -19846,6 +19846,8 @@ demostration->demonstration demudulator->demodulator denegrating->denigrating denigratin->denigrating, denigration, +denila->denial +denilas->denials denine->define, adenine, dentine, denined->denied, defined, denines->defines, denies, From 2626491afcf1bd041e33d8034cfb07e7e443a6df Mon Sep 17 00:00:00 2001 From: isaak654 Date: Thu, 9 Jan 2025 01:08:07 +0100 Subject: [PATCH 149/155] Remove socioeconomic entries --- codespell_lib/data/dictionary.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index b53522c688..2fd566f0b5 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -54410,7 +54410,6 @@ socalist->socialist socalists->socialists socekt->socket socekts->sockets -socio-economic->socioeconomic socities->societies socre->score socred->scored, sacred, From 9c3a652d394d599ee0a4698c9a4f68c1ceb768ae Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 17:21:06 +0000 Subject: [PATCH 150/155] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.9.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.6...v0.9.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 03b1f3651c..90e0f73318 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -58,7 +58,7 @@ repos: - -d - "{extends: relaxed, rules: {line-length: {max: 90}}}" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.6 + rev: v0.9.1 hooks: - id: ruff - id: ruff-format From b782f25bb55398960c3dad132f18c58af9d76465 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 13 Jan 2025 21:40:01 +0100 Subject: [PATCH 151/155] Changes for ruff 0.9.1 Discard any reference to deprecated rules to avoid warnings. ISC001 and ISC002 used together are compatible with the ruff formatter, according to recent changes in the documentation. --- pyproject.toml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cb158691be..c07ab9601b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -136,18 +136,14 @@ select = [ "YTT", ] ignore = [ - "ANN101", "B904", "PLR0914", "PLR6201", "PLW2901", - "PT004", # deprecated - "PT005", # deprecated "RET505", "S404", "SIM105", "SIM115", - "UP027", # deprecated "UP038", # https://github.com/astral-sh/ruff/issues/7871 # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules "W191", @@ -162,8 +158,6 @@ ignore = [ "Q003", "COM812", "COM819", - "ISC001", - "ISC002", ] [tool.ruff.lint.mccabe] From 913871e8249bb6b69daceab6b9d621886206f655 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 13 Jan 2025 21:43:34 +0100 Subject: [PATCH 152/155] Apply ruff/flake8-pytest-style rule PT006 PT006 Wrong type passed to first argument of `pytest.mark.parametrize`; expected `tuple` --- codespell_lib/tests/test_dictionary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codespell_lib/tests/test_dictionary.py b/codespell_lib/tests/test_dictionary.py index 85a6b86b7e..617345d3b3 100644 --- a/codespell_lib/tests/test_dictionary.py +++ b/codespell_lib/tests/test_dictionary.py @@ -47,7 +47,7 @@ for d in _builtin_dictionaries ] fname_params = pytest.mark.parametrize( - "fname, in_aspell, in_dictionary", _fnames_in_aspell + ("fname", "in_aspell", "in_dictionary"), _fnames_in_aspell ) From 654b3ed08c510fd5cbf6cdb4af96e4976abd5dc8 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 13 Jan 2025 21:46:43 +0100 Subject: [PATCH 153/155] Run `ruff format` --- codespell_lib/_codespell.py | 10 ++++----- codespell_lib/tests/test_basic.py | 4 +--- codespell_lib/tests/test_dictionary.py | 30 +++++++++++++------------- 3 files changed, 20 insertions(+), 24 deletions(-) diff --git a/codespell_lib/_codespell.py b/codespell_lib/_codespell.py index 8e9165ff95..794009bf56 100644 --- a/codespell_lib/_codespell.py +++ b/codespell_lib/_codespell.py @@ -58,8 +58,7 @@ # these may occur unescaped in URIs, and so we are more restrictive on the # endpoint. Emails are more restrictive, so the endpoint remains flexible. uri_regex_def = ( - "(\\b(?:https?|[ts]?ftp|file|git|smb)://[^\\s]+(?=$|\\s)|" - "\\b[\\w.%+-]+@[\\w.-]+\\b)" + "(\\b(?:https?|[ts]?ftp|file|git|smb)://[^\\s]+(?=$|\\s)|\\b[\\w.%+-]+@[\\w.-]+\\b)" ) inline_ignore_regex = re.compile(r"[^\w\s]\s?codespell:ignore\b(\s+(?P[\w,]*))?") USAGE = """ @@ -763,9 +762,9 @@ def ask_for_word_fix( return misspelling.fix, fix_case(wrongword, misspelling.data) line_ui = ( - f"{line[:match.start()]}" + f"{line[: match.start()]}" f"{colors.WWORD}{wrongword}{colors.DISABLE}" - f"{line[match.end():]}" + f"{line[match.end() :]}" ) if misspelling.fix and interactivity & 1: @@ -1057,8 +1056,7 @@ def parse_file( print_context(lines, i, context) if filename != "-": print( - f"{cfilename}:{cline}: {cwrongword} " - f"==> {crightword}{creason}" + f"{cfilename}:{cline}: {cwrongword} ==> {crightword}{creason}" ) elif options.stdin_single_line: print(f"{cline}: {cwrongword} ==> {crightword}{creason}") diff --git a/codespell_lib/tests/test_basic.py b/codespell_lib/tests/test_basic.py index 69aac176f5..a6c05fc089 100644 --- a/codespell_lib/tests/test_basic.py +++ b/codespell_lib/tests/test_basic.py @@ -368,9 +368,7 @@ def test_ignore_words_with_cases( """Test case-sensitivity implemented for -I and -L options in #3272.""" bad_name = tmp_path / "MIS.txt" bad_name.write_text( - "1 MIS (Management Information System) 1\n" - "2 Les Mis (1980 musical) 2\n" - "3 mis 3\n" + "1 MIS (Management Information System) 1\n2 Les Mis (1980 musical) 2\n3 mis 3\n" ) assert cs.main(bad_name) == 3 assert cs.main(bad_name, "-f") == 4 diff --git a/codespell_lib/tests/test_dictionary.py b/codespell_lib/tests/test_dictionary.py index 617345d3b3..8270087116 100644 --- a/codespell_lib/tests/test_dictionary.py +++ b/codespell_lib/tests/test_dictionary.py @@ -144,9 +144,9 @@ def _check_err_rep( assert whitespace.search(err) is None, f"error {err!r} has whitespace" assert "," not in err, f"error {err!r} has a comma" assert len(rep) > 0, f"error {err}: correction {rep!r} must be non-empty" - assert not start_whitespace.match( - rep - ), f"error {err}: correction {rep!r} cannot start with whitespace" + assert not start_whitespace.match(rep), ( + f"error {err}: correction {rep!r} cannot start with whitespace" + ) _check_aspell(err, f"error {err!r}", in_aspell[0], fname, languages[0]) prefix = f"error {err}: correction {rep!r}" for regex, msg in ( @@ -166,9 +166,9 @@ def _check_err_rep( assert not regex.search(rep), msg % (prefix,) del msg if rep.count(","): - assert rep.endswith( - "," - ), f'error {err}: multiple corrections must end with trailing ","' + assert rep.endswith(","), ( + f'error {err}: multiple corrections must end with trailing ","' + ) reps = [r.strip() for r in rep.split(",")] reps = [r for r in reps if len(r)] for r in reps: @@ -185,9 +185,9 @@ def _check_err_rep( # we could ignore the case, but that would miss things like days of the # week which we want to be correct reps = [r.lower() for r in reps] - assert len(set(reps)) == len( - reps - ), f'error {err}: corrections "{rep}" are not (lower-case) unique' + assert len(set(reps)) == len(reps), ( + f'error {err}: corrections "{rep}" are not (lower-case) unique' + ) @pytest.mark.parametrize( @@ -307,18 +307,18 @@ def test_dictionary_looping( for line in fid: err, rep = line.split("->") err = err.lower() - assert ( - err not in this_err_dict - ), f"error {err!r} already exists in {short_fname}" + assert err not in this_err_dict, ( + f"error {err!r} already exists in {short_fname}" + ) rep = rep.rstrip("\n") reps = [r.strip() for r in rep.lower().split(",")] reps = [r for r in reps if len(r)] this_err_dict[err] = reps # 1. check the dict against itself (diagonal) for err, reps in this_err_dict.items(): - assert word_regex.fullmatch( - err - ), f"error {err!r} does not match default word regex '{word_regex_def}'" + assert word_regex.fullmatch(err), ( + f"error {err!r} does not match default word regex '{word_regex_def}'" + ) for r in reps: assert r not in this_err_dict, ( f"error {err}: correction {r} is an error itself " From c6bdc1fda5bb0f394290eca457cbd536fd0d4022 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Tue, 10 Dec 2024 11:07:03 +0100 Subject: [PATCH 154/155] [pre-commit.ci] autoupdate less frequently --- .pre-commit-config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 90e0f73318..6c43f392e1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -87,3 +87,6 @@ repos: - pytest - tomli - types-chardet + +ci: + autoupdate_schedule: monthly From db0100e9569b92719311a5bf6727ca1bb4664409 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 21 Jan 2025 19:43:49 +0100 Subject: [PATCH 155/155] Run pytest GitHub Action on an ARM processor (#3619) --- .github/workflows/codespell-private.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codespell-private.yml b/.github/workflows/codespell-private.yml index 44d2d11053..b77b2aa061 100644 --- a/.github/workflows/codespell-private.yml +++ b/.github/workflows/codespell-private.yml @@ -14,7 +14,7 @@ jobs: REQUIRE_ASPELL: true RUFF_OUTPUT_FORMAT: github # Make sure we're using the latest aspell dictionary - runs-on: ubuntu-latest + runs-on: ubuntu-24.04-arm timeout-minutes: 10 strategy: fail-fast: false