Skip to content

Commit c7077a1

Browse files
committed
Make tomli addition limited on python version in effect in pre-commit
1 parent 4c62528 commit c7077a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codespellit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ EOF
7979
if [ "$config" = "pyproject.toml" ]; then
8080
cat >> .pre-commit-config.yaml <<EOF
8181
additional_dependencies:
82-
- tomli # for python_version < '3.11'
82+
- tomli; python_version<'3.11'
8383
EOF
8484
fi
8585
git add .pre-commit-config.yaml

0 commit comments

Comments
 (0)