commit | 0ab4ecd04ebe09d03b4abf06afaca6b5733918e4 | [log] [tgz] |
---|---|---|
author | SamirAk <44325916+SamirPS@users.noreply.github.com> | Tue Aug 02 02:29:14 2022 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Oct 25 14:02:29 2023 -0700 |
tree | 4fb693e09240e1cd9de998c17229c6cd6035625f | |
parent | 9f89ef1e30401baa1fd54d7662827427c9288581 [diff] |
fix: change items.py to add float and int (#215) * change items.py to add float and int * Update items.py * Update * Update tomlkit/items.py Co-authored-by: Frost Ming <mianghong@gmail.com> * run lint Co-authored-by: Frost Ming <mianghong@gmail.com> GitOrigin-RevId: a639224f3b7d49f45576c2c036ae4bc90e4dec77 Change-Id: I8c02a333fbd58d552372b529cee30ff9882aa1d6
TOML Kit is a 1.0.0-compliant TOML library.
It includes a parser that preserves all comments, indentations, whitespace and internal element ordering, and makes them accessible and editable via an intuitive API.
You can also create new TOML documents from scratch using the provided helpers.
Part of the implementation has been adapted, improved and fixed from Molten.
See the documentation for more information.
If you are using Poetry, add tomlkit
to your pyproject.toml
file by using:
poetry add tomlkit
If not, you can use pip
:
pip install tomlkit
Please clone the repo with submodules with the following command git clone --recurse-submodules https://github.com/sdispater/tomlkit.git
. We need the submodule - toml-test
for running the tests.
You can run the tests with poetry run pytest -q tests