mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 10:01:46 +04:00
Use tomllib/tomli/tomli-w instead of toml
toml has issue parsing newer toml files, and most of python ecosystem moved to tomllib (builtin in python 3.11) with tomli for backward support, with tomli-w used for writing. Upstream of toml is also less active. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
parent
5c9e844104
commit
7acefc3d39
2 changed files with 10 additions and 5 deletions
|
|
@ -23,7 +23,8 @@ install_requires =
|
|||
identify>=1.0.0
|
||||
nodeenv>=0.11.1
|
||||
pyyaml>=5.1
|
||||
toml
|
||||
tomli-w
|
||||
tomli;python_version<"3.11"
|
||||
virtualenv>=20.10.0
|
||||
importlib-metadata;python_version<"3.8"
|
||||
python_requires = >=3.7
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue