code: def test_cli_config_on_windows_issue_629(tmpdir):
      cfg_file = tmpdir.join("jupytext.yml")
      cfg_file.write(
          """formats: "notebooks///ipynb,scripts///py:percent"
  notebook_metadata_filter: "jupytext"
  """
      )
  
      tmpdir.mkdir("scripts").join("test.py").write("# %%\n 1+1\n")
  
      jupytext(["--sync", str(tmpdir.join("scripts").join("*.py"))])
  
      assert tmpdir.join("notebooks").join("test.ipynb").exists()
  
file_path: jupytext/tests/functional/cli/test_cli_config.py
imports: import nbformat
  import pytest
  from nbformat.v4.nbbase import new_code_cell, new_notebook
  from jupytext.cli import jupytext
  from jupytext.compare import compare
  from jupytext.header import header_to_metadata_and_cell
  from jupytext.jupytext import read, write
label_desc: Use image node_id 8 for calling a global function with example usage: test_cli_config_on_windows_issue_629(tmpdir) without return types