Skip to content

Commit

Permalink
fix. Remove unnecessary spaces from status in json summary. Closes #30.
Browse files Browse the repository at this point in the history
  • Loading branch information
tamere-allo-peter committed Mar 15, 2022
1 parent 3b28678 commit 0ec1ff4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[metadata]
version = 0.3.1
version = 0.3.2
name = yamlfixer-opt-nc
description = automates the fixing of problems reported by yamllint
long_description = file: README.md
Expand Down
4 changes: 2 additions & 2 deletions yamlfixer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import argparse
import json

__version__ = "0.3.1"
__version__ = "0.3.2"
__author__ = "OPT-NC"
__license__ = "GPLv3+"
__copyright__ = "Copyright (C) 2021-%s %s" % (time.strftime("%Y",
Expand Down Expand Up @@ -424,7 +424,7 @@ def statistics(self):
"details": {},
}
for (status, filename, issues, handled) in self.summary:
summarymapping["details"][filename] = {"status": status,
summarymapping["details"][filename] = {"status": status.strip(),
"issues": issues,
"handled": handled,
}
Expand Down

0 comments on commit 0ec1ff4

Please sign in to comment.