code: def test_init_no_scm_api(tmp_dir):
      repo = DvcRepo.init(no_scm=True)
  
      assert (tmp_dir / DvcRepo.DVC_DIR).is_dir()
      assert repo.config["core"]["no_scm"]
  
file_path: dvc/tests/func/test_init.py
imports: import logging
  import os
  import pytest
  from dvc.cli import main
  from dvc.config import Config
  from dvc.exceptions import InitError
  from dvc.repo import Repo
label_desc: Use image node_id 6 for calling a global function with example usage: test_init_no_scm_api(tmp_dir) without return types