tomlkit
tomlkit copied to clipboard
Style-preserving TOML library for Python
Enable GitHub discussion and/or create chat anywhere
In an attempt to resolve the feature request issues i submitted: - #288 - #289 - #290 --- #### Summary: - add a `Array._multiline_indent: str` and expose it through a...
upd: or maybe it's because https://github.com/sdispater/tomlkit/issues/255#issuecomment-1407551898 > Copy and reassign breaks the structure Then the question is how to avoid breaking the structure on copy I'm using whitespace to vertically...
More or less a control for an `indent: str` when `Array._multiline == True`. The `Trivia.indent` doesn't seem be the right place because it's in reference to the parent container? Also,...
Hi there @sdispater , I've been improving the coverage on the Google OSS-Fuzz integration for Tomlkit to cover the `dumps` logic, see [#PR10046 https://github.com/ossf/fuzz-introspector](https://github.com/google/oss-fuzz/pull/10046) . There's some issues with the...
The tomlkit parser rejects the following document: ``` [[fruit]] # the issue disappears if [fruit] is a table instead of a table array apple.color = "red" [potato] # the issue...
This is exposed by the requirementslib testsuite or in isort: ``` [ 146s] _____________________________ test_pipfile_finder ______________________________ [ 146s] [ 146s] tmpdir = local('/tmp/pytest-of-abuild/pytest-0/test_pipfile_finder0') [ 146s] [ 146s] def test_pipfile_finder(tmpdir): [...
On building my packages I'm using `sphinx-build` command with `-n` switch which shows warmings about missing references. These are not critical issues. Here is the output with warnings: ```console +...
Is something alike jsonpath/xpath supported by this library? Something that would allow me to get/set the value of `plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options.SystemdCgroup` that is inside the document: ```toml version = 2 [plugins] [plugins."io.containerd.grpc.v1.cri"]...
I've updated toml-test for my distro (1.1.0). after that tomlkit's tests suite fails with: ``` =================================== FAILURES =================================== _____________ test_invalid_decode[table/append-with-dotted-keys-2] _____________ invalid_decode_case = {'toml': '# This is the same issue...