diff --git a/codespell_lib/data/dictionary.txt b/codespell_lib/data/dictionary.txt index c1f00e5aef..e03a4fc7de 100644 --- a/codespell_lib/data/dictionary.txt +++ b/codespell_lib/data/dictionary.txt @@ -18362,8 +18362,8 @@ jpng->png, jpg, jpeg, jscipt->jscript jstu->just jsut->just -Juadaism->Judaism -Juadism->Judaism +juadaism->Judaism +juadism->Judaism judical->judicial judisuary->judiciary juducial->judicial @@ -18372,6 +18372,7 @@ jumo->jump jumoed->jumped jumpimng->jumping jumpt->jumped, jump, +jupyther->Jupyter juristiction->jurisdiction juristictions->jurisdictions jus->just diff --git a/codespell_lib/data/dictionary_code.txt b/codespell_lib/data/dictionary_code.txt index 3e103e69cf..c8a831ec75 100644 --- a/codespell_lib/data/dictionary_code.txt +++ b/codespell_lib/data/dictionary_code.txt @@ -26,7 +26,7 @@ iam->I am, aim, iff->if isenough->is enough ith->with -Jupyther->Jupyter +jupyter->Jupiter keyserver->key server lateset->latest movei->movie diff --git a/codespell_lib/tests/test_dictionary.py b/codespell_lib/tests/test_dictionary.py index 5825419ffd..6d246d35ac 100644 --- a/codespell_lib/tests/test_dictionary.py +++ b/codespell_lib/tests/test_dictionary.py @@ -194,7 +194,9 @@ def test_error_checking_in_aspell(err, rep, err_aspell, rep_aspell, match): # allow some duplicates, like "m-i-n-i-m-i-s-e", or "c-a-l-c-u-l-a-t-a-b-l-e" +# correction in left can appear as typo in right allowed_dups = { + ('dictionary.txt', 'dictionary_code.txt'), ('dictionary.txt', 'dictionary_en-GB_to_en-US.txt'), ('dictionary.txt', 'dictionary_names.txt'), ('dictionary.txt', 'dictionary_rare.txt'),