mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-28 04:24:00 +03:00
pre-commit: tomli optional additional dependency
Issue: #
This commit is contained in:
parent
6f8da971d6
commit
2ef61269ab
|
@ -31,3 +31,6 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: codespell
|
- id: codespell
|
||||||
exclude: locale|kickstarter-announcement.md|coreapi-0.1.1.js
|
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'"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user