commit | 3c0b03c64354cd45ebd3d38541fe49f5607e0998 | [log] [tgz] |
---|---|---|
author | Frost Ming <mianghong@gmail.com> | Mon Aug 08 08:36:04 2022 +0800 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Oct 25 14:02:38 2023 -0700 |
tree | 5f9ff714d0129cbd08a1b8558c8d8e0fa02a3a2a | |
parent | 8db45a8e39b93272abdd18eaa48ac91361f1b310 [diff] |
fix: don't add header when removing items from a supertable (#219) GitOrigin-RevId: f5b1cdc8022d4f2f1c37f344daa49618e19731dc Change-Id: Ibff66375d04e7587faea14996977e76378f8957f
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