commit | 078e90bce9c178dcbe4f9acd065231f688241381 | [log] [tgz] |
---|---|---|
author | Christian Clauss <cclauss@me.com> | Tue Sep 27 03:47:09 2022 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Oct 25 14:03:30 2023 -0700 |
tree | 1a7320485b90ee6ad2c17a4c5066521cd07408f9 | |
parent | 4eefdcaa782e140346b4075353af02022b56a268 [diff] |
Add Python 3.11 release candidate 2 to the testing (#239) * Add Python 3.11 release candidate 2 to the testing Python 3.11 will be on average 22% faster than Python 3.10 so let’s give it a spin... https://www.python.org/download/pre-releases * python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11.0-rc - 3.11"] * Upgrade to Poetry v1.2.1 * strategy: fail-fast: false * if: startsWith(matrix.python-version, '3.11') * if: ! startsWith(matrix.python-version, '3.11') * if: !startsWith(matrix.python-version, '3.11') # no space GitOrigin-RevId: 611243e9da176191fc9f5ccdfab5539be9c18251 Change-Id: I7922d7c4b0a789fd73a8d6821087ba7848f0285d
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