Skip to content

Commit

Permalink
Merge pull request #11 from eurobench/fix_yaml_linting
Browse files Browse the repository at this point in the history
add newline at the end of yaml files
  • Loading branch information
aremazeilles authored Nov 24, 2020
2 parents 641dcaa + 8cc8a96 commit 51e73ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def compute_duration(file_ja_name):
def store_result(file_out, value):

file = open(file_out, 'w')
file.write('type: \'scalar\'\nvalue: ' + format(value, '.5f'))
file.write('type: \'scalar\'\nvalue: ' + format(value, '.5f') + '\n')
file.close()

return True
Expand Down
2 changes: 1 addition & 1 deletion tests/data/output/pi_duration.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
type: 'scalar'
value: 9.76000
value: 9.76000

0 comments on commit 51e73ec

Please sign in to comment.