commit | 293f5bd1f6625e27f1dced76ad5d0c0aed037c3c | [log] [tgz] |
---|---|---|
author | Aiden Nibali <dismaldenizen@gmail.com> | Wed Sep 20 18:33:50 2023 +1000 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Oct 25 14:06:17 2023 -0700 |
tree | ab857bac76850acff0a0b25f04b9634e6a24ff45 | |
parent | a0eaf71aed3c8af17f9d07be386d4c75ad82c9dd [diff] |
fix: Fix division for integers (#312) GitOrigin-RevId: 1b2a53f2757fd3bacbf67158e78379d1b92558b3 Change-Id: I97742b748e36a2d75eec68a4cc1c0f70648a55b8
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