You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
context: I can use toml-sort as a TOML formatting tool with the --no-sort-tables option, haven't found anything better for Python so far. Just have to find a way to work this issue, and avoid orphaned comments like I described in: #59 (comment)
Possible workaround solution though ugly with some more comments added (with --spaces-indent-inline-array & --trailing-comma-inline-array options, of course):
# configure some things
[a.config]
list1 = [
"abc",
"def",
"ghi",
]
# ---value1 = 123# abc# ---# configure specific things for b
[b.config]
value2 = 456# ---list2 = [
7, # def8,
# ghi9,
]
I may try to develop & propose a better solution, time permitting.
The text was updated successfully, but these errors were encountered:
brody4hire
changed the title
more line spacing?
more line spacing (optional)?
Oct 6, 2023
I was hoping I could use
toml-sort
to maintain & preserve formatting of something like this:context: I can use
toml-sort
as a TOML formatting tool with the--no-sort-tables
option, haven't found anything better for Python so far. Just have to find a way to work this issue, and avoid orphaned comments like I described in: #59 (comment)Possible workaround solution though ugly with some more comments added (with
--spaces-indent-inline-array
&--trailing-comma-inline-array
options, of course):I may try to develop & propose a better solution, time permitting.
The text was updated successfully, but these errors were encountered: