code: def test_check_ignore_out_side_repo(tmp_dir, dvc):
      tmp_dir.gen(DvcIgnore.DVCIGNORE_FILE, "file")
      assert main(["check-ignore", "-q", "../file"]) == 1
  
file_path: dvc/tests/func/test_check_ignore.py
imports: import os
  import pytest
  from dvc.cli import main
  from dvc.ignore import DvcIgnore
label_desc: Use image node_id 7 for calling a global function with example usage: test_check_ignore_out_side_repo(tmp_dir, dvc) without return types