Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/cfengine_cli/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,8 @@ def _lint_call(node: Node, state: State, location: str, syntax_data: SyntaxData)

qualified_name = _qualify(call, state.namespace)
if (
not state.inside_call
state.strict
and not state.inside_call
and qualified_name in state.bundles
and state.attribute_name not in IMPLIES_BODY
):
Expand All @@ -853,7 +854,8 @@ def _lint_call(node: Node, state: State, location: str, syntax_data: SyntaxData)
[_definition_hint("bundle", call, definitions)],
)
if (
not state.inside_call
state.strict
and not state.inside_call
and qualified_name in state.bodies
and state.attribute_name not in IMPLIES_BUNDLE
):
Expand Down
Loading