fix wrong line number in ANSIBLE0004 rule
This commit is contained in:
parent
1ec1dac888
commit
b6126758a5
11
CHANGELOG.md
11
CHANGELOG.md
|
@ -0,0 +1,11 @@
|
|||
|
||||
<a name="v0.1.0"></a>
|
||||
## 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
|
||||
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue