Skip to content

Commit

Permalink
break too long string values correct
Browse files Browse the repository at this point in the history
  • Loading branch information
lindt committed Oct 21, 2016
1 parent d47eade commit 9c00f87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compose_format/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def is_legacy_version(data):

vspacing = [1, 0] if is_legacy_version(data) else [0, 1, 0]

formatted = pyaml.dump(data, vspacing=vspacing, indent=2, width=119, string_val_style='plain')
formatted = pyaml.dump(data, vspacing=vspacing, indent=2, width=110, string_val_style='plain')
return formatted.strip() + '\n'

@staticmethod
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def readme():

setup(
name='compose_format',
version='0.2.0',
version='0.2.1',
description='format docker-compose files',
long_description=readme(),
url='http://github.com/funkwerk/compose_format',
Expand Down

0 comments on commit 9c00f87

Please sign in to comment.