diff --git a/CHANGELOG.md b/CHANGELOG.md index e69de29..5b892b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -0,0 +1,11 @@ + + +## v0.1.0 (2018-12-19) + +### Drone + +* fix version grep and switch to stretch images for test steps +* add missing build dependencies +* add missing build-base to alpine python images +* prepare pipeline to allow parallel python versions testing + diff --git a/ansiblelater/rules/ansiblefiles.py b/ansiblelater/rules/ansiblefiles.py index 38fb992..f566b52 100644 --- a/ansiblelater/rules/ansiblefiles.py +++ b/ansiblelater/rules/ansiblefiles.py @@ -21,9 +21,9 @@ def check_braces_spaces(candidate, settings): match = braces.findall(line) if match: for item in match: - matches.append(item) + matches.append((item, lineno)) - for item in matches: + for item, lineno in matches: error_count = 0 string_length = len(item) strip_length = item.rstrip()