code: def test_sync_config_does_not_create_formats_metadata(
      tmpdir, cwd_tmpdir, python_notebook
  ):
      tmpdir.join("jupytext.yml").write(
          """formats: "ipynb,py:percent"
  """
      )
  
      write(python_notebook, "test.ipynb")
      jupytext(["--sync", "test.ipynb"])
  
      nb = read("test.py")
      assert "formats" not in nb.metadata["jupytext"]
  
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 9 for calling a global function with example usage: test_sync_config_does_not_create_formats_metadata(tmpdir, cwd_tmpdir, python_notebook) without return types