commit | 634584fd5efd6ba84eca5dcd57bbc801c8115c9d | [log] [tgz] |
---|---|---|
author | Frost Ming <mianghong@gmail.com> | Tue Sep 27 11:40:16 2022 +0800 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Oct 25 14:03:34 2023 -0700 |
tree | a60212acf7f89bfeb8571fe2e0ea45918780e1a8 | |
parent | 078e90bce9c178dcbe4f9acd065231f688241381 [diff] |
fix: workflow syntax (#241) GitOrigin-RevId: 5b7520371280e7770e98342bac2f754c604e2d8d Change-Id: I7b8b783f3f5dd2ff7c3f1342673bbde142dbf1d7
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