code: def test_show_no_repo(tmp_dir):
      tmp_dir.gen(
          {"foo": "foo", "params_file.yaml": "foo: bar\nxyz: val"}
      )
  
      dvc = Repo(uninitialized=True)
  
      assert dvc.params.show(targets=["params_file.yaml"]) == {
          "": {
              "data": {
                  "params_file.yaml": {
                      "data": {"foo": "bar", "xyz": "val"}
                  }
              }
          }
      }
  
file_path: dvc/tests/func/params/test_show.py
imports: from os.path import join
  import pytest
  from dvc.repo import Repo
  from dvc.repo.stage import PROJECT_FILE
label_desc: Use image node_id 10 for calling a global function with example usage: test_show_no_repo(tmp_dir) without return types