]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[pre-commit] add 'tomli' dependency for codespell pre-commit hook
authorRohr, Stephan <stephan.rohr@intel.com>
Tue, 28 Jul 2026 08:01:13 +0000 (10:01 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 28 Jul 2026 08:01:13 +0000 (10:01 +0200)
commitcd02e2a209482dd9fa06945ffec0675da7dfd74e
tree25b7264cac220ec17e769a347f65367f79ab6e38
parentfc3afcdce4245d5a084bc84b8f048c7c610b0d8d
[pre-commit] add 'tomli' dependency for codespell pre-commit hook

The codespell pre-commit hook imports the 'tomllib' module to parse
'pyproject.toml'.  'tomllib' is not available for Python versions 3.10
and older.  Add a dependency on 'tomli' so the hook also works on these
Python versions.

Approved-By: Tom de Vries <tdevries@suse.de>
.pre-commit-config.yaml