Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Nov 19, 2017
1 parent 34128f1 commit f4650fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .dictionary
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ builtins
docstrings
ebeweber
everyone's
facelesssuser
facelessuser
gforcada
installable
jinja
Expand Down
4 changes: 2 additions & 2 deletions tests/validate_json_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ def check_format(self, file_name):
for line in f:
indent_match = (RE_LINE_INDENT_TAB if self.use_tabs else RE_LINE_INDENT_SPACE).match(line)
end_comment = (
(comment_align is not None or (indent_match and indent_match.group(2)))
and RE_COMMENT_END.search(line)
(comment_align is not None or (indent_match and indent_match.group(2))) and
RE_COMMENT_END.search(line)
)
# Don't allow empty lines at file start.
if count == 1 and line.strip() == '':
Expand Down

0 comments on commit f4650fd

Please sign in to comment.