Landing: cd02e2a20948
Project / Subsystem
binutils / binutils/pre-commit
Date
2026-07-28
Author
Tom de Vries <vries@sourceware.org>
Commit
cd02e2a209482dd9fa06945ffec0675da7dfd74e
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- binutils/pre-commit
- patch_id
- —
- commit_hash
- cd02e2a209482dd9fa06945ffec0675da7dfd74e
- source_type
- public_inbox
- headline
- Add 'tomli' dependency for codespell hook.
- tldr
- Ensures codespell pre-commit hook works on older Python versions by adding 'tomli' dependency.
- author
- Tom de Vries <vries@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • binutils
- • pre-commit
- • python
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-28T00:00:00.000Z
The codespell pre-commit hook requires the tomllib module to parse pyproject.toml files. As tomllib is only available in Python 3.11+, this commit adds the tomli dependency to the hook configuration. This ensures that codespell functions correctly on Python versions 3.10 and older.