We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b719f4 commit ec7599cCopy full SHA for ec7599c
src/ansiblelint/yaml_utils.py
@@ -237,6 +237,8 @@ def _nested_items_path(
237
f"of type '{type(data_collection)}'"
238
)
239
for key, value in convert_data_collection_to_tuples():
240
+ if key in ("skipped_rules", "__file__", "__line__"):
241
+ continue
242
yield key, value, parent_path
243
if isinstance(value, (dict, list)):
244
yield from _nested_items_path(
0 commit comments