Repository navigation
chore(deps): update dependency tomlkit to v0.15.2 - #312
Merged
Merged
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #312 +/- ##
==========================================
+ Coverage 50.24% 50.31% +0.06%
==========================================
Files 40 40
Lines 13203 13203
==========================================
+ Hits 6634 6643 +9
+ Misses 6569 6560 -9
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
==0.15.1→==0.15.2Release Notes
python-poetry/tomlkit (tomlkit)
v0.15.2Compare Source
Changed
\u001binstead of\e, which is only valid in TOML 1.1, so the output stays readable by TOML 1.0 parsers such astomllib. (#641)key_value()now raisesUnexpectedCharErroron anything other than whitespace or a comment after the pair, instead of silently discarding it (e.g.key_value("a = 1 b = 2")), matchingparse(). (#594)integer()given a string now validates it against the TOML integer grammar and keeps the original text, so grouping underscores (e.g.integer("1_000")) survivedumps(); strings that are not valid TOML integers (e.g."010") now raiseValueError. (#336)foldargument toDateTimeandTime, mirroring the stdlib, and carryfoldthroughitem(), arithmetic (including datetime subtraction) andunwrap(), so a folded local time no longer converts an hour off. (#619, #623, #626)[project]table; building from source now requirespoetry-core>=2.2.0. (#607, #609)Fixed
[a.b.c]then[a]withb.z = 1extends the implicita.bsuper-table rather than redefining it (stdlibtomllibaccepts it), so it now parses and round-trips instead of raisingRedefinition of an existing table. The concrete-table case ([a.b]then[a]b.z = 1) stays rejected. (#565)Eexponent after a leading-zero mantissa (e.g.0E2) being rejected as an invalid number while0e2parsed fine. (#586)Inf,NaN,-INF) being accepted; TOML only allows lowercaseinfandnan, so they now raiseParseError. (#628)item()reordering the keys of an inline table (dict-valued keys were forced last) under the defaultsort_keys=False. (#546)unwrap()moving a key to the end after its value was replaced (e.g.doc["b"] = 9), whiledumps()andkeys()kept the original order. (#591)", "separators emitting a bare","for the new entry, leaving the table inconsistently spaced (e.g.{x = 1, y = 2,z = 3}). (#595)key = [], placed and keyed relative to the nearest table header so it parses back into the same table. (#567)add_line(value, comment=...)) rendering its closing]on the comment line, producing unparseable output. (#580)del array[start:stop:step]with a negative or omitted bound removing the wrong elements from the rendered output. (#599)ValueError("slice assignment is not supported"). (#600)String.__add__splicing the appended text into a basic string without escaping it, so appending a quote or backslash produced invalid TOML. (#612)\rin a multiline basic string and rejected withInvalidStringErrorin a multiline literal string; CRLF line endings are left intact. (#539)datetime.timerendering with a UTC offset (e.g.07:32:00+02:00), which TOML local times do not allow; it now renders as a local time. (#613)+-0.0(e.g.-1.5times0), which does not parse. (#629)Boolitems never comparing equal to each other; they now compare by value. (#660)Configuration
📅 Schedule: (in timezone America/New_York)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.