You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow comments and empty lines in dictionary #3901
Traceback (most recent call last):
File "/home/vries/.cache/pre-commit/repoxmktmlyg/py_env-python3.13/bin/codespell", line 6, in <module>
sys.exit(_script_main())
~~~~~~~~~~~~^^
File "/home/vries/.cache/pre-commit/repoxmktmlyg/py_env-python3.13/lib/python3.13/site-packages/codespell_lib/_codespell.py", line 1234, in _script_main
return main(*sys.argv[1:])
File "/home/vries/.cache/pre-commit/repoxmktmlyg/py_env-python3.13/lib/python3.13/site-packages/codespell_lib/_codespell.py", line 1363, in main
build_dict(dictionary, misspellings, ignore_words)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vries/.cache/pre-commit/repoxmktmlyg/py_env-python3.13/lib/python3.13/site-packages/codespell_lib/_spellchecker.py", line 57, in build_dict
[key, data] = line.split("->")
^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 1)
Activity
AlightSoulmate commentedon Apr 14, 2026
Add validation to
build_dictloop incodespell_lib/_spellchecker.pyto prevent crashes:[gdb/contrib] Add missing copyright notices