Skip to content

Commit

Permalink
Merge pull request #117 from elyezer/fix-114
Browse files Browse the repository at this point in the history
Improve validate-docstrings output
  • Loading branch information
sthirugn committed Jul 22, 2016
2 parents cbd61c3 + 9802a34 commit 316e77b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
install: pip install -r requirements-dev.txt .
script:
- make lint
Expand Down
3 changes: 2 additions & 1 deletion testimony/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@ def validate_docstring_report(testcases):
))
invalid_tags_docstring_count += 1
if issues:
result.setdefault(path, {})[testcase.name] = issues
result.setdefault(
path, collections.OrderedDict())[testcase.name] = issues
invalid_docstring_count += 1

if SETTINGS['json']:
Expand Down

0 comments on commit 316e77b

Please sign in to comment.