Skip to content

Commit 2ef6126

Browse files
committed
pre-commit: tomli optional additional dependency
Issue: #
1 parent 6f8da97 commit 2ef6126

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@ repos:
3131
hooks:
3232
- id: codespell
3333
exclude: locale|kickstarter-announcement.md|coreapi-0.1.1.js
34+
additional_dependencies:
35+
# python doesn't come with a toml parser prior to 3.11
36+
- "tomli; python_version < '3.11'"

0 commit comments

Comments
 (0)