pre-commit: tomli optional additional dependency

Issue: #
This commit is contained in:
Mathieu Dupuy 2024-10-16 13:51:27 +02:00
parent 6f8da971d6
commit 2ef61269ab
No known key found for this signature in database
GPG Key ID: 08C1D4F32506B23A

View File

@ -31,3 +31,6 @@ repos:
hooks:
- id: codespell
exclude: locale|kickstarter-announcement.md|coreapi-0.1.1.js
additional_dependencies:
# python doesn't come with a toml parser prior to 3.11
- "tomli; python_version < '3.11'"