Skip to content

Commit

Permalink
no trailing whitespace for baseline output
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Loo committed Sep 28, 2018
1 parent 1198523 commit 658ad0d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions detect_secrets/core/audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ def _save_baseline_to_file(filename, data): # pragma: no cover
data,
indent=2,
sort_keys=True,
separators=(',', ': '),
))


Expand Down
1 change: 1 addition & 0 deletions detect_secrets/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def main(argv=None):
_perform_scan(args, plugins),
indent=2,
sort_keys=True,
separators=(',', ': '),
)

if args.import_filename:
Expand Down
1 change: 1 addition & 0 deletions detect_secrets/pre_commit_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def _write_to_baseline_file(filename, payload): # pragma: no cover
payload,
indent=2,
sort_keys=True,
separators=(',', ': '),
),
)

Expand Down

0 comments on commit 658ad0d

Please sign in to comment.