We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3795e20 commit d29639eCopy full SHA for d29639e
2 files changed
codespell_lib/gen_OX.sh
@@ -1,5 +1,6 @@
1
#!/bin/bash
2
3
+
4
SUFFIXES=(
5
"ize"
6
"izes"
codespell_lib/tests/test_dictionary.py
@@ -337,10 +337,8 @@ def test_dictionary_looping(
337
global_pairs.add(pair)
338
for other_fname, other_err_dict in global_err_dicts.items():
339
# error duplication (eventually maybe we should just merge?)
340
- for err in this_err_dict:
341
- assert (
342
- err not in other_err_dict or this_err_dict[err] != other_err_dict[err]
343
- ), (
+ for err, fix in this_err_dict.items():
+ assert err not in other_err_dict or fix == other_err_dict[err], (
344
f"error {err!r} in dictionary {short_fname} "
345
f"already exists in dictionary {other_fname}"
346
)
0 commit comments