Skip to content

Commit

Permalink
Don't add a blank line after inline tables.
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Apr 9, 2021
1 parent d44cb26 commit b32a271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dom_toml/encoder.py
Expand Up @@ -90,7 +90,7 @@ def dump_inline_table(self, section): # noqa: D102
for k, v in section.items():
val_list.append(f"{k} = {self.dump_inline_table(v).rstrip()}")

return f"{{ {val_list:, } }}\n"
return f"{{ {val_list:, } }}"

else:
return str(self.dump_value(section))
Expand Down

0 comments on commit b32a271

Please sign in to comment.