Drop whitespace when possible.
This commit is contained in:
parent
3ce1388137
commit
8d726cb49e
@ -62,7 +62,6 @@ class NewConfig:
|
|||||||
'replace_whitespace': False,
|
'replace_whitespace': False,
|
||||||
'break_long_words': False,
|
'break_long_words': False,
|
||||||
'break_on_hyphens': False,
|
'break_on_hyphens': False,
|
||||||
'drop_whitespace': False,
|
|
||||||
}
|
}
|
||||||
print(str(self))
|
print(str(self))
|
||||||
|
|
||||||
@ -129,6 +128,7 @@ class NewConfig:
|
|||||||
def _str_items(self, section):
|
def _str_items(self, section):
|
||||||
keyval_wrapper = textwrap.TextWrapper(initial_indent='',
|
keyval_wrapper = textwrap.TextWrapper(initial_indent='',
|
||||||
subsequent_indent=' ' * 4,
|
subsequent_indent=' ' * 4,
|
||||||
|
drop_whitespace = False,
|
||||||
**self._wrapper_args)
|
**self._wrapper_args)
|
||||||
lines = []
|
lines = []
|
||||||
for optname, option in section.items():
|
for optname, option in section.items():
|
||||||
|
Loading…
Reference in New Issue
Block a user