(self, scope_kind: str, scope_id: str | None, source_node: dict)
| 454 | return chain if isinstance(chain, list) else [] |
| 455 | |
| 456 | def _using_in_scope(self, scope_kind: str, scope_id: str | None, source_node: dict) -> bool: |
| 457 | if scope_kind == "file": |
| 458 | return True |
| 459 | return scope_id is not None and scope_id in self._scope_chain(source_node) |
| 460 | |
| 461 | def _scopes_for(self, source_node: dict, source_file: str) -> list[str]: |
| 462 | def _append_unique(items: list[str], value: str) -> None: |
no test coverage detected