MCPcopy Create free account

hub / github.com/jupytext/jupytext / functions

Functions1,277 in github.com/jupytext/jupytext

Functionsample_notebook_v4_99
()
tests/functional/others/test_nbformat_version.py:22
Functionsample_viewer_config
()
tests/unit/test_labconfig.py:9
Methodsave_one_file
(path, fmt)
src/jupytext/async_contentsmanager.py:132
Methodsave_one_file
(path, fmt)
src/jupytext/sync_contentsmanager.py:145
Functionscript_to_ipynb
(request)
tests/conftest.py:333
Functionsettings_file
(tmp_path)
tests/unit/test_labconfig.py:31
Functionsingle_line
(msg, *args, **kwargs)
src/jupytext/cli.py:465
Functionsphinx_file
(request)
tests/conftest.py:411
Functionsystem_
(*args)
tests/external/pre_commit/test_pre_commit_scripts.py:32
Functiontemp_folder_tree
Fixture that creates a temporary folder tree. tmp_path is a pytest built-in fixture that auto-cleans up.
tests/functional/config/test_config.py:27
Functiontest_339_ipynb
(tmpdir, cwd_tmpdir, fmt)
tests/functional/cli/test_cli.py:854
Functiontest_339_py
Test that an incorrect round trip conversion on the text file is detected
tests/functional/cli/test_cli.py:862
Functiontest_339_require_to
Test that the `--to` argument is asked for when a `--test` command is provided
tests/functional/cli/test_cli.py:879
Functiontest_399_to_script_then_set_formats
(tmpdir, cwd_tmpdir)
tests/functional/cli/test_cli.py:885
Functiontest_Rmd_to_ipynb
(rmd_file, no_jupytext_version_number)
tests/external/round_trip/test_mirror_external.py:37
Functiontest_active_all
(ext, no_jupytext_version_number)
tests/functional/others/test_active_cells.py:73
Functiontest_active_cells_from_py_light
Example adapted from https://github.com/mwouts/jupytext/issues/477
tests/functional/others/test_active_cells.py:348
Functiontest_active_cells_from_py_percent
Example taken from https://github.com/mwouts/jupytext/issues/477
tests/functional/others/test_active_cells.py:272
Functiontest_active_ipynb
(ext, no_jupytext_version_number)
tests/functional/others/test_active_cells.py:107
Functiontest_active_ipynb_rmd_using_tags
(ext, no_jupytext_version_number)
tests/functional/others/test_active_cells.py:141
Functiontest_active_ipynb_rspin
(no_jupytext_version_number)
tests/functional/others/test_active_cells.py:160
Functiontest_active_not_include_rmd
(ext, no_jupytext_version_number)
tests/functional/others/test_active_cells.py:268
Functiontest_active_py_ipynb
(ext, no_jupytext_version_number)
tests/functional/others/test_active_cells.py:194
Functiontest_active_py_r_ipynb
(ext, no_jupytext_version_number)
tests/functional/others/test_active_cells.py:220
Functiontest_active_rmd
(ext, no_jupytext_version_number)
tests/functional/others/test_active_cells.py:244
Functiontest_active_tag
( text="""# + tags=["active-py"] interpreter = 'python' # + tags=["active-ipynb"] # interpreter = 'ipytho
tests/functional/simple_notebooks/test_read_simple_python.py:1073
Functiontest_add_cell_to_script_with_cell_markers
( no_jupytext_version_number, py='''# --- # jupyter: # jupytext: # formats: py:percent # cel
tests/functional/others/test_cell_markers.py:14
Functiontest_add_source_map
()
tests/functional/simple_notebooks/test_ipynb_to_myst.py:146
Functiontest_adjacent_regions
( script="""# region global # region innermost a = 1 b = 2 # endregion # endregion """, )
tests/functional/simple_notebooks/test_read_folding_markers.py:108
Functiontest_alert_inconsistent_versions
Jupytext refuses to sync two inconsistent notebooks
tests/external/pre_commit/test_pre_commit_mode.py:97
Functiontest_alert_untracked_alerts
(tmpdir, cwd_tmpdir, tmp_repo, capsys)
tests/external/pre_commit/test_pre_commit_mode.py:48
Functiontest_alert_untracked_alerts_for_modified
(tmpdir, cwd_tmpdir, tmp_repo, capsys)
tests/external/pre_commit/test_pre_commit_mode.py:78
Functiontest_alert_untracked_alerts_when_using_sync
(tmpdir, cwd_tmpdir, tmp_repo, capsys)
tests/external/pre_commit/test_pre_commit_mode.py:62
Functiontest_all_files_created
(ipynb_py_file, tmpdir, cm)
tests/functional/others/test_save_multiple.py:45
Functiontest_alternate_tree_four_five_backticks
( no_jupytext_version_number, nb=new_notebook( metadata={"main_language": "python"}, c
tests/unit/test_markdown_in_code_cells.py:87
Functiontest_apostrophe_in_parameter_1079
( rmd="""```{python some-name, param="Problem's"} a = 1 ``` """, )
tests/functional/simple_notebooks/test_read_simple_rmd.py:229
Functiontest_apply_black_and_sync_on_paired_notebook
(tmpdir, cwd_tmpdir, python_notebook)
tests/external/cli/test_black.py:135
Functiontest_apply_black_on_markdown_notebook
(tmpdir)
tests/external/cli/test_black.py:161
Functiontest_apply_black_on_python_notebooks
(tmpdir, cwd_tmpdir, ipynb_py_file)
tests/external/cli/test_black.py:16
Functiontest_apply_black_through_jupytext
(tmpdir, python_notebook)
tests/external/cli/test_black.py:88
Functiontest_as_version_has_appropriate_type
()
tests/functional/others/test_jupytext_read.py:7
Functiontest_async_and_sync_files_are_in_sync
(async_file, sync_file)
tests/functional/contents_manager/test_async_and_sync_contents_manager_are_in_sync.py:46
Functiontest_attribute
(allow_title)
tests/functional/others/test_cell_metadata.py:173
Functiontest_auto_from_kernelspecs_works
(ipynb_file)
tests/functional/others/test_auto_ext.py:25
Functiontest_auto_in_fmt
(ipynb_py_R_file)
tests/functional/others/test_auto_ext.py:7
Functiontest_auto_in_formats
(ipynb_py_R_jl_file)
tests/functional/others/test_auto_ext.py:44
Functiontest_bad_code_metadata
Test exception raised if cell metadata cannot be parsed.
tests/functional/simple_notebooks/test_ipynb_to_myst.py:43
Functiontest_bad_markdown_metadata
Test exception raised if markdown metadata cannot be parsed.
tests/functional/simple_notebooks/test_ipynb_to_myst.py:60
Functiontest_bad_markdown_metadata2
Test exception raised if markdown metadata is not a dict.
tests/functional/simple_notebooks/test_ipynb_to_myst.py:73
Functiontest_bad_notebook_metadata
Test exception raised if notebook metadata cannot be parsed.
tests/functional/simple_notebooks/test_ipynb_to_myst.py:28
Functiontest_base_path
()
tests/unit/test_paired_paths.py:33
Functiontest_base_path_dotdot
()
tests/unit/test_paired_paths.py:40
Functiontest_base_path_in_tree_from_non_root
()
tests/unit/test_paired_paths.py:56
Functiontest_base_path_in_tree_from_non_root_no_subfolder
()
tests/unit/test_paired_paths.py:61
Functiontest_base_path_in_tree_from_root
()
tests/unit/test_paired_paths.py:50
Functiontest_base_path_os_sep
(os_sep)
tests/unit/test_paired_paths.py:345
Functiontest_bibliography_in_rmd
( rmd="""Issue #1161 The bibliography section below should not become a code cell ```{bibliography} ```
tests/functional/simple_notebooks/test_read_simple_rmd.py:261
Functiontest_black_invariant
()
tests/external/cli/test_black.py:44
Functiontest_black_through_tempfile
( tmpdir, text="""```python 1 + 2 \ + 3 ``` """, black="""```python 1 + 2 + 3 ``` """, )
tests/external/cli/test_black.py:197
Functiontest_build_options
(options, language, metadata)
tests/functional/others/test_cell_metadata.py:72
Functiontest_build_options_random_order
(options, language, metadata)
tests/functional/others/test_cell_metadata.py:77
Functiontest_cat_execute_does_not_update_the_metadata
(sample_md_notebook, tmp_path)
tests/integration/cli/test_execute.py:271
Functiontest_cell_ends_with_code
()
tests/unit/test_pep8.py:24
Functiontest_cell_ends_with_function_or_class
()
tests/unit/test_pep8.py:28
Functiontest_cell_id_is_not_random
()
tests/unit/test_cell_id.py:4
Functiontest_cell_ids_differ
()
tests/unit/test_compare.py:298
Functiontest_cell_marker_has_same_indentation_as_code
The cell marker should have the same indentation as the first code line. See issue #562
tests/functional/simple_notebooks/test_read_simple_percent.py:531
Functiontest_cell_markers_in_config
(tmpdir, python_notebook, cm)
tests/functional/simple_notebooks/test_read_simple_percent.py:379
Functiontest_cell_markers_in_contents_manager
(tmpdir, cm)
tests/functional/simple_notebooks/test_read_simple_percent.py:403
Functiontest_cell_markers_in_contents_manager_does_not_impact_light_format
(tmpdir, cm)
tests/functional/simple_notebooks/test_read_simple_percent.py:446
Functiontest_cell_markers_option_in_contents_manager
(tmpdir, cm)
tests/functional/simple_notebooks/test_read_simple_percent.py:336
Functiontest_cell_metadata_differ
()
tests/unit/test_compare.py:263
Functiontest_cell_metadata_filter_is_updated
()
tests/functional/metadata/test_metadata_filter.py:68
Functiontest_check_notebooks_left_or_right_black
(python_notebook, tmpdir, cwd_tmpdir)
tests/external/cli/test_cli_check.py:14
Functiontest_check_notebooks_left_or_right_not_black
(non_black_notebook, tmpdir, cwd_tmpdir)
tests/external/cli/test_cli_check.py:23
Functiontest_check_source_is_newer_when_using_jupytext_sync
(tmp_path, python_notebook)
tests/functional/cli/test_source_is_newer.py:37
Functiontest_check_source_is_newer_when_using_jupytext_to
(tmp_path, python_notebook)
tests/functional/cli/test_source_is_newer.py:12
Functiontest_cli_black_myst
( tmp_path, no_jupytext_version_number, text="""--- jupytext: formats: md:myst text_representa
tests/integration/cli/test_cli_pipe.py:8
Functiontest_cli_can_infer_jupytext_format
(ipynb_py_R_jl_file, ipynb_py_R_jl_ext, tmpdir, cwd_tmpdir)
tests/functional/cli/test_cli.py:550
Functiontest_cli_can_infer_jupytext_format_from_stdin
(ipynb_py_file, tmpdir, cwd_tmpdir)
tests/functional/cli/test_cli.py:590
Functiontest_cli_config_on_windows_issue_629
(tmpdir)
tests/functional/cli/test_cli_config.py:145
Functiontest_cli_expect_errors
(tmp_ipynb)
tests/functional/cli/test_cli.py:637
Functiontest_cli_multiple_files
(ipynb_py_R_jl_files)
tests/functional/cli/test_cli.py:38
Functiontest_cli_single_file
(ipynb_py_R_jl_file)
tests/functional/cli/test_cli.py:34
Functiontest_cli_sync_file_with_prefix_974
Only the files that are in the example directory and that start with 'example' should be paired
tests/functional/cli/test_cli.py:734
Functiontest_cli_sync_file_with_suffix
(tmpdir, cwd_tmpdir)
tests/functional/cli/test_cli.py:707
Functiontest_cli_to_auto
(ipynb_py_R_jl_file, ipynb_py_R_jl_ext, tmpdir, cwd_tmpdir)
tests/functional/cli/test_cli.py:579
Functiontest_cli_to_script
(ipynb_py_R_jl_file, ipynb_py_R_jl_ext, tmpdir, cwd_tmpdir)
tests/functional/cli/test_cli.py:568
Functiontest_cm_config_log_only_if_changed
(cwd_tmp_path, tmp_path, caplog, cm)
tests/integration/contents_manager/test_cm_config.py:227
Functiontest_cm_config_no_log
(cwd_tmp_path, tmp_path, caplog, cm)
tests/integration/contents_manager/test_cm_config.py:207
Functiontest_cm_paired_paths
(cm)
tests/unit/test_paired_paths.py:244
Functiontest_code_cell_with_metadata
( markdown="""```python tags=["parameters"] a = 1 b = 2 ``` """, )
tests/functional/simple_notebooks/test_read_simple_markdown.py:247
Functiontest_code_in_markdown_block
( rmd="""```{python} a = 1 b = 2 a + b ``` ```python '''Code here goes to a Markdown cell''' '''even if
tests/functional/simple_notebooks/test_read_incomplete_rmd.py:21
Functiontest_code_to_cell
()
tests/functional/others/test_cells.py:176
Functiontest_combine
()
tests/functional/others/test_combine.py:12
Functiontest_combine_attachments
()
tests/functional/others/test_combine.py:211
Functiontest_combine_lower_version_raises
(tmpdir, cm)
tests/integration/contents_manager/test_load_multiple.py:40
Functiontest_combine_lower_version_raises
(tmpdir)
tests/functional/cli/test_cli.py:255
Functiontest_combine_md_version_one
()
tests/functional/simple_notebooks/test_read_simple_markdown.py:432
Functiontest_combine_refactor
()
tests/functional/others/test_combine.py:196
← previousnext →501–600 of 1,277, ranked by callers