code: def test_ignore_unmatched_ignores(tmpdir, cwd_tmpdir):
      # Unmatched file
      file = "test.txt"
      tmpdir.join(file).write("Hello\n")
  
      # Run jupytext
      status = jupytext(
          [
              "--from",
              "ipynb",
              "--to",
              "py:light",
              "--pre-commit-mode",
              file,
          ]
      )
  
      assert status == 0
      assert not tmpdir.join("test.py").exists()
  
file_path: jupytext/tests/external/pre_commit/test_pre_commit_mode.py
imports: import os
  import time
  import pytest
  from nbformat.v4.nbbase import new_code_cell, new_markdown_cell, new_notebook
  from jupytext import read, write
  from jupytext.cli import get_timestamp, git_timestamp, is_untracked, jupytext
label_desc: Use image node_id 2 for calling a global function with example usage: test_ignore_unmatched_ignores(tmpdir, cwd_tmpdir) without return types