MCPcopy Create free account

hub / github.com/jupytext/jupytext / functions

Functions1,277 in github.com/jupytext/jupytext

Functiontest_formats_semicolon_separated
Test semicolon-separated format strings
tests/functional/config/test_config.py:372
Functiontest_formats_toml_list_of_strings
Test TOML list with string format specifications
tests/functional/config/test_config.py:395
Functiontest_formats_with_suffix
(tmpdir)
tests/functional/cli/test_cli_config.py:41
Functiontest_full_path_dotdot
()
tests/unit/test_paired_paths.py:45
Functiontest_full_path_in_tree_from_non_root
()
tests/unit/test_paired_paths.py:81
Functiontest_full_path_in_tree_from_root
()
tests/unit/test_paired_paths.py:69
Functiontest_full_path_in_tree_from_root_no_subfolder
()
tests/unit/test_paired_paths.py:75
Functiontest_get_format_implementation
()
tests/unit/test_formats.py:117
Functiontest_git_timestamp
(tmpdir, cwd_tmpdir, tmp_repo)
tests/external/pre_commit/test_pre_commit_mode.py:161
Functiontest_glob_recursive
(tmpdir, cwd_tmpdir)
tests/functional/cli/test_cli.py:1113
Functiontest_global_auto_pairing_works_with_empty_notebook
(tmpdir, cm)
tests/integration/contents_manager/test_contentsmanager.py:835
Functiontest_global_config_file
(tmpdir, cm)
tests/integration/contents_manager/test_cm_config.py:106
Functiontest_global_pairing_allows_to_save_other_file_types
This is a another test for #157: local format can be used to deactivate the global pairing
tests/integration/contents_manager/test_contentsmanager.py:1079
Functiontest_guess_format
(py_marimo)
tests/external/test_marimo.py:31
Functiontest_guess_format_hydrogen
()
tests/unit/test_formats.py:62
Functiontest_guess_format_light
(python_file)
tests/unit/test_formats.py:21
Functiontest_guess_format_percent
(percent_file)
tests/unit/test_formats.py:26
Functiontest_guess_format_simple_hydrogen_with_magic
( nb="""# %% %time print("hello world!") """, )
tests/unit/test_formats.py:48
Functiontest_guess_format_simple_percent
( nb="""# %% print("hello world!") """, )
tests/unit/test_formats.py:31
Functiontest_guess_format_simple_percent_with_magic
( nb="""# %% # %time print("hello world!") """, )
tests/unit/test_formats.py:39
Functiontest_guess_format_sphinx
(sphinx_file)
tests/unit/test_formats.py:57
Functiontest_hash_changes_if_paired_file_is_edited
(tmp_path, cm, python_notebook)
tests/integration/contents_manager/test_contentsmanager.py:1868
Functiontest_header_in_html_comment
()
tests/unit/test_header.py:157
Functiontest_header_to_html_comment
(no_jupytext_version_number)
tests/unit/test_header.py:174
Functiontest_header_to_metadata_and_cell_blank_line
()
tests/unit/test_header.py:20
Functiontest_header_to_metadata_and_cell_metadata
()
tests/unit/test_header.py:63
Functiontest_header_to_metadata_and_cell_no_blank_line
()
tests/unit/test_header.py:42
Functiontest_hide_code_tag
( no_jupytext_version_number, nb=new_notebook( metadata={"jupytext": {"main_language": "matlab
tests/functional/simple_notebooks/test_read_simple_matlab.py:7
Functiontest_hide_code_tag_percent_format
( no_jupytext_version_number, nb=new_notebook( metadata={"jupytext": {"main_language": "matlab
tests/functional/simple_notebooks/test_read_simple_matlab.py:23
Functiontest_hide_notebook_metadata
Test the hide_notebook_metadata option
tests/functional/simple_notebooks/test_read_simple_markdown.py:890
Functiontest_hide_notebook_metadata
(tmpdir, no_jupytext_version_number)
tests/functional/cli/test_cli_config.py:112
Functiontest_hydrogen_to_ipynb
(hydrogen_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:87
Functiontest_identity_source_write_read
Test that writing the notebook with jupytext, and read again, is the same as removing outputs
tests/functional/simple_notebooks/test_ipynb_to_py.py:7
Functiontest_identity_source_write_read
Test that writing the notebook with R, and read again, is the same as removing outputs
tests/functional/simple_notebooks/test_ipynb_to_R.py:9
Functiontest_identity_source_write_read
Test that writing the notebook with rmd, and read again, is the same as removing outputs
tests/functional/simple_notebooks/test_ipynb_to_rmd.py:7
Functiontest_identity_source_write_read
(py_file)
tests/functional/round_trip/test_read_all_py.py:5
Functiontest_identity_write_read
Test that writing the notebook with ipynb, and read again, yields identity
tests/functional/round_trip/test_rmd_to_ipynb.py:5
Functiontest_ignore_metadata
()
tests/functional/others/test_cell_metadata.py:93
Functiontest_ignore_unmatched_ignores
(tmpdir, cwd_tmpdir)
tests/external/pre_commit/test_pre_commit_mode.py:36
Functiontest_inactive_cell
( text="""```python active="md" # This becomes a raw cell in Jupyter ``` """, expected=new_notebook(ce
tests/functional/simple_notebooks/test_read_simple_markdown.py:593
Functiontest_inactive_cell_using_noeval
( text="""This is text ```python .noeval # This is python code. # It should not become a code cell ``` ""
tests/functional/simple_notebooks/test_read_simple_markdown.py:619
Functiontest_inactive_cell_using_tag
( text="""```python tags=["active-md"] # This becomes a raw cell in Jupyter ``` """, expected=new_note
tests/functional/simple_notebooks/test_read_simple_markdown.py:606
Functiontest_incomplete_header
( rmd="""--- title: Incomplete header ```{python} 1+1 ``` """, )
tests/functional/simple_notebooks/test_read_incomplete_rmd.py:4
Functiontest_incorrect_config_message
(tmpdir, cfg_file, cfg_text, cm)
tests/integration/contents_manager/test_cm_config.py:91
Functiontest_incorrect_notebook_causes_early_exit
(tmpdir, cwd_tmpdir)
tests/functional/cli/test_cli.py:815
Functiontest_incorrectly_encoded
(text="this is an incorrect expression d={{4 b=3")
tests/functional/others/test_cell_metadata.py:195
Functiontest_incorrectly_encoded_json
(text='this is an incorrect expression {"d": "}')
tests/functional/others/test_cell_metadata.py:200
Functiontest_indented_bash_command
Reproduces https://github.com/mwouts/jupytext/issues/437
tests/functional/simple_notebooks/test_read_simple_python.py:1093
Functiontest_indented_code_is_not_split
()
tests/functional/simple_notebooks/test_read_simple_markdown.py:505
Functiontest_indented_comment
( text="""def f(): return 1 # f returns 1 def g(): return 2 # h returns 3 def h(): re
tests/functional/simple_notebooks/test_read_simple_python.py:89
Functiontest_indented_magic
()
tests/unit/test_escape_magics.py:267
Functiontest_indented_magic_commands
(script, cell)
tests/functional/simple_notebooks/test_read_simple_python.py:1181
Functiontest_indented_markers_are_ignored
( script="""# region global # region indented a = 1 b = 2 # endregion # endregion """, )
tests/functional/simple_notebooks/test_read_folding_markers.py:131
Functiontest_invalid_config_in_cm
(tmpdir, cm, cwd_tmpdir)
tests/integration/contents_manager/test_contentsmanager.py:1546
Functiontest_ipynb_is_ok
(rmd_file, tmpdir, cm)
tests/functional/others/test_save_multiple.py:31
Functiontest_ipynb_notebooks_can_be_trusted
(ipynb_py_file, tmpdir, no_jupytext_version_number, cm)
tests/functional/others/test_trust_notebook.py:52
Functiontest_ipynb_notebooks_can_be_trusted_even_with_metadata_filter
(ipynb_py_file, tmpdir, no_jupytext_version_number, cm)
tests/functional/others/test_trust_notebook.py:92
Functiontest_ipynb_to_R_spin
(ipynb_R_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:165
Functiontest_ipynb_to_Rmd
(ipynb_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:61
Functiontest_ipynb_to_hydrogen
(ipynb_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:40
Functiontest_ipynb_to_light
(ipynb_to_light, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:44
Functiontest_ipynb_to_marimo
(marimo_compatible_ipynb, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:49
Functiontest_ipynb_to_md
(ipynb_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:57
Functiontest_ipynb_to_myst
(ipynb_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:66
Functiontest_ipynb_to_pandoc
(ipynb_to_pandoc, no_jupytext_version_number)
tests/external/round_trip/test_mirror_external.py:13
Functiontest_ipynb_to_percent
(ipynb_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:36
Functiontest_ipynb_to_percent_to_light
(ipynb_file)
tests/functional/round_trip/test_mirror.py:124
Functiontest_ipynb_to_py_then_update_test
Reproduce https://github.com/mwouts/jupytext/issues/83
tests/functional/cli/test_cli.py:293
Functiontest_ipynb_to_python_sphinx
(ipynb_to_sphinx, no_jupytext_version_number)
tests/external/round_trip/test_mirror_external.py:26
Functiontest_ipynb_to_python_vim
(ipynb_py_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:141
Functiontest_ipynb_to_python_vscode
(ipynb_py_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:149
Functiontest_ipynb_to_quarto
( ipynb_to_quarto, no_jupytext_version_number, )
tests/external/round_trip/test_mirror_external.py:18
Functiontest_ipynb_to_r_light
(ipynb_R_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:157
Functiontest_ipynb_to_r_percent
(ipynb_R_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:161
Functiontest_ipynb_to_r_spin
(ipynb_R_file, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:169
Functiontest_ipynb_to_scheme_light
(ipynb_scheme_file, extension, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:174
Functiontest_ipynb_to_scheme_percent
(ipynb_scheme_file, extension, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:179
Functiontest_ipython_help_are_commented_297
( text="""# This is a markdown cell # that ends with a question: float? # The next cell is also a markdow
tests/functional/simple_notebooks/test_read_simple_python.py:507
Functiontest_is_untracked
(tmpdir, cwd_tmpdir, tmp_repo)
tests/external/pre_commit/test_pre_commit_mode.py:11
Functiontest_is_valid_metadata_key
(key)
tests/functional/others/test_cell_metadata.py:220
Functiontest_isolated_cell_with_magic
( pynb="""# --- # title: cell with isolated jupyter magic # --- # A magic command included in a markdown
tests/functional/simple_notebooks/test_read_simple_python.py:469
Functiontest_issue_1440
Test that jupytext finds the config file even in parent of cwd
tests/functional/config/test_config.py:42
Functiontest_jupyter_book_options_to_rmarkdown
By default, Jupyter Book tags are mapped to R Markdown options, and vice versa #337
tests/functional/others/test_hide_remove_input_outputs_rmarkdown.py:16
Functiontest_jupyter_cell_is_not_split
()
tests/functional/simple_notebooks/test_read_simple_markdown.py:470
Functiontest_jupytext_can_read_nbformat_3
( sample_notebook_v3_json, )
tests/functional/others/test_nbformat_version.py:28
Functiontest_jupytext_cli_bare
(tmpdir)
tests/functional/simple_notebooks/test_read_simple_nomarker.py:58
Functiontest_jupytext_commands_in_the_documentation_work
(tmpdir)
tests/external/docs/test_using_cli.py:17
Functiontest_jupytext_config_cli
(tmp_path)
tests/integration/jupytext_config/test_jupytext_config.py:4
Functiontest_jupytext_formats
(tmpdir, content_toml, formats_short_form)
tests/functional/config/test_config.py:192
Functiontest_jupytext_gives_a_meaningful_error_when_writing_nbformat_3
(sample_notebook_v3, fmt)
tests/functional/others/test_nbformat_version.py:40
Functiontest_jupytext_gives_a_meaningful_error_when_writing_nbformat_4_99
(sample_notebook_v4_99, fmt)
tests/functional/others/test_nbformat_version.py:51
Functiontest_jupytext_jupyter_fs_metamanager
Test the basic get/save functions of Jupytext with a fs manager https://github.com/mwouts/jupytext/issues/618
tests/external/jupyter_fs/test_jupyter_fs.py:42
Functiontest_jupytext_markdown_similar_to_nbconvert
Test that the nbconvert export for a notebook matches Jupytext's one
tests/functional/round_trip/test_jupytext_nbconvert_round_trip.py:38
Functiontest_jupytext_orders_root_metadata
( tmp_path, cm, md="""--- title: Quick test jupytext: formats: md:myst notebook_metadata_filte
tests/integration/contents_manager/test_contentsmanager.py:1942
Functiontest_jupytext_py_is_not_a_configuration_file
(tmpdir)
tests/functional/config/test_config.py:80
Functiontest_jupytext_same_as_knitr_spin
(r_spin_file, tmpdir)
tests/functional/simple_notebooks/test_knitr_spin.py:4
Functiontest_jupytext_set_formats_file_gives_an_informative_error
The user may type jupytext --set-formats notebook.md meaning jupytext --sync notebook.md
tests/functional/cli/test_cli.py:1067
Functiontest_jupytext_sync_preserves_cell_ids
(tmpdir, cwd_tmpdir, notebook_with_outputs)
tests/functional/cli/test_cli.py:1122
Functiontest_jupytext_sync_raises_on_synchronous_edits
(tmp_path, python_notebook, monkeypatch)
tests/functional/cli/test_synchronous_changes.py:15
Functiontest_jupytext_to_file_emits_a_warning
The user may type jupytext notebook.ipynb --to script.py meaning jupytext notebook.ipynb -o script.py
tests/functional/cli/test_cli.py:1048
← previousnext →701–800 of 1,277, ranked by callers