diff --git a/yamllint/rules/anchors.py b/yamllint/rules/anchors.py index 83f29db..343f38b 100644 --- a/yamllint/rules/anchors.py +++ b/yamllint/rules/anchors.py @@ -168,7 +168,7 @@ def check(conf, token, prev, next, nextnext, context): conf['forbid-unused-anchors']): if isinstance(token, yaml.AnchorToken): context['anchors'][token.value] = { - "line": token.start_mark.line, - "column": token.start_mark.column, - "used": False + 'line': token.start_mark.line, + 'column': token.start_mark.column, + 'used': False }