MCPcopy Create free account

hub / github.com/jupytext/jupytext / functions

Functions1,277 in github.com/jupytext/jupytext

Functiontest_combine_reorder
()
tests/functional/others/test_combine.py:147
Functiontest_combine_same_version_ok
(tmpdir, cm)
tests/integration/contents_manager/test_load_multiple.py:10
Functiontest_combine_same_version_ok
(tmpdir)
tests/functional/cli/test_cli.py:215
Functiontest_combine_split
()
tests/functional/others/test_combine.py:183
Functiontest_combine_stable
(ipynb_file)
tests/functional/others/test_combine.py:135
Functiontest_comma_in_metadata
(cell_metadata={"a": "b, c"})
tests/functional/simple_notebooks/test_read_simple_rmd.py:135
Functiontest_comment_bash_commands_in_python
(magic_cmd)
tests/unit/test_escape_magics.py:187
Functiontest_commented_magic
( go="""// %% // This is a commented magic // //gonb:%% // %% [markdown] // This is a commented magic in
tests/functional/simple_notebooks/test_read_simple_go.py:110
Functiontest_commented_triple_quote_1060
(line)
tests/functional/simple_notebooks/test_read_simple_rmd.py:243
Functiontest_comments_plus_code_work_in_active_cells_from_py_light_1131
( text="""# + tags=["active-py"] # this is a comment 1 + 1 """, )
tests/functional/others/test_active_cells.py:334
Functiontest_comments_plus_code_work_in_active_cells_from_py_percent_1131
( text="""# %% tags=["active-py"] # this is a comment 1 + 1 """, )
tests/functional/others/test_active_cells.py:320
Functiontest_comments_work_in_active_cells_from_py_light_1131
( text="""# + tags=["active-py"] # this is a comment """, )
tests/functional/others/test_active_cells.py:307
Functiontest_comments_work_in_active_cells_from_py_percent_1131
( text="""# %% tags=["active-py"] # this is a comment """, )
tests/functional/others/test_active_cells.py:294
Functiontest_compare_on_notebooks
(notebook_actual, notebook_expected)
tests/unit/test_compare.py:76
Functiontest_compress_formats
()
tests/unit/test_formats.py:211
Functiontest_config_file_is_called_just_once
(tmpdir, cm, n=2)
tests/integration/contents_manager/test_cm_config.py:37
Functiontest_config_jupytext_jupyter_fs_meta_manager
Test the configuration of Jupytext with a fs manager
tests/external/jupyter_fs/test_jupyter_fs.py:86
Functiontest_configuration_examples_from_documentation
Here we make sure that the config examples from https://jupytext.org/using/config/#global-pairing just work
tests/unit/test_formats.py:403
Functiontest_configure_magic
(no_jupytext_version_number)
tests/unit/test_escape_magics.py:247
Functiontest_conversion
Conversion to each landing page format matches the snapshot file.
tests/unit/test_landing_page_notebook.py:91
Functiontest_convert_and_update_preserves_notebook
(ipynb_py_file, fmt, tmpdir, cwd_tmpdir)
tests/functional/cli/test_cli.py:791
Functiontest_convert_invalid_md_file_fails
(invalid_md_file)
tests/functional/others/test_invalid_file.py:25
Functiontest_convert_multiple_file
(ipynb_py_files, tmpdir)
tests/functional/cli/test_cli.py:128
Functiontest_convert_single_file
(ipynb_or_rmd_file, tmpdir, capsys)
tests/functional/cli/test_cli.py:74
Functiontest_convert_single_file_in_place
(ipynb_py_file, tmpdir)
tests/functional/cli/test_cli.py:42
Functiontest_convert_single_file_in_place_m
(ipynb_py_file, tmpdir)
tests/functional/cli/test_cli.py:57
Functiontest_convert_to_percent_format
(ipynb_py_file, tmpdir)
tests/functional/cli/test_cli.py:333
Functiontest_convert_to_percent_format_and_keep_magics
(ipynb_py_file, tmpdir)
tests/functional/cli/test_cli.py:351
Functiontest_create_header_with_set_formats
Test jupytext --set-formats <format_name> #485
tests/functional/cli/test_cli.py:923
Functiontest_create_header_with_set_formats_and_set_kernel
Test jupytext --set-formats <format_name> --set-kernel - #485
tests/functional/cli/test_cli.py:938
Functiontest_create_mirror_file_if_missing
(tmpdir, no_jupytext_version_number)
tests/functional/round_trip/test_mirror.py:22
Functiontest_csharp_magics
(no_jupytext_version_number, lang)
tests/functional/simple_notebooks/test_read_simple_csharp.py:31
Functiontest_custom_cell_magics
( tmpdir, nb=new_notebook( cells=[ new_code_cell("%%sql -o tables -q\n SHOW TABLES
tests/functional/others/test_custom_cell_magics.py:9
Functiontest_custom_language_magics_config_file
custom_language_magics from jupytext.toml should allow md -> ipynb conversion
tests/functional/others/test_custom_language_magics.py:67
Functiontest_custom_language_magics_ipynb_to_md
Code cells with custom language magics are converted to code blocks in those languages
tests/functional/others/test_custom_language_magics.py:29
Functiontest_custom_language_magics_md_to_ipynb
Code blocks in custom language magics should be converted to code cells
tests/functional/others/test_custom_language_magics.py:9
Functiontest_custom_language_magics_not_markdown_cell
Without custom_language_magics, custom code blocks should remain as markdown cells
tests/functional/others/test_custom_language_magics.py:96
Functiontest_custom_language_magics_roundtrip
Round-trip: md with custom language magic -> ipynb -> md should preserve the code cell
tests/functional/others/test_custom_language_magics.py:44
Functiontest_custom_metadata
Here we test the addition of custom metadata, cf. https://github.com/mwouts/jupytext/issues/469
tests/functional/simple_notebooks/test_read_simple_markdown.py:856
Functiontest_decompress_formats
()
tests/unit/test_formats.py:194
Functiontest_default_config_has_priority_over_current_metadata
( tmpdir, text="""# %% some_metadata_key=5 1 + 1 """, )
tests/functional/metadata/test_metadata_filter.py:140
Functiontest_deprecated_formats_cause_warning
(tmpdir, content_toml="default_jupytext_formats = 'ipynb,md'")
tests/functional/config/test_config.py:200
Functiontest_deprecated_options_cause_warning
(tmpdir, option_name)
tests/functional/config/test_config.py:213
Functiontest_dict_in_metadata
(cell_metadata={"a": {"b": "c"}})
tests/functional/simple_notebooks/test_read_simple_rmd.py:139
Functiontest_dictionary_with_blank_lines_not_broken
( pynb="""# This is a markdown cell, and below # we have a long dictionary with blank lines # inside it d
tests/functional/simple_notebooks/test_read_simple_python.py:433
Functiontest_diff
(tmpdir, cwd_tmpdir, capsys)
tests/functional/cli/test_cli.py:1095
Functiontest_divine_format
()
tests/unit/test_formats.py:69
Functiontest_do_not_comment_bash_commands_in_R
(magic_cmd)
tests/unit/test_escape_magics.py:202
Functiontest_do_not_comment_python_cmds
(not_magic_cmd)
tests/unit/test_escape_magics.py:196
Functiontest_doc_files_are_notebooks
(doc_file)
tests/functional/docs/test_doc_files_are_notebooks.py:19
Functiontest_docstring_with_quadruple_quote
Reproduces https://github.com/mwouts/jupytext/issues/460
tests/functional/simple_notebooks/test_read_simple_percent.py:505
Functiontest_does_not_raise_on_blank_line_removed
()
tests/unit/test_compare.py:173
Functiontest_does_raise_on_split_markdown_cell
()
tests/unit/test_compare.py:148
Functiontest_dont_raise_on_different_outputs
()
tests/unit/test_compare.py:186
Functiontest_download_file_318
(tmpdir, cm)
tests/integration/contents_manager/test_contentsmanager.py:1564
Functiontest_doxygen_equation_markers
(tmpdir)
tests/functional/others/test_doxygen.py:47
Functiontest_doxygen_to_markdown
()
tests/functional/others/test_doxygen.py:26
Functiontest_duplicated_paths
()
tests/unit/test_paired_paths.py:237
Functiontest_empty_markdown_to_text
()
tests/functional/others/test_cells.py:149
Functiontest_empty_tags_are_not_saved_in_text_notebooks
(no_jupytext_version_number, python_notebook, fmt="py:percent")
tests/functional/others/test_cell_metadata.py:259
Functiontest_encoding_in_scripts_only
UTF encoding should not be added to markdown files
tests/functional/others/test_unicode.py:57
Functiontest_error_multiple_input
(tmp_ipynb)
tests/functional/cli/test_cli.py:200
Functiontest_error_no_action
(tmp_ipynb)
tests/functional/cli/test_cli.py:190
Functiontest_error_not_notebook_ext_input
(tmpdir, capsys)
tests/functional/cli/test_cli.py:148
Functiontest_error_not_notebook_ext_output
(tmp_ipynb, tmpdir)
tests/functional/cli/test_cli.py:177
Functiontest_error_not_notebook_ext_to
(tmp_ipynb)
tests/functional/cli/test_cli.py:172
Functiontest_error_not_same_ext
(tmp_ipynb, tmpdir)
tests/functional/cli/test_cli.py:185
Functiontest_error_opt_missing_equal
(tmp_ipynb)
tests/functional/cli/test_cli.py:205
Functiontest_error_unknown_opt
(tmp_ipynb)
tests/functional/cli/test_cli.py:210
Functiontest_error_update_not_ipynb
(tmp_py)
tests/functional/cli/test_cli.py:195
Functiontest_escape
(line)
tests/unit/test_escape_magics.py:33
Functiontest_escape_magic_only
(line)
tests/unit/test_escape_magics.py:39
Functiontest_escape_start_pattern
( ext, rnb="""#' The code start pattern '#+' can #' appear in code and markdown cells. #' In markdown
tests/functional/simple_notebooks/test_read_simple_R.py:148
Functiontest_escape_start_pattern
( pynb="""# The code start pattern '# +' can # appear in code and markdown cells. # In markdown cells it
tests/functional/simple_notebooks/test_read_simple_python.py:401
Functiontest_execute
(tmpdir, caplog, capsys)
tests/integration/cli/test_execute.py:76
Functiontest_execute_in_subfolder
(tmpdir, caplog, capsys)
tests/integration/cli/test_execute.py:180
Functiontest_execute_r
(tmpdir, caplog, capsys)
tests/integration/cli/test_execute.py:158
Functiontest_execute_readme_not_ok
(tmpdir)
tests/integration/cli/test_execute.py:115
Functiontest_execute_readme_ok
(tmpdir)
tests/integration/cli/test_execute.py:95
Functiontest_execute_sync
(tmpdir, caplog, capsys)
tests/integration/cli/test_execute.py:138
Functiontest_execute_text_file_does_update_the_metadata
(sample_md_notebook, tmp_path)
tests/integration/cli/test_execute.py:259
Functiontest_file_with_blank_lines
(blank_lines)
tests/functional/others/test_preserve_empty_cells.py:9
Functiontest_file_with_two_blank_line_end
( pynb="""import pandas """, )
tests/functional/simple_notebooks/test_read_simple_python.py:322
Functiontest_filter_jupytext_version_information_416
(python_notebook, cm, tmpdir, cwd_tmpdir)
tests/integration/contents_manager/test_contentsmanager.py:1659
Functiontest_filter_metadata
()
tests/functional/others/test_cell_metadata.py:99
Functiontest_filter_nested_metadata
()
tests/functional/metadata/test_metadata_filter.py:103
Functiontest_filter_out_execution_metadata
()
tests/functional/metadata/test_metadata_filter.py:118
Functiontest_find_jupytext_configuration_file
(tmpdir)
tests/functional/config/test_config.py:55
Functiontest_first_cell_markdown_191
()
tests/functional/simple_notebooks/test_read_simple_percent.py:228
Functiontest_fix_139
()
tests/unit/test_formats.py:286
Functiontest_force_comment_using_contents_manager
(tmpdir, cm)
tests/unit/test_escape_magics.py:138
Functiontest_force_escape_with_gbl_esc_flag
(line)
tests/unit/test_escape_magics.py:54
Functiontest_force_noescape
(line)
tests/unit/test_escape_magics.py:44
Functiontest_force_noescape_with_gbl_esc_flag
(line)
tests/unit/test_escape_magics.py:49
Functiontest_format_prefix_suffix
(tmpdir, cwd_tmpdir)
tests/functional/cli/test_cli.py:660
Functiontest_formats
(tmpdir)
tests/functional/cli/test_cli_config.py:28
Functiontest_formats_does_not_apply_to_config_file
(tmpdir)
tests/functional/cli/test_cli_config.py:56
Functiontest_formats_list_json
Test list-based formats with JSON config
tests/functional/config/test_config.py:348
Functiontest_formats_list_without_default
Test list-based formats without a default catchall
tests/functional/config/test_config.py:306
Functiontest_formats_list_yaml
Test list-based formats with YAML config
tests/functional/config/test_config.py:330
← previousnext →601–700 of 1,277, ranked by callers