SYMBOL INDEX (1385 symbols across 182 files) FILE: demo/Benchmarking Jupytext.py function sample_perf (line 43) | def sample_perf(nb, n=30): function performance_plot (line 69) | def performance_plot(perf, title): FILE: jupyterlab/jupyterlab_jupytext/__init__.py function load_jupyter_server_extension (line 20) | def load_jupyter_server_extension(app): # pragma: no cover function _jupyter_labextension_paths (line 74) | def _jupyter_labextension_paths(): FILE: jupyterlab/packages/jupyterlab-jupytext-extension/src/commands.ts function getWidgetJupytextFormats (line 18) | function getWidgetJupytextFormats( function getNotebookFileExtension (line 38) | function getNotebookFileExtension(notebookTracker: INotebookTracker): st... function getSelectedFormats (line 56) | function getSelectedFormats(notebookTracker: INotebookTracker): Array([ constant JUPYTEXT_CREATE_TEXT_NOTEBOOK_FILETYPE_DATA (line 250) | const JUPYTEXT_CREATE_TEXT_NOTEBOOK_FILETYPE_DATA = new Map< constant JUPYTEXT_FORMATS (line 351) | const JUPYTEXT_FORMATS = Array.from( constant TEXT_NOTEBOOKS_LAUNCHER_ICONS (line 364) | const TEXT_NOTEBOOKS_LAUNCHER_ICONS = JUPYTEXT_FORMATS.filter( type IFileTypeData (line 375) | interface IFileTypeData { type IJupytextRepresentation (line 389) | interface IJupytextRepresentation { type IJupytextSection (line 397) | interface IJupytextSection { FILE: jupyterlab/packages/jupyterlab-jupytext-extension/src/utils.ts function getKernelIconBase64String (line 32) | async function getKernelIconBase64String( function base64ToSvgStr (line 48) | function base64ToSvgStr(width: number, imageBase64: string): string { function getKernelIcon (line 60) | async function getKernelIcon( function getAvailableKernelLanguages (line 107) | async function getAvailableKernelLanguages( function getAvailableCreateTextNotebookCommands (line 158) | async function getAvailableCreateTextNotebookCommands( FILE: jupyterlab/packages/jupyterlab-jupytext-extension/ui-tests/tests/jupytext-notebook.spec.ts function populateNotebook (line 60) | async function populateNotebook(extension, page) { FILE: jupyterlab/scripts/install_extension.py function main (line 18) | def main(): FILE: src/jupytext/async_contentsmanager.py function build_async_jupytext_contents_manager_class (line 50) | def build_async_jupytext_contents_manager_class(base_contents_manager_cl... FILE: src/jupytext/async_pairs.py function read_pair (line 10) | async def read_pair(inputs, outputs, read_one_file, must_match=False): function write_pair (line 32) | async def write_pair(path, formats, write_one_file): FILE: src/jupytext/cell_metadata.py class RLogicalValueError (line 65) | class RLogicalValueError(Exception): class RMarkdownOptionParsingError (line 69) | class RMarkdownOptionParsingError(Exception): function _py_logical_values (line 73) | def _py_logical_values(rbool): function metadata_to_rmd_options (line 81) | def metadata_to_rmd_options(language, metadata, use_runtools=False): function update_metadata_from_rmd_options (line 126) | def update_metadata_from_rmd_options(name, value, metadata, use_runtools... class ParsingContext (line 142) | class ParsingContext: method __init__ (line 153) | def __init__(self, line): method in_global_expression (line 156) | def in_global_expression(self): method count_special_chars (line 166) | def count_special_chars(self, char, prev_char): function parse_rmd_options (line 192) | def parse_rmd_options(line): function rmd_options_to_metadata (line 235) | def rmd_options_to_metadata(options, use_runtools=False): function try_eval_metadata (line 275) | def try_eval_metadata(metadata, name): function is_active (line 295) | def is_active(ext, metadata, default=True): function metadata_to_double_percent_options (line 307) | def metadata_to_double_percent_options(metadata, plain_json): function incorrectly_encoded_metadata (line 319) | def incorrectly_encoded_metadata(text): function is_identifier (line 324) | def is_identifier(text): function is_valid_metadata_key (line 328) | def is_valid_metadata_key(text): function is_jupyter_language (line 333) | def is_jupyter_language(language): function parse_key_equal_value (line 341) | def parse_key_equal_value(text): function relax_json_loads (line 388) | def relax_json_loads(text, catch=False): function is_json_metadata (line 407) | def is_json_metadata(text): function text_to_metadata (line 420) | def text_to_metadata(text, allow_title=False): function metadata_to_text (line 466) | def metadata_to_text(language_or_title, metadata=None, plain_json=False): FILE: src/jupytext/cell_reader.py function uncomment (line 34) | def uncomment(lines, prefix="#", suffix=""): function paragraph_is_fully_commented (line 65) | def paragraph_is_fully_commented(lines, comment, main_language): function next_code_is_indented (line 78) | def next_code_is_indented(lines): function count_lines_to_next_cell (line 87) | def count_lines_to_next_cell(cell_end_marker, next_cell_start, total, ex... function last_two_lines_blank (line 100) | def last_two_lines_blank(source): class BaseCellReader (line 107) | class BaseCellReader: method __init__ (line 123) | def __init__(self, fmt=None, default_language=None): method read (line 142) | def read(self, lines): method metadata_and_language_from_option_line (line 182) | def metadata_and_language_from_option_line(self, line): method options_to_metadata (line 188) | def options_to_metadata(self, options): method find_cell_end (line 192) | def find_cell_end(self, lines): method find_cell_content (line 197) | def find_cell_content(self, lines): method uncomment_code_and_magics (line 266) | def uncomment_code_and_magics(self, lines): method extract_content (line 270) | def extract_content(self, lines): class MarkdownCellReader (line 305) | class MarkdownCellReader(BaseCellReader): method __init__ (line 318) | def __init__(self, fmt=None, default_language=None): method metadata_and_language_from_option_line (line 328) | def metadata_and_language_from_option_line(self, line): method options_to_metadata (line 353) | def options_to_metadata(self, options): method find_cell_end (line 362) | def find_cell_end(self, lines): method uncomment_code_and_magics (line 453) | def uncomment_code_and_magics(self, lines): class RMarkdownCellReader (line 461) | class RMarkdownCellReader(MarkdownCellReader): method options_to_metadata (line 470) | def options_to_metadata(self, options): method uncomment_code_and_magics (line 473) | def uncomment_code_and_magics(self, lines): class ScriptCellReader (line 480) | class ScriptCellReader(BaseCellReader): # pylint: disable=W0223 method uncomment_code_and_magics (line 484) | def uncomment_code_and_magics(self, lines): class RScriptCellReader (line 511) | class RScriptCellReader(ScriptCellReader): method options_to_metadata (line 522) | def options_to_metadata(self, options): method find_cell_end (line 525) | def find_cell_end(self, lines): class LightScriptCellReader (line 573) | class LightScriptCellReader(ScriptCellReader): method __init__ (line 582) | def __init__(self, fmt=None, default_language=None): method metadata_and_language_from_option_line (line 598) | def metadata_and_language_from_option_line(self, line): method options_to_metadata (line 622) | def options_to_metadata(self, options): method find_cell_end (line 652) | def find_cell_end(self, lines): method find_region_end (line 673) | def find_region_end(self, lines): class DoublePercentScriptCellReader (line 724) | class DoublePercentScriptCellReader(LightScriptCellReader): method __init__ (line 729) | def __init__(self, fmt, default_language=None): method metadata_and_language_from_option_line (line 739) | def metadata_and_language_from_option_line(self, line): method find_cell_content (line 748) | def find_cell_content(self, lines): method find_cell_end (line 768) | def find_cell_end(self, lines): class HydrogenCellReader (line 802) | class HydrogenCellReader(DoublePercentScriptCellReader): class SphinxGalleryScriptCellReader (line 808) | class SphinxGalleryScriptCellReader(ScriptCellReader): # pylint: disabl... method __init__ (line 818) | def __init__(self, fmt=None, default_language="python"): method start_of_new_markdown_cell (line 823) | def start_of_new_markdown_cell(self, line): method metadata_and_language_from_option_line (line 839) | def metadata_and_language_from_option_line(self, line): method find_cell_end (line 848) | def find_cell_end(self, lines): method find_cell_content (line 895) | def find_cell_content(self, lines): FILE: src/jupytext/cell_to_text.py function cell_source (line 22) | def cell_source(cell): function three_backticks_or_more (line 32) | def three_backticks_or_more(lines): class BaseCellExporter (line 48) | class BaseCellExporter: method __init__ (line 54) | def __init__(self, cell, default_language, fmt=None, unsupported_keys=... method is_code (line 98) | def is_code(self): method use_triple_quotes (line 110) | def use_triple_quotes(self): method cell_to_text (line 122) | def cell_to_text(self): method markdown_to_text (line 140) | def markdown_to_text(self, source): method code_to_text (line 181) | def code_to_text(self): method remove_eoc_marker (line 185) | def remove_eoc_marker(self, text, next_text): class MarkdownCellExporter (line 191) | class MarkdownCellExporter(BaseCellExporter): method __init__ (line 197) | def __init__(self, *args, **kwargs): method html_comment (line 201) | def html_comment(self, metadata, code="region"): method cell_to_text (line 215) | def cell_to_text(self): method code_to_text (line 234) | def code_to_text(self): class RMarkdownCellExporter (line 251) | class RMarkdownCellExporter(MarkdownCellExporter): method __init__ (line 257) | def __init__(self, *args, **kwargs): method code_to_text (line 262) | def code_to_text(self): function endofcell_marker (line 280) | def endofcell_marker(source, comment): class LightScriptCellExporter (line 292) | class LightScriptCellExporter(BaseCellExporter): method __init__ (line 300) | def __init__(self, *args, **kwargs): method is_code (line 315) | def is_code(self): method code_to_text (line 327) | def code_to_text(self): method explicit_start_marker (line 361) | def explicit_start_marker(self, source): method remove_eoc_marker (line 381) | def remove_eoc_marker(self, text, next_text): class BareScriptCellExporter (line 408) | class BareScriptCellExporter(LightScriptCellExporter): class RScriptCellExporter (line 414) | class RScriptCellExporter(BaseCellExporter): method __init__ (line 419) | def __init__(self, *args, **kwargs): method code_to_text (line 423) | def code_to_text(self): class DoublePercentCellExporter (line 445) | class DoublePercentCellExporter(BaseCellExporter): # pylint: disable=W0223 method __init__ (line 451) | def __init__(self, *args, **kwargs): method cell_to_text (line 455) | def cell_to_text(self): class HydrogenCellExporter (line 492) | class HydrogenCellExporter(DoublePercentCellExporter): # pylint: disabl... class SphinxGalleryCellExporter (line 499) | class SphinxGalleryCellExporter(BaseCellExporter): # pylint: disable=W0223 method __init__ (line 506) | def __init__(self, *args, **kwargs): method cell_to_text (line 520) | def cell_to_text(self): FILE: src/jupytext/cli.py function system (line 53) | def system(*args, **kwargs): function tool_version (line 63) | def tool_version(tool): function str2bool (line 72) | def str2bool(value): function parse_jupytext_args (line 84) | def parse_jupytext_args(args=None): function jupytext (line 342) | def jupytext(args=None): function jupytext_single_file (line 502) | def jupytext_single_file(nb_file, args, log): function notebooks_in_git_index (line 967) | def notebooks_in_git_index(fmt): function is_untracked (line 984) | def is_untracked(filepath): function print_paired_paths (line 1000) | def print_paired_paths(nb_file, fmt): function set_format_options (line 1009) | def set_format_options(fmt, format_options): function set_prefix_and_suffix (line 1031) | def set_prefix_and_suffix(fmt, formats, nb_file): class NotAPairedNotebook (line 1043) | class NotAPairedNotebook(ValueError): class InconsistentVersions (line 1047) | class InconsistentVersions(ValueError): function file_in_git_index (line 1051) | def file_in_git_index(path): function git_timestamp (line 1057) | def git_timestamp(path): function get_timestamp (line 1082) | def get_timestamp(path: str) -> Optional[float]: class SynchronousModificationError (line 1088) | class SynchronousModificationError(OSError): class TimestampChecker (line 1092) | class TimestampChecker: method __init__ (line 1099) | def __init__(self, pre_commit_mode: bool = False): method get_and_check_timestamp (line 1103) | def get_and_check_timestamp(self, path: str) -> Optional[float]: method check_timestamp (line 1115) | def check_timestamp(self, path: str) -> Optional[float]: method update_timestamp (line 1132) | def update_timestamp(self, path: str): method check_all_timestamps (line 1138) | def check_all_timestamps(self): method check_file_is_newest (line 1142) | def check_file_is_newest(self, path: str) -> Optional[float]: function load_paired_notebook (line 1160) | def load_paired_notebook( function exec_command (line 1211) | def exec_command(command, input=None, capture=False, warn_only=False, qu... function pipe_notebook (line 1236) | def pipe_notebook( function execution_counts_are_in_order (line 1324) | def execution_counts_are_in_order(notebook): function code_cells_have_changed (line 1335) | def code_cells_have_changed(notebook, nb_files): FILE: src/jupytext/combine.py function black_invariant (line 16) | def black_invariant(text, chars=None): function same_content (line 26) | def same_content(ref, test, endswith=False): function combine_inputs_with_outputs (line 36) | def combine_inputs_with_outputs(nb_source, nb_outputs, fmt=None): function map_outputs_to_inputs (line 119) | def map_outputs_to_inputs(cells_inputs, cells_outputs): FILE: src/jupytext/compare.py function _multilines (line 21) | def _multilines(obj): function compare (line 31) | def compare(actual, expected, actual_name="actual", expected_name="expec... function filtered_cell (line 50) | def filtered_cell(cell, preserve_outputs, cell_metadata_filter): function filtered_notebook_metadata (line 66) | def filtered_notebook_metadata(notebook, ignore_kernelspec=False): class NotebookDifference (line 83) | class NotebookDifference(Exception): function same_content (line 87) | def same_content(ref_source, test_source, allow_removed_final_blank_line): function compare_notebooks (line 108) | def compare_notebooks( function compare_cells (line 175) | def compare_cells( function test_round_trip_conversion (line 317) | def test_round_trip_conversion(notebook, fmt, update, allow_expected_dif... function create_mirror_file_if_missing (line 335) | def create_mirror_file_if_missing(mirror_file, notebook, fmt): function assert_conversion_same_as_mirror (line 340) | def assert_conversion_same_as_mirror(nb_file, fmt, mirror_name, compare_... function notebook_model (line 407) | def notebook_model(nb): FILE: src/jupytext/config.py class JupytextConfigurationError (line 29) | class JupytextConfigurationError(ValueError): class JupytextConfiguration (line 48) | class JupytextConfiguration(Configurable): method set_default_format_options (line 176) | def set_default_format_options(self, format_options, read=False): method default_formats (line 220) | def default_formats(self, path): method __eq__ (line 241) | def __eq__(self, other): function preferred_format (line 249) | def preferred_format(incomplete_format, preferred_formats): function global_jupytext_configuration_directories (line 273) | def global_jupytext_configuration_directories(): function find_global_jupytext_configuration_file (line 300) | def find_global_jupytext_configuration_file(): function find_jupytext_configuration_file (line 311) | def find_jupytext_configuration_file(path: typing.Union[str, Path], sear... function parse_jupytext_configuration_file (line 344) | def parse_jupytext_configuration_file(jupytext_config_file, stream=None): function normalize_formats (line 369) | def normalize_formats(formats) -> list[str]: function load_jupytext_configuration_file (line 406) | def load_jupytext_configuration_file(config_file, stream=None): function load_jupytext_config (line 417) | def load_jupytext_config(nb_file): function validate_jupytext_configuration_file (line 428) | def validate_jupytext_configuration_file(config_file, config_dict): function notebook_formats (line 446) | def notebook_formats(nbk, config, path, fallback_on_current_fmt=True): function get_formats_from_notebook_and_config (line 492) | def get_formats_from_notebook_and_config(notebook, config, nb_file): FILE: src/jupytext/doxygen.py function markdown_to_doxygen (line 7) | def markdown_to_doxygen(string): function doxygen_to_markdown (line 14) | def doxygen_to_markdown(string): FILE: src/jupytext/formats.py class JupytextFormatError (line 48) | class JupytextFormatError(ValueError): class NotebookFormatDescription (line 52) | class NotebookFormatDescription: method __init__ (line 55) | def __init__( function get_format_implementation (line 251) | def get_format_implementation(ext, format_name=None): function read_metadata (line 272) | def read_metadata(text, ext): function read_format_from_metadata (line 299) | def read_format_from_metadata(text, ext): function guess_format (line 306) | def guess_format(text, ext): function divine_format (line 397) | def divine_format(text): function check_file_version (line 420) | def check_file_version(notebook, source_path, outputs_path): function format_name_for_ext (line 474) | def format_name_for_ext(metadata, ext, cm_default_formats=None, explicit... function identical_format_path (line 495) | def identical_format_path(fmt1, fmt2): function update_jupytext_formats_metadata (line 503) | def update_jupytext_formats_metadata(metadata, new_format): function rearrange_jupytext_metadata (line 518) | def rearrange_jupytext_metadata(metadata): function long_form_one_format (line 562) | def long_form_one_format(jupytext_format, metadata=None, update=None, au... function long_form_multiple_formats (line 634) | def long_form_multiple_formats( function short_form_one_format (line 659) | def short_form_one_format(jupytext_format: dict[str, str]) -> str: function short_form_multiple_formats (line 683) | def short_form_multiple_formats(jupytext_formats: list[dict[str, str]]) ... function validate_one_format (line 713) | def validate_one_format(jupytext_format: dict[str, str]) -> dict[str, str]: function auto_ext_from_metadata (line 748) | def auto_ext_from_metadata(metadata): function check_auto_ext (line 782) | def check_auto_ext(fmt, metadata, option): function formats_with_support_for_cell_metadata (line 801) | def formats_with_support_for_cell_metadata(): function get_formats_from_notebook_metadata (line 813) | def get_formats_from_notebook_metadata(notebook): FILE: src/jupytext/header.py function insert_or_test_version_number (line 38) | def insert_or_test_version_number(): function uncomment_line (line 44) | def uncomment_line(line, prefix, suffix=""): function encoding_and_executable (line 59) | def encoding_and_executable(notebook, metadata, ext): function insert_jupytext_info_and_filter_metadata (line 82) | def insert_jupytext_info_and_filter_metadata(metadata, fmt, text_format,... function metadata_and_cell_to_header (line 105) | def metadata_and_cell_to_header(notebook, metadata, text_format, fmt, un... function recursive_update (line 148) | def recursive_update(target, update, overwrite=True): function header_to_metadata_and_cell (line 169) | def header_to_metadata_and_cell(lines, header_prefix, header_suffix, ext... function default_root_level_metadata_filter (line 280) | def default_root_level_metadata_filter(fmt): function metadata_to_metadata_and_cell (line 289) | def metadata_to_metadata_and_cell(nb, metadata, fmt, unsupported_keys=No... function metadata_and_cell_to_metadata (line 310) | def metadata_and_cell_to_metadata(nb, fmt, unsupported_keys=None): FILE: src/jupytext/jupytext.py class NotSupportedNBFormatVersion (line 50) | class NotSupportedNBFormatVersion(NotImplementedError): class TextNotebookConverter (line 54) | class TextNotebookConverter(NotebookReader, NotebookWriter): method __init__ (line 57) | def __init__(self, fmt, config): method update_fmt_with_notebook_options (line 63) | def update_fmt_with_notebook_options(self, metadata, read=False): method reads (line 98) | def reads(self, s, **_): method filter_notebook (line 174) | def filter_notebook(self, nb, metadata, preserve_cell_ids=True): method writes (line 212) | def writes(self, nb, metadata=None, **kwargs): method split_frontmatter (line 319) | def split_frontmatter(self, nb): method merge_frontmatter (line 336) | def merge_frontmatter(self, nb): function reads (line 344) | def reads(text, fmt=None, as_version=nbformat.NO_CONVERT, config=None, *... function read (line 393) | def read(fp, as_version=nbformat.NO_CONVERT, fmt=None, config=None, **kw... function writes (line 434) | def writes(notebook, fmt, version=nbformat.NO_CONVERT, config=None, **kw... function drop_text_representation_metadata (line 491) | def drop_text_representation_metadata(notebook, metadata=None): function write (line 512) | def write(nb, fp, version=nbformat.NO_CONVERT, fmt=None, config=None, **... function create_prefix_dir (line 554) | def create_prefix_dir(nb_file, fmt): function _warn_on_unsupported_keys (line 563) | def _warn_on_unsupported_keys(unsupported_keys): function get_formats_from_notebook_path (line 568) | def get_formats_from_notebook_path(nb_file, fmt=None): FILE: src/jupytext/kernels.py function set_kernelspec_from_language (line 17) | def set_kernelspec_from_language(notebook): function kernelspec_from_language (line 29) | def kernelspec_from_language(language): FILE: src/jupytext/languages.py function default_language_from_metadata_and_ext (line 112) | def default_language_from_metadata_and_ext(metadata, ext, pop_main_langu... function usual_language_name (line 132) | def usual_language_name(language): function same_language (line 150) | def same_language(kernel_language, language): function set_main_and_cell_language (line 155) | def set_main_and_cell_language(metadata, cells, ext, custom_cell_magics): function cell_language (line 194) | def cell_language(source, default_language, custom_cell_magics): function comment_lines (line 221) | def comment_lines(lines, prefix, suffix=""): FILE: src/jupytext/magics.py function get_comment (line 9) | def get_comment(ext): function is_magic (line 69) | def is_magic(line, language, global_escape_flag=True, explicitly_code=Fa... function need_explicit_marker (line 91) | def need_explicit_marker(source, language="python", global_escape_flag=T... function comment_magic (line 105) | def comment_magic(source, language="python", global_escape_flag=True, ex... function unesc (line 125) | def unesc(line, language): function uncomment_magic (line 137) | def uncomment_magic(source, language="python", global_escape_flag=True, ... function is_escaped_code_start (line 159) | def is_escaped_code_start(line, ext): function escape_code_start (line 164) | def escape_code_start(source, ext, language="python"): function unescape_code_start (line 174) | def unescape_code_start(source, ext, language="python"): FILE: src/jupytext/marimo.py class MarimoError (line 12) | class MarimoError(OSError): function is_marimo_available (line 16) | def is_marimo_available(min_version=MARIMO_MIN_VERSION, max_version=None): function raise_if_marimo_is_not_available (line 25) | def raise_if_marimo_is_not_available(min_version=MARIMO_MIN_VERSION, max... function marimo_version (line 40) | def marimo_version(): function marimo_py_to_notebook (line 48) | def marimo_py_to_notebook(text): function notebook_to_marimo_py (line 116) | def notebook_to_marimo_py(notebook): function marimo (line 144) | def marimo(*args: str): FILE: src/jupytext/metadata_filter.py function metadata_filter_as_dict (line 24) | def metadata_filter_as_dict(metadata_config): function metadata_filter_as_string (line 64) | def metadata_filter_as_string(metadata_filter): function update_metadata_filters (line 84) | def update_metadata_filters(metadata, jupyter_md, cell_metadata): function filter_metadata (line 119) | def filter_metadata(metadata, user_filter, default_filter="", unsupporte... function second_level (line 185) | def second_level(keys): function suppress_unsupported_keys (line 196) | def suppress_unsupported_keys(metadata, unsupported_keys=None): function subset_metadata (line 205) | def subset_metadata(metadata, keep_only=None, exclude=None, unsupported_... function restore_filtered_metadata (line 245) | def restore_filtered_metadata(filtered_metadata, unfiltered_metadata, us... FILE: src/jupytext/myst.py function is_myst_available (line 34) | def is_myst_available(): function raise_if_myst_is_not_available (line 39) | def raise_if_myst_is_not_available(): function myst_version (line 44) | def myst_version(): function myst_extensions (line 49) | def myst_extensions(no_md=False): function get_parser (line 56) | def get_parser(): function matches_mystnb (line 70) | def matches_mystnb( class CompactDumper (line 126) | class CompactDumper(yaml.SafeDumper): function represent_list (line 130) | def represent_list(self, data): function represent_dict (line 136) | def represent_dict(self, data): function dump_yaml_blocks (line 145) | def dump_yaml_blocks(data, compact=True): class MystMetadataParsingError (line 168) | class MystMetadataParsingError(Exception): function strip_blank_lines (line 172) | def strip_blank_lines(text): function read_fenced_cell (line 180) | def read_fenced_cell(token, cell_index, cell_type): function parse_directive_options (line 195) | def parse_directive_options(content, error_msg): function read_cell_metadata (line 229) | def read_cell_metadata(token, cell_index): function myst_to_notebook (line 243) | def myst_to_notebook( function notebook_to_myst (line 352) | def notebook_to_myst( FILE: src/jupytext/paired_paths.py class InconsistentPath (line 15) | class InconsistentPath(ValueError): class InconsistentSuffix (line 20) | class InconsistentSuffix(InconsistentPath): class InconsistentPrefix (line 25) | class InconsistentPrefix(InconsistentPath): class InconsistentPrefixDirectory (line 30) | class InconsistentPrefixDirectory(InconsistentPath): class InconsistentPrefixRoot (line 35) | class InconsistentPrefixRoot(InconsistentPath): class NonNotebookExtension (line 40) | class NonNotebookExtension(InconsistentPath): class InconsistentExtension (line 44) | class InconsistentExtension(InconsistentPath): function split (line 49) | def split(path, sep): function join (line 56) | def join(left, right, sep): function separator (line 62) | def separator(path): function get_prefix_root_prefix_dir_prefix_file_name (line 69) | def get_prefix_root_prefix_dir_prefix_file_name(prefix: str) -> tuple[st... function get_prefix (line 78) | def get_prefix(prefix_root: str, prefix_dir: str, prefix_file_name: str)... function base_path (line 86) | def base_path(main_path, fmt, formats=None): function base_path_and_adjusted_fmt (line 194) | def base_path_and_adjusted_fmt(path: str, fmt: dict[str, str]) -> tuple[... function full_path (line 234) | def full_path(base, fmt): function find_base_path_and_format (line 291) | def find_base_path_and_format(main_path, formats: list[dict[str, str]]) ... function paired_paths (line 307) | def paired_paths(main_path, fmt, formats): FILE: src/jupytext/pairs.py class PairedFilesDiffer (line 11) | class PairedFilesDiffer(ValueError): function latest_inputs_and_outputs (line 15) | def latest_inputs_and_outputs(path, fmt, formats, get_timestamp, content... FILE: src/jupytext/pandoc.py class PandocError (line 13) | class PandocError(OSError): function pandoc (line 17) | def pandoc(args, filein=None, fileout=None): function is_pandoc_available (line 37) | def is_pandoc_available(min_version="2.7.2", max_version=None): function raise_if_pandoc_is_not_available (line 46) | def raise_if_pandoc_is_not_available(min_version="2.7.2", max_version=No... function pandoc_version (line 65) | def pandoc_version(): function md_to_notebook (line 73) | def md_to_notebook(text): function notebook_to_md (line 97) | def notebook_to_md(notebook): FILE: src/jupytext/pep8.py function next_instruction_is_function_or_class (line 6) | def next_instruction_is_function_or_class(lines): function cell_ends_with_function_or_class (line 27) | def cell_ends_with_function_or_class(lines): function cell_ends_with_code (line 53) | def cell_ends_with_code(lines): function cell_has_code (line 64) | def cell_has_code(lines): function pep8_lines_between_cells (line 82) | def pep8_lines_between_cells(prev_lines, next_lines, ext): FILE: src/jupytext/quarto.py class QuartoError (line 19) | class QuartoError(OSError): function quarto (line 23) | def quarto(args, filein=None): function is_quarto_available (line 45) | def is_quarto_available(min_version=QUARTO_MIN_VERSION): function raise_if_quarto_is_not_available (line 54) | def raise_if_quarto_is_not_available(min_version=QUARTO_MIN_VERSION): function quarto_version (line 68) | def quarto_version(): function qmd_to_notebook (line 76) | def qmd_to_notebook(text): function notebook_to_qmd (line 146) | def notebook_to_qmd(notebook): FILE: src/jupytext/reraise.py function reraise (line 4) | def reraise(error): FILE: src/jupytext/stringparser.py class StringParser (line 7) | class StringParser: method __init__ (line 15) | def __init__(self, language): method is_quoted (line 20) | def is_quoted(self): method read_line (line 26) | def read_line(self, line): FILE: src/jupytext/sync_contentsmanager.py function build_sync_jupytext_contents_manager_class (line 56) | def build_sync_jupytext_contents_manager_class(base_contents_manager_cla... FILE: src/jupytext/sync_pairs.py function read_pair (line 16) | def read_pair(inputs, outputs, read_one_file, must_match=False): function write_pair (line 40) | def write_pair(path, formats, write_one_file): FILE: src/jupytext_config/jupytext_config.py class SubCommand (line 16) | class SubCommand: method __init__ (line 21) | def __init__(self, name, help): method main (line 25) | def main(self, args): class ListDefaultViewer (line 32) | class ListDefaultViewer(SubCommand): method __init__ (line 33) | def __init__(self): method main (line 36) | def main(self, args): method fill_parser (line 40) | def fill_parser(self, subparser): class SetDefaultViewer (line 44) | class SetDefaultViewer(SubCommand): method __init__ (line 45) | def __init__(self): method main (line 48) | def main(self, args): method fill_parser (line 52) | def fill_parser(self, subparser): class UnsetDefaultViewer (line 60) | class UnsetDefaultViewer(SubCommand): method __init__ (line 61) | def __init__(self): method main (line 64) | def main(self, args): method fill_parser (line 68) | def fill_parser(self, subparser): function main (line 84) | def main(): FILE: src/jupytext_config/labconfig.py class LabConfig (line 13) | class LabConfig: method __init__ (line 24) | def __init__(self, *, settings_file, logger=None): method read (line 29) | def read(self): method get_viewers (line 41) | def get_viewers(self): method list_default_viewer (line 44) | def list_default_viewer(self): method set_default_viewers (line 52) | def set_default_viewers(self, doctypes=None): method set_default_viewer (line 59) | def set_default_viewer(self, doctype): method unset_default_viewers (line 64) | def unset_default_viewers(self, doctypes=None): method unset_default_viewer (line 71) | def unset_default_viewer(self, doctype): method write (line 76) | def write(self): FILE: tests/conftest.py function nbformat_reads (line 38) | def nbformat_reads(s, as_version, capture_validation_error=None, **kwargs): function force_validate_nbformat (line 46) | def force_validate_nbformat(monkeypatch): function cm (line 52) | def cm(request): function no_jupytext_version_number (line 60) | def no_jupytext_version_number(): function cwd_tmpdir (line 66) | def cwd_tmpdir(tmpdir): function cwd_tmp_path (line 73) | def cwd_tmp_path(tmp_path): function jupytext_repo_root (line 85) | def jupytext_repo_root(): function jupytext_repo_rev (line 91) | def jupytext_repo_rev(jupytext_repo_root): function python_notebook (line 97) | def python_notebook(): function notebook_with_outputs (line 123) | def notebook_with_outputs(): function fmt_with_cell_metadata (line 149) | def fmt_with_cell_metadata(request): function list_notebooks (line 153) | def list_notebooks(path="ipynb", skip=""): function notebook_id_func (line 185) | def notebook_id_func(nb_file): function ipynb_file (line 193) | def ipynb_file(request): function any_nb_file (line 198) | def any_nb_file(request): function ipynb_py_R_jl_files (line 203) | def ipynb_py_R_jl_files(): function ipynb_py_R_jl_file (line 208) | def ipynb_py_R_jl_file(request): function ipynb_py_R_jl_ext (line 213) | def ipynb_py_R_jl_ext(ipynb_py_R_jl_file): function ipynb_or_rmd_file (line 222) | def ipynb_or_rmd_file(request): function ipynb_py_R_file (line 227) | def ipynb_py_R_file(request): function ipynb_py_files (line 232) | def ipynb_py_files(): function ipynb_py_file (line 237) | def ipynb_py_file(request): function marimo_compatible_ipynb (line 242) | def marimo_compatible_ipynb(request): function ipynb_R_file (line 266) | def ipynb_R_file(request): function ipynb_julia_file (line 271) | def ipynb_julia_file(request): function ipynb_scheme_file (line 276) | def ipynb_scheme_file(request): function ipynb_cpp_file (line 281) | def ipynb_cpp_file(request): function ipynb_to_light (line 286) | def ipynb_to_light(request): function ipynb_to_myst (line 291) | def ipynb_to_myst(request): function py_file (line 301) | def py_file(request): function script_to_ipynb (line 309) | def script_to_ipynb(request): function python_file (line 314) | def python_file(request): function percent_file (line 319) | def percent_file(request): function hydrogen_file (line 324) | def hydrogen_file(request): function r_file (line 329) | def r_file(request): function r_spin_file (line 334) | def r_spin_file(request): function marimo_file (line 339) | def marimo_file(request): function md_file (line 344) | def md_file(request): function myst_file (line 349) | def myst_file(request): function ipynb_to_pandoc (line 357) | def ipynb_to_pandoc(request): function ipynb_to_quarto (line 369) | def ipynb_to_quarto(request): function ipynb_to_sphinx (line 377) | def ipynb_to_sphinx(request): function rmd_file (line 382) | def rmd_file(request): function sphinx_file (line 387) | def sphinx_file(request): function pytest_runtest_setup (line 391) | def pytest_runtest_setup(item): function pytest_collection_modifyitems (line 445) | def pytest_collection_modifyitems(config, items): function cell_id (line 452) | def cell_id(): FILE: tests/data/notebooks/inputs/marimo/basic_marimo_example.py function _ (line 8) | def _(mo): function _ (line 16) | def _(): function _ (line 22) | def _(x): function _ (line 29) | def _(): FILE: tests/data/notebooks/inputs/python/python_notebook_sample.py function f (line 21) | def f(x): function g (line 35) | def g(x): FILE: tests/data/notebooks/inputs/sphinx/plot_notebook.py function dummy (line 84) | def dummy(): FILE: tests/data/notebooks/outputs/ipynb_to_hydrogen/Notebook with function and cell metadata 164.py function f (line 18) | def f(x): FILE: tests/data/notebooks/outputs/ipynb_to_hydrogen/evcxr_jupyter_tour.rs function fib (line 39) | pub fn fib(x: i32) -> i32 { function fib (line 50) | pub fn fib(x: i32) -> i32 { type Matrix (line 94) | pub struct Matrix {pub values: Vec, pub row_size: usize} function evcxr_display (line 96) | pub fn evcxr_display(&self) { type EvcxrResult (line 123) | pub trait EvcxrResult {fn evcxr_display(&self);} method evcxr_display (line 123) | fn evcxr_display(&self); method evcxr_display (line 125) | fn evcxr_display(&self) { method evcxr_display (line 134) | fn evcxr_display(&self) { FILE: tests/data/notebooks/outputs/ipynb_to_hydrogen/hello_world_gonb.go function main (line 17) | func main() { function main (line 45) | func main() { function init_a (line 62) | func init_a() { FILE: tests/data/notebooks/outputs/ipynb_to_hydrogen/ijavascript.js function add (line 21) | function add(num1, num2) { class User (line 58) | class User { method constructor (line 59) | constructor(name){ method sayHello (line 62) | sayHello(){ FILE: tests/data/notebooks/outputs/ipynb_to_hydrogen/itypescript.ts function add (line 17) | function add(num1: number, num2: number): number { class User (line 27) | class User { method constructor (line 28) | constructor(private name: string) { method sayHello (line 31) | sayHello(): string { FILE: tests/data/notebooks/outputs/ipynb_to_hydrogen/simple-helloworld.java class A (line 16) | class A { method hello (line 17) | public void hello() { FILE: tests/data/notebooks/outputs/ipynb_to_hydrogen/xcpp_by_quantstack.cpp function j (line 62) | j function asqr (line 81) | asqr class Bar (line 107) | class Bar : public Foo method print (line 113) | virtual void print(double value) const class FooT (line 131) | class FooT method FooT (line 135) | explicit FooT(const T& t) : m_t(t) {} method print (line 137) | void print() const class FooT (line 148) | class FooT method FooT (line 152) | explicit FooT(const int& t) : m_t(t) {} method print (line 154) | void print() const class Foo11 (line 176) | class Foo11 method Foo11 (line 180) | Foo11() { std::cout << "Foo11 default constructor" << std::endl; } method Foo11 (line 181) | Foo11(const Foo11&) { std::cout << "Foo11 copy constructor" << std::en... method Foo11 (line 182) | Foo11(Foo11&&) { std::cout << "Foo11 move constructor" << std::endl; } type ht (line 310) | namespace ht type html (line 312) | struct html method html (line 314) | inline html(const std::string& content) function mime_bundle_repr (line 321) | xeus::xjson mime_bundle_repr(const html& a) FILE: tests/data/notebooks/outputs/ipynb_to_marimo/Line_breaks_in_LateX_305.py function _ (line 8) | def _(mo): function _ (line 24) | def _(mo): function _ (line 40) | def _(mo): function _ (line 56) | def _(): FILE: tests/data/notebooks/outputs/ipynb_to_marimo/Notebook with function and cell metadata 164.py function _ (line 8) | def _(): function _ (line 14) | def _(mo): function f (line 23) | def f(x): function _ (line 28) | def _(): function _ (line 34) | def _(mo): function _ (line 42) | def _(): function _ (line 48) | def _(): FILE: tests/data/notebooks/outputs/ipynb_to_marimo/Notebook with many hash signs.py function _ (line 8) | def _(mo): function _ (line 19) | def _(): function _ (line 32) | def _(mo): function _ (line 43) | def _(): FILE: tests/data/notebooks/outputs/ipynb_to_marimo/cat_variable.py function _ (line 8) | def _(): FILE: tests/data/notebooks/outputs/ipynb_to_marimo/frozen_cell.py function _ (line 8) | def _(): function _ (line 15) | def _(): FILE: tests/data/notebooks/outputs/ipynb_to_marimo/jupyter.py function _ (line 8) | def _(mo): function _ (line 18) | def _(): function _ (line 26) | def _(mo): function _ (line 34) | def _(a, b): function _ (line 40) | def _(a, b): function _ (line 46) | def _(mo): function _ (line 54) | def _(): FILE: tests/data/notebooks/outputs/ipynb_to_marimo/notebook_with_complex_metadata.py function _ (line 8) | def _(): FILE: tests/data/notebooks/outputs/ipynb_to_marimo/plotly_graphs.py function _ (line 8) | def _(mo): function _ (line 16) | def _(mo): function _ (line 24) | def _(mo): function _ (line 32) | def _(): function _ (line 39) | def _(): function _ (line 51) | def _(): FILE: tests/data/notebooks/outputs/ipynb_to_marimo/sample_rise_notebook_66.py function _ (line 8) | def _(mo): function _ (line 16) | def _(): function _ (line 22) | def _(mo): function _ (line 30) | def _(): FILE: tests/data/notebooks/outputs/ipynb_to_marimo/text_outputs_and_images.py function _ (line 8) | def _(mo): function _ (line 16) | def _(mo): function _ (line 26) | def _(): function _ (line 35) | def _(): function _ (line 45) | def _(mo): function _ (line 55) | def _(): function _ (line 62) | def _(pd): function _ (line 70) | def _(mo): function _ (line 78) | def _(): function _ (line 84) | def _(): function _ (line 106) | def _(mo): function _ (line 114) | def _(undefined_variable): function _ (line 120) | def _(): FILE: tests/data/notebooks/outputs/ipynb_to_percent/Notebook with function and cell metadata 164.py function f (line 18) | def f(x): FILE: tests/data/notebooks/outputs/ipynb_to_percent/evcxr_jupyter_tour.rs function fib (line 39) | pub fn fib(x: i32) -> i32 { function fib (line 50) | pub fn fib(x: i32) -> i32 { function evcxr_display (line 96) | pub fn evcxr_display(&self) { type EvcxrResult (line 123) | pub trait EvcxrResult {fn evcxr_display(&self);} method evcxr_display (line 123) | fn evcxr_display(&self); method evcxr_display (line 125) | fn evcxr_display(&self) { method evcxr_display (line 134) | fn evcxr_display(&self) { FILE: tests/data/notebooks/outputs/ipynb_to_percent/hello_world_gonb.go function main (line 17) | func main() { function main (line 45) | func main() { function init_a (line 62) | func init_a() { FILE: tests/data/notebooks/outputs/ipynb_to_percent/ijavascript.js function add (line 21) | function add(num1, num2) { class User (line 58) | class User { method constructor (line 59) | constructor(name){ method sayHello (line 62) | sayHello(){ FILE: tests/data/notebooks/outputs/ipynb_to_percent/itypescript.ts function add (line 17) | function add(num1: number, num2: number): number { class User (line 27) | class User { method constructor (line 28) | constructor(private name: string) { method sayHello (line 31) | sayHello(): string { FILE: tests/data/notebooks/outputs/ipynb_to_percent/simple-helloworld.java class A (line 16) | class A { method hello (line 17) | public void hello() { FILE: tests/data/notebooks/outputs/ipynb_to_percent/xcpp_by_quantstack.cpp function j (line 62) | j function asqr (line 81) | asqr class Bar (line 107) | class Bar : public Foo method print (line 113) | virtual void print(double value) const class FooT (line 131) | class FooT method FooT (line 135) | explicit FooT(const T& t) : m_t(t) {} method print (line 137) | void print() const class FooT (line 148) | class FooT method FooT (line 152) | explicit FooT(const int& t) : m_t(t) {} method print (line 154) | void print() const class Foo11 (line 176) | class Foo11 method Foo11 (line 180) | Foo11() { std::cout << "Foo11 default constructor" << std::endl; } method Foo11 (line 181) | Foo11(const Foo11&) { std::cout << "Foo11 copy constructor" << std::en... method Foo11 (line 182) | Foo11(Foo11&&) { std::cout << "Foo11 move constructor" << std::endl; } type ht (line 310) | namespace ht type html (line 312) | struct html method html (line 314) | inline html(const std::string& content) function mime_bundle_repr (line 321) | xeus::xjson mime_bundle_repr(const html& a) FILE: tests/data/notebooks/outputs/ipynb_to_script/Notebook with function and cell metadata 164.py function f (line 16) | def f(x): FILE: tests/data/notebooks/outputs/ipynb_to_script/evcxr_jupyter_tour.rs function fib (line 31) | pub fn fib(x: i32) -> i32 { function fib (line 39) | pub fn fib(x: i32) -> i32 { type Matrix (line 74) | pub struct Matrix {pub values: Vec, pub row_size: usize} function evcxr_display (line 76) | pub fn evcxr_display(&self) { type EvcxrResult (line 100) | pub trait EvcxrResult {fn evcxr_display(&self);} method evcxr_display (line 100) | fn evcxr_display(&self); method evcxr_display (line 102) | fn evcxr_display(&self) { method evcxr_display (line 111) | fn evcxr_display(&self) { FILE: tests/data/notebooks/outputs/ipynb_to_script/hello_world_gonb.go function main (line 14) | func main() { function main (line 40) | func main() { function init_a (line 56) | func init_a() { FILE: tests/data/notebooks/outputs/ipynb_to_script/ijavascript.js function add (line 17) | function add(num1, num2) { class User (line 45) | class User { method constructor (line 46) | constructor(name){ method sayHello (line 49) | sayHello(){ FILE: tests/data/notebooks/outputs/ipynb_to_script/itypescript.ts function add (line 15) | function add(num1: number, num2: number): number { class User (line 23) | class User { method constructor (line 24) | constructor(private name: string) { method sayHello (line 27) | sayHello(): string { FILE: tests/data/notebooks/outputs/ipynb_to_script/simple-helloworld.java class A (line 14) | class A { method hello (line 15) | public void hello() { FILE: tests/data/notebooks/outputs/ipynb_to_script/xcpp_by_quantstack.cpp function j (line 54) | j function asqr (line 69) | asqr class Bar (line 90) | class Bar : public Foo method print (line 96) | virtual void print(double value) const class FooT (line 112) | class FooT method FooT (line 116) | explicit FooT(const T& t) : m_t(t) {} method print (line 118) | void print() const class FooT (line 129) | class FooT method FooT (line 133) | explicit FooT(const int& t) : m_t(t) {} method print (line 135) | void print() const class Foo11 (line 154) | class Foo11 method Foo11 (line 158) | Foo11() { std::cout << "Foo11 default constructor" << std::endl; } method Foo11 (line 159) | Foo11(const Foo11&) { std::cout << "Foo11 copy constructor" << std::en... method Foo11 (line 160) | Foo11(Foo11&&) { std::cout << "Foo11 move constructor" << std::endl; } type ht (line 276) | namespace ht type html (line 278) | struct html method html (line 280) | inline html(const std::string& content) function mime_bundle_repr (line 287) | xeus::xjson mime_bundle_repr(const html& a) FILE: tests/data/notebooks/outputs/ipynb_to_script_vim_folding_markers/Notebook with function and cell metadata 164.py function f (line 18) | def f(x): FILE: tests/data/notebooks/outputs/ipynb_to_script_vscode_folding_markers/Notebook with function and cell metadata 164.py function f (line 18) | def f(x): FILE: tests/external/cli/test_black.py function test_apply_black_on_python_notebooks (line 16) | def test_apply_black_on_python_notebooks(tmpdir, cwd_tmpdir, ipynb_py_fi... function test_black_invariant (line 44) | def test_black_invariant(): function test_pipe_into_black (line 57) | def test_pipe_into_black(): function test_pipe_into_autopep8 (line 66) | def test_pipe_into_autopep8(): function test_pipe_into_flake8 (line 75) | def test_pipe_into_flake8(): function test_apply_black_through_jupytext (line 88) | def test_apply_black_through_jupytext(tmpdir, python_notebook): function test_apply_black_and_sync_on_paired_notebook (line 135) | def test_apply_black_and_sync_on_paired_notebook(tmpdir, cwd_tmpdir, pyt... function test_apply_black_on_markdown_notebook (line 161) | def test_apply_black_on_markdown_notebook(tmpdir): function test_black_through_tempfile (line 197) | def test_black_through_tempfile( function test_pipe_black_removes_lines_to_next_cell_metadata (line 218) | def test_pipe_black_removes_lines_to_next_cell_metadata( function test_pipe_black_uses_warn_only_781 (line 246) | def test_pipe_black_uses_warn_only_781(tmpdir, cwd_tmpdir, code, black_s... function test_pipe_black_preserve_outputs (line 273) | def test_pipe_black_preserve_outputs(notebook_with_outputs, tmpdir, cwd_... FILE: tests/external/cli/test_cli_check.py function non_black_notebook (line 9) | def non_black_notebook(python_notebook): function test_check_notebooks_left_or_right_black (line 14) | def test_check_notebooks_left_or_right_black(python_notebook, tmpdir, cw... function test_check_notebooks_left_or_right_not_black (line 23) | def test_check_notebooks_left_or_right_not_black(non_black_notebook, tmp... FILE: tests/external/cli/test_isort.py function test_pipe_into_isort (line 9) | def test_pipe_into_isort(): FILE: tests/external/conftest.py function tmp_repo (line 6) | def tmp_repo(tmpdir): FILE: tests/external/contents_manager/test_contentsmanager_external.py function test_save_load_paired_md_pandoc_notebook (line 13) | async def test_save_load_paired_md_pandoc_notebook(ipynb_py_R_jl_file, t... function test_save_load_paired_qmd_notebook (line 33) | async def test_save_load_paired_qmd_notebook(ipynb_py_R_jl_file, tmpdir,... FILE: tests/external/docs/test_using_cli.py function test_jupytext_commands_in_the_documentation_work (line 17) | def test_jupytext_commands_in_the_documentation_work(tmpdir): FILE: tests/external/jupyter_fs/test_jupyter_fs.py function cm_from_fs_meta_manager (line 12) | def cm_from_fs_meta_manager(tmpdir, request): function test_jupytext_jupyter_fs_metamanager (line 34) | async def test_jupytext_jupyter_fs_metamanager(cm_from_fs_meta_manager): function test_config_jupytext_jupyter_fs_meta_manager (line 78) | async def test_config_jupytext_jupyter_fs_meta_manager(tmpdir, cm_from_f... FILE: tests/external/pre_commit/test_pre_commit_0_ipynb_to_py.py function test_pre_commit_hook_ipynb_to_py (line 11) | def test_pre_commit_hook_ipynb_to_py(tmpdir, cwd_tmpdir, tmp_repo, jupyt... FILE: tests/external/pre_commit/test_pre_commit_1_sync.py function test_pre_commit_hook_sync (line 12) | def test_pre_commit_hook_sync( FILE: tests/external/pre_commit/test_pre_commit_1_sync_with_config.py function test_pre_commit_hook_sync_with_config (line 9) | def test_pre_commit_hook_sync_with_config( FILE: tests/external/pre_commit/test_pre_commit_1_sync_with_no_config.py function test_pre_commit_hook_sync_with_no_config (line 13) | def test_pre_commit_hook_sync_with_no_config( FILE: tests/external/pre_commit/test_pre_commit_2_sync_nbstripout.py function test_pre_commit_hook_sync_nbstripout (line 9) | def test_pre_commit_hook_sync_nbstripout( FILE: tests/external/pre_commit/test_pre_commit_3_sync_black_nbstripout.py function test_pre_commit_hook_sync_black_nbstripout (line 10) | def test_pre_commit_hook_sync_black_nbstripout( FILE: tests/external/pre_commit/test_pre_commit_4_sync_execute.py function test_pre_commit_hook_sync_execute (line 10) | def test_pre_commit_hook_sync_execute( FILE: tests/external/pre_commit/test_pre_commit_5_reformat_markdown.py function test_pre_commit_hook_sync_reformat_code_and_markdown (line 10) | def test_pre_commit_hook_sync_reformat_code_and_markdown( FILE: tests/external/pre_commit/test_pre_commit_mode.py function test_is_untracked (line 11) | def test_is_untracked(tmpdir, cwd_tmpdir, tmp_repo): function test_ignore_unmatched_ignores (line 36) | def test_ignore_unmatched_ignores(tmpdir, cwd_tmpdir): function test_alert_untracked_alerts (line 48) | def test_alert_untracked_alerts(tmpdir, cwd_tmpdir, tmp_repo, capsys): function test_alert_untracked_alerts_when_using_sync (line 62) | def test_alert_untracked_alerts_when_using_sync(tmpdir, cwd_tmpdir, tmp_... function test_alert_untracked_alerts_for_modified (line 78) | def test_alert_untracked_alerts_for_modified(tmpdir, cwd_tmpdir, tmp_rep... function test_alert_inconsistent_versions (line 97) | def test_alert_inconsistent_versions(tmpdir, cwd_tmpdir, tmp_repo, capsys): function test_pre_commit_local_config (line 131) | def test_pre_commit_local_config(tmpdir, cwd_tmpdir, tmp_repo, python_no... function test_git_timestamp (line 161) | def test_git_timestamp(tmpdir, cwd_tmpdir, tmp_repo): function test_sync_pre_commit_mode_respects_commit_order_780 (line 207) | def test_sync_pre_commit_mode_respects_commit_order_780( function test_skip_execution (line 248) | def test_skip_execution(tmpdir, cwd_tmpdir, tmp_repo, python_notebook, c... FILE: tests/external/pre_commit/test_pre_commit_scripts.py function git_in_tmpdir (line 13) | def git_in_tmpdir(tmpdir): function system_in_tmpdir (line 29) | def system_in_tmpdir(tmpdir): function test_pre_commit_hook (line 38) | def test_pre_commit_hook(tmpdir): function test_sync_with_pre_commit_hook (line 64) | def test_sync_with_pre_commit_hook(tmpdir): function test_pre_commit_hook_in_subfolder (line 140) | def test_pre_commit_hook_in_subfolder(tmpdir): function test_pre_commit_hook_py_to_ipynb_and_md (line 166) | def test_pre_commit_hook_py_to_ipynb_and_md(tmpdir): function test_pre_commit_hook_sync_black_flake8 (line 201) | def test_pre_commit_hook_sync_black_flake8(tmpdir, python_notebook): function test_pre_commit_hook_sync_flake8 (line 245) | def test_pre_commit_hook_sync_flake8(tmpdir, python_notebook): function test_manual_call_of_pre_commit_hook (line 277) | def test_manual_call_of_pre_commit_hook(tmpdir): function test_pre_commit_hook_with_subfolders_issue_506 (line 303) | def test_pre_commit_hook_with_subfolders_issue_506(tmpdir): function test_wrap_markdown_cell (line 347) | def test_wrap_markdown_cell(tmpdir): FILE: tests/external/round_trip/test_mirror_external.py function test_ipynb_to_pandoc (line 13) | def test_ipynb_to_pandoc(ipynb_to_pandoc, no_jupytext_version_number): function test_ipynb_to_quarto (line 18) | def test_ipynb_to_quarto( function test_ipynb_to_python_sphinx (line 26) | def test_ipynb_to_python_sphinx(ipynb_to_sphinx, no_jupytext_version_num... function test_Rmd_to_ipynb (line 37) | def test_Rmd_to_ipynb(rmd_file, no_jupytext_version_number): function test_sphinx_to_ipynb (line 42) | def test_sphinx_to_ipynb(sphinx_file, no_jupytext_version_number): function test_sphinx_md_to_ipynb (line 47) | def test_sphinx_md_to_ipynb(sphinx_file, no_jupytext_version_number): FILE: tests/external/rst2md/test_rst2md.py function test_rst2md (line 11) | def test_rst2md(tmpdir, cwd_tmpdir): function test_rst2md_option (line 49) | def test_rst2md_option(tmpdir): FILE: tests/external/simple_external_notebooks/test_read_simple_pandoc.py function test_pandoc_implicit (line 11) | def test_pandoc_implicit( function test_pandoc_explicit (line 34) | def test_pandoc_explicit( function test_pandoc_utf8_in_md (line 49) | def test_pandoc_utf8_in_md( function test_pandoc_utf8_in_nb (line 63) | def test_pandoc_utf8_in_nb( function test_meaningfull_error_when_pandoc_is_missing (line 81) | def test_meaningfull_error_when_pandoc_is_missing(tmpdir): FILE: tests/external/simple_external_notebooks/test_read_simple_quarto.py function test_qmd_to_ipynb (line 9) | def test_qmd_to_ipynb( FILE: tests/external/test_marimo.py function py_marimo (line 9) | def py_marimo() -> str: function notebook (line 27) | def notebook(): function test_guess_format (line 31) | def test_guess_format(py_marimo): function test_notebook_to_py_marimo (line 36) | def test_notebook_to_py_marimo(py_marimo, notebook): function test_marimo_py_to_notebook (line 42) | def test_marimo_py_to_notebook(py_marimo, notebook): FILE: tests/functional/cli/test_cli.py function test_str2bool (line 26) | def test_str2bool(): function test_cli_single_file (line 34) | def test_cli_single_file(ipynb_py_R_jl_file): function test_cli_multiple_files (line 38) | def test_cli_multiple_files(ipynb_py_R_jl_files): function test_convert_single_file_in_place (line 42) | def test_convert_single_file_in_place(ipynb_py_file, tmpdir): function test_convert_single_file_in_place_m (line 57) | def test_convert_single_file_in_place_m(ipynb_py_file, tmpdir): function test_convert_single_file (line 74) | def test_convert_single_file(ipynb_or_rmd_file, tmpdir, capsys): function test_jupytext_version (line 87) | def test_jupytext_version(capsys): function test_wildcard (line 95) | def test_wildcard(tmpdir): function test_to_cpluplus (line 115) | def test_to_cpluplus(ipynb_cpp_file, tmpdir, capsys): function test_convert_multiple_file (line 128) | def test_convert_multiple_file(ipynb_py_files, tmpdir): function test_error_not_notebook_ext_input (line 148) | def test_error_not_notebook_ext_input(tmpdir, capsys): function tmp_ipynb (line 158) | def tmp_ipynb(tmpdir): function tmp_py (line 165) | def tmp_py(tmpdir): function test_error_not_notebook_ext_to (line 172) | def test_error_not_notebook_ext_to(tmp_ipynb): function test_error_not_notebook_ext_output (line 177) | def test_error_not_notebook_ext_output(tmp_ipynb, tmpdir): function test_error_not_same_ext (line 185) | def test_error_not_same_ext(tmp_ipynb, tmpdir): function test_error_no_action (line 190) | def test_error_no_action(tmp_ipynb): function test_error_update_not_ipynb (line 195) | def test_error_update_not_ipynb(tmp_py): function test_error_multiple_input (line 200) | def test_error_multiple_input(tmp_ipynb): function test_error_opt_missing_equal (line 205) | def test_error_opt_missing_equal(tmp_ipynb): function test_error_unknown_opt (line 210) | def test_error_unknown_opt(tmp_ipynb): function test_combine_same_version_ok (line 215) | def test_combine_same_version_ok(tmpdir): function test_combine_lower_version_raises (line 255) | def test_combine_lower_version_raises(tmpdir): function test_ipynb_to_py_then_update_test (line 293) | def test_ipynb_to_py_then_update_test(ipynb_py_file, tmpdir): function test_test_to_ipynb_ignore_version_number_414 (line 304) | def test_test_to_ipynb_ignore_version_number_414( function test_convert_to_percent_format (line 333) | def test_convert_to_percent_format(ipynb_py_file, tmpdir): function test_convert_to_percent_format_and_keep_magics (line 351) | def test_convert_to_percent_format_and_keep_magics(ipynb_py_file, tmpdir): function test_set_formats (line 371) | def test_set_formats(python_file, tmpdir): function test_update_metadata (line 382) | def test_update_metadata(python_file, tmpdir, capsys): function test_set_kernel_inplace (line 414) | def test_set_kernel_inplace(python_file, tmpdir): function test_set_kernel_auto (line 428) | def test_set_kernel_auto(python_file, tmpdir): function test_set_kernel_with_name (line 443) | def test_set_kernel_with_name(python_file, tmpdir): function test_paired_paths (line 459) | def test_paired_paths(ipynb_py_file, tmpdir, capsys): function test_sync (line 474) | def test_sync(ipynb_py_file, tmpdir, cwd_tmpdir, capsys): function test_sync_pandoc (line 525) | def test_sync_pandoc(ipynb_to_pandoc, tmpdir, cwd_tmpdir, capsys): function test_cli_can_infer_jupytext_format (line 550) | def test_cli_can_infer_jupytext_format(ipynb_py_R_jl_file, ipynb_py_R_jl... function test_cli_to_script (line 568) | def test_cli_to_script(ipynb_py_R_jl_file, ipynb_py_R_jl_ext, tmpdir, cw... function test_cli_to_auto (line 579) | def test_cli_to_auto(ipynb_py_R_jl_file, ipynb_py_R_jl_ext, tmpdir, cwd_... function test_cli_can_infer_jupytext_format_from_stdin (line 590) | def test_cli_can_infer_jupytext_format_from_stdin(ipynb_py_file, tmpdir,... function test_set_kernel_works_with_pipes_326 (line 622) | def test_set_kernel_works_with_pipes_326(capsys): function test_cli_expect_errors (line 637) | def test_cli_expect_errors(tmp_ipynb): function test_format_prefix_suffix (line 660) | def test_format_prefix_suffix(tmpdir, cwd_tmpdir): function test_cli_sync_file_with_suffix (line 707) | def test_cli_sync_file_with_suffix(tmpdir, cwd_tmpdir): function test_cli_sync_file_with_prefix_974 (line 734) | def test_cli_sync_file_with_prefix_974(tmp_path, python_notebook): function test_remove_jupytext_metadata (line 761) | def test_remove_jupytext_metadata(tmpdir, cwd_tmpdir): function test_convert_and_update_preserves_notebook (line 791) | def test_convert_and_update_preserves_notebook(ipynb_py_file, fmt, tmpdi... function test_incorrect_notebook_causes_early_exit (line 815) | def test_incorrect_notebook_causes_early_exit(tmpdir, cwd_tmpdir): function test_warn_only_skips_incorrect_notebook (line 833) | def test_warn_only_skips_incorrect_notebook(tmpdir, cwd_tmpdir, capsys): function test_339_ipynb (line 854) | def test_339_ipynb(tmpdir, cwd_tmpdir, fmt): function test_339_py (line 862) | def test_339_py(tmpdir, cwd_tmpdir): function test_339_require_to (line 879) | def test_339_require_to(tmpdir, cwd_tmpdir): function test_399_to_script_then_set_formats (line 885) | def test_399_to_script_then_set_formats(tmpdir, cwd_tmpdir): function test_set_format_with_subfolder (line 897) | def test_set_format_with_subfolder(tmpdir, cwd_tmpdir): function skip_if_format_missing (line 914) | def skip_if_format_missing(format_name): function test_create_header_with_set_formats (line 923) | def test_create_header_with_set_formats(format_name, cwd_tmpdir, tmpdir): function test_create_header_with_set_formats_and_set_kernel (line 938) | def test_create_header_with_set_formats_and_set_kernel(format_name, tmpd... function test_set_option_split_at_heading (line 954) | def test_set_option_split_at_heading(tmpdir, cwd_tmpdir): function test_pair_in_tree (line 971) | def test_pair_in_tree(tmpdir): function test_pair_in_tree_and_parent (line 983) | def test_pair_in_tree_and_parent(tmpdir): function test_sync_pipe_config (line 996) | def test_sync_pipe_config(tmpdir): function test_sync_script_dotdot_folder_564 (line 1034) | def test_sync_script_dotdot_folder_564(tmpdir): function test_jupytext_to_file_emits_a_warning (line 1048) | def test_jupytext_to_file_emits_a_warning(tmpdir): function test_jupytext_set_formats_file_gives_an_informative_error (line 1067) | def test_jupytext_set_formats_file_gives_an_informative_error(tmpdir, cw... function test_diff (line 1095) | def test_diff(tmpdir, cwd_tmpdir, capsys): function test_show_changes (line 1104) | def test_show_changes(tmpdir, cwd_tmpdir, capsys): function test_glob_recursive (line 1113) | def test_glob_recursive(tmpdir, cwd_tmpdir): function test_jupytext_sync_preserves_cell_ids (line 1122) | def test_jupytext_sync_preserves_cell_ids(tmpdir, cwd_tmpdir, notebook_w... function test_jupytext_update_preserves_cell_ids (line 1142) | def test_jupytext_update_preserves_cell_ids(tmpdir, cwd_tmpdir, notebook... function test_jupytext_to_ipynb_suggests_update (line 1163) | def test_jupytext_to_ipynb_suggests_update(tmpdir, cwd_tmpdir, capsys): function test_jupytext_to_ipynb_does_not_update_timestamp_if_output_not_in_pair (line 1175) | def test_jupytext_to_ipynb_does_not_update_timestamp_if_output_not_in_pair( function test_jupytext_to_ipynb_does_not_update_timestamp_if_not_paired (line 1200) | def test_jupytext_to_ipynb_does_not_update_timestamp_if_not_paired(tmpdi... function test_use_source_timestamp (line 1221) | async def test_use_source_timestamp(tmpdir, cwd_tmpdir, python_notebook,... function test_round_trip_with_null_metadata_792 (line 1267) | def test_round_trip_with_null_metadata_792(tmpdir, cwd_tmpdir, python_no... function test_set_shebang_with_update_metadata (line 1285) | def test_set_shebang_with_update_metadata(tmp_path, python_notebook): function test_set_formats_does_not_override_existing_ipynb (line 1302) | def test_set_formats_does_not_override_existing_ipynb(tmp_path, notebook... function test_lexer_is_preserved_in_round_trips (line 1338) | def test_lexer_is_preserved_in_round_trips( function test_pipe_with_quiet_does_not_print (line 1357) | def test_pipe_with_quiet_does_not_print(tmp_path, capsys): function test_update_formats_1386 (line 1369) | def test_update_formats_1386(python_notebook, tmp_path, capsys): function test_paired_paths_from_notebook_metadata (line 1407) | def test_paired_paths_from_notebook_metadata(tmp_path, python_notebook, ... function test_paired_paths_from_config (line 1424) | def test_paired_paths_from_config(tmp_path, python_notebook, capsys): function test_sync_keeps_simple_python_file_unchanged (line 1442) | def test_sync_keeps_simple_python_file_unchanged(tmp_path, with_config: ... function test_set_formats_pairing_in_subfolders (line 1490) | def test_set_formats_pairing_in_subfolders(tmp_path, python_notebook): function test_sync_in_subfolders (line 1504) | def test_sync_in_subfolders(tmp_path, python_notebook): FILE: tests/functional/cli/test_cli_config.py function test_pairing_through_config_leaves_ipynb_unmodified (line 11) | def test_pairing_through_config_leaves_ipynb_unmodified(tmpdir): function test_formats (line 28) | def test_formats(tmpdir): function test_formats_with_suffix (line 41) | def test_formats_with_suffix(tmpdir): function test_formats_does_not_apply_to_config_file (line 56) | def test_formats_does_not_apply_to_config_file(tmpdir): function test_preferred_jupytext_formats_save (line 68) | def test_preferred_jupytext_formats_save(tmpdir): function test_save_using_preferred_and_default_format (line 97) | def test_save_using_preferred_and_default_format(config, tmpdir): function test_hide_notebook_metadata (line 112) | def test_hide_notebook_metadata(tmpdir, no_jupytext_version_number): function test_cli_config_on_windows_issue_629 (line 145) | def test_cli_config_on_windows_issue_629(tmpdir): function test_sync_config_does_not_create_formats_metadata (line 160) | def test_sync_config_does_not_create_formats_metadata(tmpdir, cwd_tmpdir... function test_multiple_formats_771 (line 173) | def test_multiple_formats_771(tmpdir, cwd_tmpdir, python_notebook): FILE: tests/functional/cli/test_source_is_newer.py function test_check_source_is_newer_when_using_jupytext_to (line 12) | def test_check_source_is_newer_when_using_jupytext_to(tmp_path, python_n... function test_check_source_is_newer_when_using_jupytext_sync (line 37) | def test_check_source_is_newer_when_using_jupytext_sync(tmp_path, python... FILE: tests/functional/cli/test_synchronous_changes.py function test_jupytext_sync_raises_on_synchronous_edits (line 15) | def test_jupytext_sync_raises_on_synchronous_edits(tmp_path, python_note... function test_jupytext_to_raises_on_synchronous_edits (line 73) | def test_jupytext_to_raises_on_synchronous_edits(tmp_path, python_notebo... FILE: tests/functional/config/test_config.py function change_dir (line 16) | def change_dir(path): function temp_folder_tree (line 27) | def temp_folder_tree(tmp_path): function test_issue_1440 (line 42) | def test_issue_1440(temp_folder_tree): function test_find_jupytext_configuration_file (line 55) | def test_find_jupytext_configuration_file(tmpdir): function test_jupytext_py_is_not_a_configuration_file (line 80) | def test_jupytext_py_is_not_a_configuration_file(tmpdir): function test_load_jupytext_configuration_file (line 103) | def test_load_jupytext_configuration_file(tmpdir, config_file): function test_jupytext_formats (line 192) | def test_jupytext_formats(tmpdir, content_toml, formats_short_form): function test_deprecated_formats_cause_warning (line 200) | def test_deprecated_formats_cause_warning(tmpdir, content_toml="default_... function test_deprecated_options_cause_warning (line 213) | def test_deprecated_options_cause_warning(tmpdir, option_name): function test_simple_py_file_is_not_paired (line 223) | def test_simple_py_file_is_not_paired(tmp_path): function test_pairing_groups (line 237) | def test_pairing_groups(tmp_path): function test_pairing_groups_multiple_groups (line 271) | def test_pairing_groups_multiple_groups(tmp_path): function test_formats_list_without_default (line 306) | def test_formats_list_without_default(tmp_path): function test_formats_list_yaml (line 330) | def test_formats_list_yaml(tmp_path): function test_formats_list_json (line 348) | def test_formats_list_json(tmp_path): function test_formats_semicolon_separated (line 372) | def test_formats_semicolon_separated(tmp_path): function test_formats_toml_list_of_strings (line 395) | def test_formats_toml_list_of_strings(tmp_path): FILE: tests/functional/contents_manager/test_async_and_sync_contents_manager_are_in_sync.py function generate_sync_code_from_async_code (line 12) | def generate_sync_code_from_async_code(async_code: str) -> str: function test_async_and_sync_files_are_in_sync (line 46) | def test_async_and_sync_files_are_in_sync(async_file, sync_file): FILE: tests/functional/docs/test_changelog.py function replace_issue_number_with_links (line 9) | def replace_issue_number_with_links(text): function test_replace_issue_numbers_with_links (line 34) | def test_replace_issue_numbers_with_links(input, output): function test_update_changelog (line 39) | def test_update_changelog(): function test_version_matches_changelog (line 47) | def test_version_matches_changelog(): function test_version_pep440_compliance (line 72) | def test_version_pep440_compliance(): FILE: tests/functional/docs/test_doc_files_are_notebooks.py function documentation_files (line 8) | def documentation_files(): function test_doc_files_are_notebooks (line 19) | def test_doc_files_are_notebooks(doc_file): FILE: tests/functional/metadata/test_metadata_filter.py function to_dict (line 12) | def to_dict(keys): function test_string_to_dict_conversion (line 32) | def test_string_to_dict_conversion(metadata_filter_string, metadata_filt... function test_metadata_filter_as_dict (line 36) | def test_metadata_filter_as_dict(): function test_metadata_filter_default (line 42) | def test_metadata_filter_default(): function test_metadata_filter_user_plus_default (line 47) | def test_metadata_filter_user_plus_default(): function test_metadata_filter_user_overrides_default (line 57) | def test_metadata_filter_user_overrides_default(): function test_negative_cell_metadata_filter (line 64) | def test_negative_cell_metadata_filter(): function test_cell_metadata_filter_is_updated (line 68) | def test_cell_metadata_filter_is_updated(): function test_notebook_metadata_all (line 86) | def test_notebook_metadata_all(): function test_notebook_metadata_none (line 97) | def test_notebook_metadata_none(): function test_filter_nested_metadata (line 103) | def test_filter_nested_metadata(): function test_filter_out_execution_metadata (line 118) | def test_filter_out_execution_metadata(): function test_default_config_has_priority_over_current_metadata (line 140) | def test_default_config_has_priority_over_current_metadata( function test_metadata_filter_in_notebook_757 (line 165) | def test_metadata_filter_in_notebook_757(): FILE: tests/functional/metadata/test_metadata_filters_from_config.py function test_metadata_filters_from_config (line 11) | def test_metadata_filters_from_config(tmpdir): function test_root_level_metadata_filters_from_config (line 54) | def test_root_level_metadata_filters_from_config(tmpdir): FILE: tests/functional/others/test_active_cells.py function check_active_cell (line 63) | def check_active_cell(ext, active_dict): function test_active_all (line 73) | def test_active_all(ext, no_jupytext_version_number): function test_active_ipynb (line 107) | def test_active_ipynb(ext, no_jupytext_version_number): function test_active_ipynb_rmd_using_tags (line 141) | def test_active_ipynb_rmd_using_tags(ext, no_jupytext_version_number): function test_active_ipynb_rspin (line 160) | def test_active_ipynb_rspin(no_jupytext_version_number): function test_active_py_ipynb (line 194) | def test_active_py_ipynb(ext, no_jupytext_version_number): function test_active_py_r_ipynb (line 220) | def test_active_py_r_ipynb(ext, no_jupytext_version_number): function test_active_rmd (line 244) | def test_active_rmd(ext, no_jupytext_version_number): function test_active_not_include_rmd (line 268) | def test_active_not_include_rmd(ext, no_jupytext_version_number): function test_active_cells_from_py_percent (line 272) | def test_active_cells_from_py_percent( function test_comments_work_in_active_cells_from_py_percent_1131 (line 294) | def test_comments_work_in_active_cells_from_py_percent_1131( function test_comments_work_in_active_cells_from_py_light_1131 (line 307) | def test_comments_work_in_active_cells_from_py_light_1131( function test_comments_plus_code_work_in_active_cells_from_py_percent_1131 (line 320) | def test_comments_plus_code_work_in_active_cells_from_py_percent_1131( function test_comments_plus_code_work_in_active_cells_from_py_light_1131 (line 334) | def test_comments_plus_code_work_in_active_cells_from_py_light_1131( function test_active_cells_from_py_light (line 348) | def test_active_cells_from_py_light( FILE: tests/functional/others/test_auto_ext.py function test_auto_in_fmt (line 7) | def test_auto_in_fmt(ipynb_py_R_file): function test_auto_from_kernelspecs_works (line 25) | def test_auto_from_kernelspecs_works(ipynb_file): function test_auto_in_formats (line 44) | def test_auto_in_formats(ipynb_py_R_jl_file): FILE: tests/functional/others/test_cell_markers.py function test_set_cell_markers_cli (line 7) | def test_set_cell_markers_cli(tmpdir, cwd_tmpdir): function test_add_cell_to_script_with_cell_markers (line 14) | def test_add_cell_to_script_with_cell_markers( FILE: tests/functional/others/test_cell_metadata.py function r_options_language_metadata (line 22) | def r_options_language_metadata(): function test_parse_rmd_options (line 67) | def test_parse_rmd_options(options, language, metadata): function test_build_options (line 72) | def test_build_options(options, language, metadata): function test_build_options_random_order (line 77) | def test_build_options_random_order(options, language, metadata): function test_parsing_error (line 88) | def test_parsing_error(options): function test_ignore_metadata (line 93) | def test_ignore_metadata(): function test_filter_metadata (line 99) | def test_filter_metadata(): function test_try_eval_metadata (line 103) | def test_try_eval_metadata(): function test_language_no_metadata (line 110) | def test_language_no_metadata(text="python", value=("python", {})): function test_only_metadata (line 115) | def test_only_metadata(text='key="value"', value=("", {"key": "value"})): function test_only_metadata_2 (line 120) | def test_only_metadata_2(text='key="value"', value=("", {"key": "value"})): function test_no_language (line 125) | def test_no_language(text=".class", value=("", {".class": None})): function test_language_metadata_no_space (line 130) | def test_language_metadata_no_space(text='python{"a":1}', value=("python... function test_title_no_metadata (line 135) | def test_title_no_metadata(text="title", value=("title", {})): function test_simple_metadata (line 140) | def test_simple_metadata( function test_simple_metadata_with_spaces (line 148) | def test_simple_metadata_with_spaces( function test_title_and_relax_json (line 156) | def test_title_and_relax_json( function test_title_and_json_dict (line 164) | def test_title_and_json_dict( function test_attribute (line 173) | def test_attribute(allow_title): function test_language_and_attribute (line 180) | def test_language_and_attribute(text="python .class", value=("python", {... function test_title_and_attribute (line 185) | def test_title_and_attribute(text="This is my title. .class", value=("Th... function test_values_with_equal_signs_inside (line 190) | def test_values_with_equal_signs_inside(text='python string="value=5"', ... function test_incorrectly_encoded (line 195) | def test_incorrectly_encoded(text="this is an incorrect expression d={{4... function test_incorrectly_encoded_json (line 200) | def test_incorrectly_encoded_json(text='this is an incorrect expression ... function test_parse_key_value (line 205) | def test_parse_key_value(): function test_parse_key_value_key (line 212) | def test_parse_key_value_key(): function test_is_valid_metadata_key (line 220) | def test_is_valid_metadata_key(key): function notebook_with_unsupported_key_in_metadata (line 225) | def notebook_with_unsupported_key_in_metadata(python_notebook): function test_unsupported_key_in_metadata (line 231) | def test_unsupported_key_in_metadata(notebook_with_unsupported_key_in_me... function notebook_with_collapsed_cell (line 246) | def notebook_with_collapsed_cell(python_notebook): function test_notebook_with_collapsed_cell (line 252) | def test_notebook_with_collapsed_cell(notebook_with_collapsed_cell, fmt_... function test_empty_tags_are_not_saved_in_text_notebooks (line 259) | def test_empty_tags_are_not_saved_in_text_notebooks(no_jupytext_version_... FILE: tests/functional/others/test_cell_tags_are_preserved.py function notebook_with_tags (line 9) | def notebook_with_tags(python_notebook): function test_main_formats_support_cell_metadata (line 19) | def test_main_formats_support_cell_metadata(fmt): function test_tags_are_preserved (line 25) | def test_tags_are_preserved(notebook_with_tags, fmt_with_cell_metadata): FILE: tests/functional/others/test_cells.py function test_paragraph_is_fully_commented (line 24) | def test_paragraph_is_fully_commented(lines): function test_paragraph_is_not_fully_commented (line 28) | def test_paragraph_is_not_fully_commented(lines="# text\nnot fully comme... function test_uncomment (line 32) | def test_uncomment(): function test_text_to_code_cell (line 45) | def test_text_to_code_cell(): function test_text_to_code_cell_empty_code (line 59) | def test_text_to_code_cell_empty_code(): function test_text_to_code_cell_empty_code_no_blank_line (line 72) | def test_text_to_code_cell_empty_code_no_blank_line(): function test_text_to_markdown_cell (line 85) | def test_text_to_markdown_cell(): function test_text_to_markdown_no_blank_line (line 102) | def test_text_to_markdown_no_blank_line(): function test_text_to_markdown_two_blank_line (line 118) | def test_text_to_markdown_two_blank_line(): function test_text_to_markdown_one_blank_line (line 134) | def test_text_to_markdown_one_blank_line(): function test_empty_markdown_to_text (line 149) | def test_empty_markdown_to_text(): function test_text_to_cell_py (line 155) | def test_text_to_cell_py(): function test_text_to_cell_py2 (line 165) | def test_text_to_cell_py2(): function test_code_to_cell (line 176) | def test_code_to_cell(): function test_uncomment_ocaml (line 187) | def test_uncomment_ocaml(): FILE: tests/functional/others/test_combine.py function test_combine (line 12) | def test_combine(): function test_read_text_and_combine_with_outputs (line 45) | async def test_read_text_and_combine_with_outputs(tmpdir, cm): function test_combine_stable (line 135) | def test_combine_stable(ipynb_file): function test_combine_reorder (line 147) | def test_combine_reorder(): function test_combine_split (line 183) | def test_combine_split(): function test_combine_refactor (line 196) | def test_combine_refactor(): function test_combine_attachments (line 211) | def test_combine_attachments(): FILE: tests/functional/others/test_custom_cell_magics.py function test_custom_cell_magics (line 9) | def test_custom_cell_magics( FILE: tests/functional/others/test_doxygen.py function test_markdown_to_doxygen (line 22) | def test_markdown_to_doxygen(): function test_doxygen_to_markdown (line 26) | def test_doxygen_to_markdown(): function test_simple_equations_to_doxygen_and_back (line 42) | def test_simple_equations_to_doxygen_and_back(latex, doxygen): function test_doxygen_equation_markers (line 47) | def test_doxygen_equation_markers(tmpdir): FILE: tests/functional/others/test_hide_remove_input_outputs_rmarkdown.py function test_jupyter_book_options_to_rmarkdown (line 16) | def test_jupyter_book_options_to_rmarkdown(md, rmd): function test_runtools_options_to_rmarkdown (line 57) | def test_runtools_options_to_rmarkdown(md, rmd): FILE: tests/functional/others/test_invalid_file.py function invalid_md_file (line 14) | def invalid_md_file(): function test_read_invalid_md_file_fails (line 19) | def test_read_invalid_md_file_fails(invalid_md_file): function test_convert_invalid_md_file_fails (line 25) | def test_convert_invalid_md_file_fails(invalid_md_file): function test_open_invalid_md_file_fails (line 31) | async def test_open_invalid_md_file_fails(invalid_md_file, tmp_path, cm): FILE: tests/functional/others/test_jupytext_errors.py function test_read_wrong_ext (line 8) | def test_read_wrong_ext(tmpdir, nb_file="notebook.ext"): function test_write_wrong_ext (line 15) | def test_write_wrong_ext(tmpdir, nb_file="notebook.ext"): FILE: tests/functional/others/test_jupytext_read.py function test_as_version_has_appropriate_type (line 7) | def test_as_version_has_appropriate_type(): function test_read_file_with_explicit_fmt (line 12) | def test_read_file_with_explicit_fmt(tmpdir): FILE: tests/functional/others/test_nbformat_version.py function sample_notebook_v3 (line 12) | def sample_notebook_v3(): function sample_notebook_v3_json (line 17) | def sample_notebook_v3_json(sample_notebook_v3): function sample_notebook_v4_99 (line 22) | def sample_notebook_v4_99(): function test_jupytext_can_read_nbformat_3 (line 28) | def test_jupytext_can_read_nbformat_3( function test_jupytext_gives_a_meaningful_error_when_writing_nbformat_3 (line 40) | def test_jupytext_gives_a_meaningful_error_when_writing_nbformat_3(sampl... function test_jupytext_gives_a_meaningful_error_when_writing_nbformat_4_99 (line 51) | def test_jupytext_gives_a_meaningful_error_when_writing_nbformat_4_99(sa... FILE: tests/functional/others/test_preserve_empty_cells.py function test_file_with_blank_lines (line 9) | def test_file_with_blank_lines(blank_lines): function test_notebook_with_empty_cells (line 20) | def test_notebook_with_empty_cells(blank_cells): FILE: tests/functional/others/test_pytest.py function test_run_pytest_ok (line 6) | def test_run_pytest_ok( function test_run_pytest_fail (line 21) | def test_run_pytest_fail( FILE: tests/functional/others/test_raw_strings.py function test_markdown_cell_with_backslash_is_encoded_with_raw_string (line 8) | def test_markdown_cell_with_backslash_is_encoded_with_raw_string( function test_raw_string_is_stable_over_round_trip (line 27) | def test_raw_string_is_stable_over_round_trip(r, triple_quote, expr): FILE: tests/functional/others/test_read_write_functions.py function test_simple_hook (line 11) | def test_simple_hook(tmpdir): function test_simple_hook_with_explicit_format (line 25) | def test_simple_hook_with_explicit_format(tmpdir): function test_no_error_on_path_object (line 40) | def test_no_error_on_path_object(tmpdir): function test_read_ipynb_from_stream (line 49) | def test_read_ipynb_from_stream(): function test_read_py_percent_from_stream (line 76) | def test_read_py_percent_from_stream(): FILE: tests/functional/others/test_remove_encoding.py function test_remove_encoding_907 (line 6) | async def test_remove_encoding_907(tmp_path, python_notebook, cm): FILE: tests/functional/others/test_sample_notebooks_are_normalized.py function test_sample_notebooks_are_normalized (line 12) | def test_sample_notebooks_are_normalized(any_nb_file): FILE: tests/functional/others/test_save_multiple.py function test_rmd_is_ok (line 15) | async def test_rmd_is_ok(ipynb_file, tmpdir, cm): function test_ipynb_is_ok (line 31) | async def test_ipynb_is_ok(rmd_file, tmpdir, cm): function test_all_files_created (line 45) | async def test_all_files_created(ipynb_py_file, tmpdir, cm): function test_no_files_created_on_no_format (line 63) | async def test_no_files_created_on_no_format(tmpdir, cm): function test_raise_on_wrong_format (line 82) | async def test_raise_on_wrong_format(tmpdir, cm): function test_no_rmd_on_not_notebook (line 99) | async def test_no_rmd_on_not_notebook(tmpdir, cm): function test_no_rmd_on_not_v4 (line 111) | async def test_no_rmd_on_not_v4(tmpdir, cm): FILE: tests/functional/others/test_trust_notebook.py function test_py_notebooks_are_trusted (line 13) | async def test_py_notebooks_are_trusted(python_file, cm): function test_rmd_notebooks_are_trusted (line 21) | async def test_rmd_notebooks_are_trusted(rmd_file, cm): function test_ipynb_notebooks_can_be_trusted (line 30) | async def test_ipynb_notebooks_can_be_trusted(ipynb_py_file, tmpdir, no_... function test_ipynb_notebooks_can_be_trusted_even_with_metadata_filter (line 75) | async def test_ipynb_notebooks_can_be_trusted_even_with_metadata_filter(... function test_text_notebooks_can_be_trusted (line 114) | async def test_text_notebooks_can_be_trusted(percent_file, tmpdir, no_ju... function test_simple_notebook_is_trusted (line 142) | async def test_simple_notebook_is_trusted(tmpdir, python_notebook, cm): function test_myst_notebook_is_trusted_941 (line 162) | async def test_myst_notebook_is_trusted_941( function test_paired_notebook_with_outputs_is_not_trusted_941 (line 200) | async def test_paired_notebook_with_outputs_is_not_trusted_941(tmp_path,... FILE: tests/functional/others/test_unicode.py function test_notebook_contents_is_unicode (line 7) | def test_notebook_contents_is_unicode(ipynb_file): function test_rmd_notebook_contents_is_unicode (line 14) | def test_rmd_notebook_contents_is_unicode(rmd_file): function test_write_non_ascii (line 21) | def test_write_non_ascii(tmpdir): function test_no_encoding_in_python_scripts (line 27) | def test_no_encoding_in_python_scripts(no_jupytext_version_number): function test_encoding_in_scripts_only (line 57) | def test_encoding_in_scripts_only(no_jupytext_version_number): FILE: tests/functional/others/test_write_does_not_modify_notebook.py function test_write_notebook_does_not_change_it (line 14) | def test_write_notebook_does_not_change_it(ipynb_py_R_jl_file, fmt, tmpd... FILE: tests/functional/round_trip/test_jupytext_nbconvert_round_trip.py function test_markdown_jupytext_nbconvert_is_identity (line 8) | def test_markdown_jupytext_nbconvert_is_identity(md_file): function test_jupytext_markdown_similar_to_nbconvert (line 38) | def test_jupytext_markdown_similar_to_nbconvert(ipynb_py_R_jl_file): FILE: tests/functional/round_trip/test_mirror.py function test_create_mirror_file_if_missing (line 22) | def test_create_mirror_file_if_missing(tmpdir, no_jupytext_version_number): function test_ipynb_to_percent (line 36) | def test_ipynb_to_percent(ipynb_file, no_jupytext_version_number): function test_ipynb_to_hydrogen (line 40) | def test_ipynb_to_hydrogen(ipynb_file, no_jupytext_version_number): function test_ipynb_to_light (line 44) | def test_ipynb_to_light(ipynb_to_light, no_jupytext_version_number): function test_ipynb_to_marimo (line 49) | def test_ipynb_to_marimo(marimo_compatible_ipynb, no_jupytext_version_nu... function test_ipynb_to_md (line 57) | def test_ipynb_to_md(ipynb_file, no_jupytext_version_number): function test_ipynb_to_Rmd (line 61) | def test_ipynb_to_Rmd(ipynb_file, no_jupytext_version_number): function test_ipynb_to_myst (line 66) | def test_ipynb_to_myst(ipynb_file, no_jupytext_version_number): function test_script_to_ipynb (line 79) | def test_script_to_ipynb(script_to_ipynb, no_jupytext_version_number): function test_percent_to_ipynb (line 83) | def test_percent_to_ipynb(percent_file, no_jupytext_version_number): function test_hydrogen_to_ipynb (line 87) | def test_hydrogen_to_ipynb(hydrogen_file, no_jupytext_version_number): function test_spin_to_ipynb (line 91) | def test_spin_to_ipynb(r_spin_file, no_jupytext_version_number): function test_marimo_to_ipynb (line 96) | def test_marimo_to_ipynb(marimo_file, no_jupytext_version_number): function test_md_to_ipynb (line 100) | def test_md_to_ipynb(md_file, no_jupytext_version_number): function test_myst_file_has_myst_format (line 105) | def test_myst_file_has_myst_format(myst_file): function test_myst_to_ipynb (line 113) | def test_myst_to_ipynb(myst_file, no_jupytext_version_number): function test_ipynb_to_percent_to_light (line 124) | def test_ipynb_to_percent_to_light(ipynb_file): function test_ipynb_to_python_vim (line 141) | def test_ipynb_to_python_vim(ipynb_py_file, no_jupytext_version_number): function test_ipynb_to_python_vscode (line 149) | def test_ipynb_to_python_vscode(ipynb_py_file, no_jupytext_version_number): function test_ipynb_to_r_light (line 157) | def test_ipynb_to_r_light(ipynb_R_file, no_jupytext_version_number): function test_ipynb_to_r_percent (line 161) | def test_ipynb_to_r_percent(ipynb_R_file, no_jupytext_version_number): function test_ipynb_to_R_spin (line 165) | def test_ipynb_to_R_spin(ipynb_R_file, no_jupytext_version_number): function test_ipynb_to_r_spin (line 169) | def test_ipynb_to_r_spin(ipynb_R_file, no_jupytext_version_number): function test_ipynb_to_scheme_light (line 174) | def test_ipynb_to_scheme_light(ipynb_scheme_file, extension, no_jupytext... function test_ipynb_to_scheme_percent (line 179) | def test_ipynb_to_scheme_percent(ipynb_scheme_file, extension, no_jupyte... FILE: tests/functional/round_trip/test_myst_header.py function test_myst_header_is_stable_1247_using_inline_filter (line 12) | def test_myst_header_is_stable_1247_using_inline_filter( function test_myst_header_is_stable_1247_using_config (line 39) | def test_myst_header_is_stable_1247_using_config( function test_myst_frontmatter_metadata_combo (line 69) | def test_myst_frontmatter_metadata_combo(no_jupytext_version_number): FILE: tests/functional/round_trip/test_read_all_py.py function test_identity_source_write_read (line 5) | def test_identity_source_write_read(py_file): FILE: tests/functional/round_trip/test_rmd_to_ipynb.py function test_identity_write_read (line 5) | def test_identity_write_read(rmd_file, no_jupytext_version_number): function test_two_blank_lines_as_cell_separator (line 17) | def test_two_blank_lines_as_cell_separator(): FILE: tests/functional/simple_notebooks/test_ipynb_to_R.py function test_identity_source_write_read (line 9) | def test_identity_source_write_read(ipynb_R_file, ext): FILE: tests/functional/simple_notebooks/test_ipynb_to_myst.py function test_bad_notebook_metadata (line 28) | def test_bad_notebook_metadata(): function test_bad_code_metadata (line 43) | def test_bad_code_metadata(): function test_bad_markdown_metadata (line 60) | def test_bad_markdown_metadata(): function test_bad_markdown_metadata2 (line 73) | def test_bad_markdown_metadata2(): function test_matches_mystnb (line 86) | def test_matches_mystnb(): function test_not_installed (line 139) | def test_not_installed(): function test_add_source_map (line 146) | def test_add_source_map(): function test_meaningfull_error_write_myst_missing (line 174) | def test_meaningfull_error_write_myst_missing(tmpdir): function test_meaningfull_error_open_myst_missing (line 184) | async def test_meaningfull_error_open_myst_missing(tmpdir, cm): function test_myst_representation_same_cli_or_contents_manager (line 214) | async def test_myst_representation_same_cli_or_contents_manager(tmpdir, ... FILE: tests/functional/simple_notebooks/test_ipynb_to_py.py function test_identity_source_write_read (line 7) | def test_identity_source_write_read(ipynb_py_file): FILE: tests/functional/simple_notebooks/test_ipynb_to_rmd.py function test_identity_source_write_read (line 7) | def test_identity_source_write_read(ipynb_py_R_jl_file): FILE: tests/functional/simple_notebooks/test_knitr_spin.py function test_jupytext_same_as_knitr_spin (line 4) | def test_jupytext_same_as_knitr_spin(r_spin_file, tmpdir): FILE: tests/functional/simple_notebooks/test_read_dotnet_try_markdown.py function test_parse_metadata (line 6) | def test_parse_metadata(): function test_parse_double_hyphen_metadata (line 12) | def test_parse_double_hyphen_metadata(): function test_read_dotnet_try_markdown (line 18) | def test_read_dotnet_try_markdown( FILE: tests/functional/simple_notebooks/test_read_empty_text_notebook.py function test_read_empty_text_notebook (line 11) | def test_read_empty_text_notebook(ext, tmp_path): FILE: tests/functional/simple_notebooks/test_read_folding_markers.py function test_mark_cell_with_vim_folding_markers (line 7) | def test_mark_cell_with_vim_folding_markers( function test_mark_cell_with_vscode_pycharm_folding_markers (line 38) | def test_mark_cell_with_vscode_pycharm_folding_markers( function test_mark_cell_with_no_title_and_inner_region (line 65) | def test_mark_cell_with_no_title_and_inner_region( function test_adjacent_regions (line 108) | def test_adjacent_regions( function test_indented_markers_are_ignored (line 131) | def test_indented_markers_are_ignored( FILE: tests/functional/simple_notebooks/test_read_incomplete_rmd.py function test_incomplete_header (line 4) | def test_incomplete_header( function test_code_in_markdown_block (line 21) | def test_code_in_markdown_block( function test_unterminated_header (line 58) | def test_unterminated_header( FILE: tests/functional/simple_notebooks/test_read_simple_R.py function test_read_simple_file (line 8) | def test_read_simple_file( function test_read_less_simple_file (line 51) | def test_read_less_simple_file( function test_no_space_after_code (line 101) | def test_no_space_after_code( function test_read_write_script (line 135) | def test_read_write_script( function test_escape_start_pattern (line 148) | def test_escape_start_pattern( function test_read_simple_r (line 182) | def test_read_simple_r( FILE: tests/functional/simple_notebooks/test_read_simple_clojure.py function test_read_simple_file (line 5) | def test_read_simple_file( FILE: tests/functional/simple_notebooks/test_read_simple_csharp.py function test_simple_cs (line 8) | def test_simple_cs(lang): function test_csharp_magics (line 31) | def test_csharp_magics(no_jupytext_version_number, lang): function test_read_html_cell_from_md (line 61) | def test_read_html_cell_from_md(no_jupytext_version_number): FILE: tests/functional/simple_notebooks/test_read_simple_go.py function test_read_simple_file (line 5) | def test_read_simple_file( function test_read_go_notebook_with_percent_percent_and_arguments (line 31) | def test_read_go_notebook_with_percent_percent_and_arguments( function test_read_go_notebook_with_magic_main (line 69) | def test_read_go_notebook_with_magic_main( function test_commented_magic (line 110) | def test_commented_magic( function test_magic_commands_are_commented (line 138) | def test_magic_commands_are_commented( FILE: tests/functional/simple_notebooks/test_read_simple_groovy.py function test_read_simple_file (line 5) | def test_read_simple_file( FILE: tests/functional/simple_notebooks/test_read_simple_hydrogen.py function test_read_simple_file (line 5) | def test_read_simple_file( function test_read_cell_with_metadata (line 61) | def test_read_cell_with_metadata( function test_read_nbconvert_script (line 79) | def test_read_nbconvert_script( function test_read_remove_blank_lines (line 122) | def test_read_remove_blank_lines( function test_no_crash_on_square_bracket (line 157) | def test_no_crash_on_square_bracket( function test_nbconvert_cell (line 167) | def test_nbconvert_cell( function test_nbformat_v3_nbpy_cell (line 180) | def test_nbformat_v3_nbpy_cell( FILE: tests/functional/simple_notebooks/test_read_simple_ipynb.py function test_save_ipynb_with_jupytext_has_final_newline (line 8) | def test_save_ipynb_with_jupytext_has_final_newline(tmpdir): FILE: tests/functional/simple_notebooks/test_read_simple_java.py function test_read_simple_file (line 5) | def test_read_simple_file( FILE: tests/functional/simple_notebooks/test_read_simple_julia.py function test_read_simple_file (line 5) | def test_read_simple_file( FILE: tests/functional/simple_notebooks/test_read_simple_markdown.py function test_read_mostly_py_markdown_file (line 13) | def test_read_mostly_py_markdown_file( function test_read_md_and_markdown_regions (line 93) | def test_read_md_and_markdown_regions( function test_read_mostly_R_markdown_file (line 143) | def test_read_mostly_R_markdown_file( function test_read_markdown_file_no_language (line 168) | def test_read_markdown_file_no_language( function test_read_julia_notebook (line 183) | def test_read_julia_notebook( function test_split_on_header (line 197) | def test_split_on_header( function test_split_on_header_after_two_blank_lines (line 217) | def test_split_on_header_after_two_blank_lines( function test_split_at_heading_in_metadata (line 230) | def test_split_at_heading_in_metadata( function test_code_cell_with_metadata (line 247) | def test_code_cell_with_metadata( function test_raw_cell_with_metadata_json (line 264) | def test_raw_cell_with_metadata_json( function test_raw_cell_with_metadata (line 280) | def test_raw_cell_with_metadata( function test_read_raw_cell_markdown_version_1_1 (line 296) | def test_read_raw_cell_markdown_version_1_1( function test_read_raw_cell_markdown_version_1_1_with_mimetype (line 322) | def test_read_raw_cell_markdown_version_1_1_with_mimetype( function test_markdown_cell_with_metadata_json (line 370) | def test_markdown_cell_with_metadata_json( function test_markdown_cell_with_metadata (line 389) | def test_markdown_cell_with_metadata( function test_two_markdown_cells (line 408) | def test_two_markdown_cells( function test_combine_md_version_one (line 432) | def test_combine_md_version_one(): function test_jupyter_cell_is_not_split (line 470) | def test_jupyter_cell_is_not_split(): function test_indented_code_is_not_split (line 505) | def test_indented_code_is_not_split(): function test_non_jupyter_code_is_not_split (line 522) | def test_non_jupyter_code_is_not_split(): function test_read_markdown_idl (line 541) | def test_read_markdown_idl( function test_read_markdown_IDL (line 567) | def test_read_markdown_IDL( function test_inactive_cell (line 593) | def test_inactive_cell( function test_inactive_cell_using_tag (line 606) | def test_inactive_cell_using_tag( function test_inactive_cell_using_noeval (line 619) | def test_inactive_cell_using_noeval( function test_noeval_followed_by_code_works (line 635) | def test_noeval_followed_by_code_works( function test_markdown_cell_with_code_works (line 661) | def test_markdown_cell_with_code_works( function test_markdown_cell_with_noeval_code_works (line 677) | def test_markdown_cell_with_noeval_code_works( function test_two_markdown_cell_with_code_works (line 693) | def test_two_markdown_cell_with_code_works( function test_two_markdown_cell_with_no_language_code_works (line 714) | def test_two_markdown_cell_with_no_language_code_works( function test_markdown_cell_with_code_inside_multiline_string_419 (line 735) | def test_markdown_cell_with_code_inside_multiline_string_419( function test_notebook_with_python3_magic (line 755) | def test_notebook_with_python3_magic( function test_update_metadata_filter (line 796) | def test_update_metadata_filter( function test_update_metadata_filter_2 (line 826) | def test_update_metadata_filter_2( function test_custom_metadata (line 856) | def test_custom_metadata( function test_hide_notebook_metadata (line 890) | def test_hide_notebook_metadata( function test_notebook_with_empty_header_1070 (line 924) | def test_notebook_with_empty_header_1070( FILE: tests/functional/simple_notebooks/test_read_simple_matlab.py function test_hide_code_tag (line 7) | def test_hide_code_tag( function test_hide_code_tag_percent_format (line 23) | def test_hide_code_tag_percent_format( FILE: tests/functional/simple_notebooks/test_read_simple_nomarker.py function test_write_reload_simple_notebook (line 12) | def test_write_reload_simple_notebook(): function test_jupytext_cli_bare (line 58) | def test_jupytext_cli_bare(tmpdir): FILE: tests/functional/simple_notebooks/test_read_simple_ocaml.py function test_read_simple_code (line 7) | def test_read_simple_code( function test_read_simple_markdown (line 24) | def test_read_simple_markdown( FILE: tests/functional/simple_notebooks/test_read_simple_percent.py function test_read_simple_file (line 16) | def test_read_simple_file( function test_read_cell_with_metadata (line 79) | def test_read_cell_with_metadata( function test_read_nbconvert_script (line 97) | def test_read_nbconvert_script( function test_read_remove_blank_lines (line 139) | def test_read_remove_blank_lines( function test_no_crash_on_square_bracket (line 174) | def test_no_crash_on_square_bracket( function test_nbconvert_cell (line 184) | def test_nbconvert_cell( function test_nbformat_v3_nbpy_cell (line 197) | def test_nbformat_v3_nbpy_cell( function test_multiple_empty_cells (line 210) | def test_multiple_empty_cells(): function test_first_cell_markdown_191 (line 228) | def test_first_cell_markdown_191(): function test_multiline_comments_in_markdown_1 (line 245) | def test_multiline_comments_in_markdown_1(): function test_multiline_comments_in_markdown_2 (line 261) | def test_multiline_comments_in_markdown_2(): function test_multiline_comments_format_option (line 277) | def test_multiline_comments_format_option(): function test_multiline_comments_in_raw_cell (line 293) | def test_multiline_comments_in_raw_cell(): function test_multiline_comments_in_markdown_cell_no_line_return (line 308) | def test_multiline_comments_in_markdown_cell_no_line_return(): function test_multiline_comments_in_markdown_cell_is_robust_to_additional_cell_marker (line 320) | def test_multiline_comments_in_markdown_cell_is_robust_to_additional_cel... function test_cell_markers_option_in_contents_manager (line 336) | async def test_cell_markers_option_in_contents_manager(tmpdir, cm): function test_cell_markers_in_config (line 379) | async def test_cell_markers_in_config(tmpdir, python_notebook, cm): function test_cell_markers_in_contents_manager (line 403) | async def test_cell_markers_in_contents_manager(tmpdir, cm): function test_cell_markers_in_contents_manager_does_not_impact_light_format (line 446) | async def test_cell_markers_in_contents_manager_does_not_impact_light_fo... function test_single_triple_quote_works (line 485) | def test_single_triple_quote_works( function test_docstring_with_quadruple_quote (line 505) | def test_docstring_with_quadruple_quote( function test_cell_marker_has_same_indentation_as_code (line 531) | def test_cell_marker_has_same_indentation_as_code( function test_read_simple_gonb_cell_with_double_percent (line 561) | def test_read_simple_gonb_cell_with_double_percent( function test_write_simple_gonb_cell_with_double_percent (line 590) | def test_write_simple_gonb_cell_with_double_percent( FILE: tests/functional/simple_notebooks/test_read_simple_python.py function test_read_simple_file (line 13) | def test_read_simple_file( function test_read_less_simple_file (line 52) | def test_read_less_simple_file( function test_indented_comment (line 89) | def test_indented_comment( function test_non_pep8 (line 123) | def test_non_pep8( function test_read_non_pep8_file (line 148) | def test_read_non_pep8_file( function test_read_cell_two_blank_lines (line 176) | def test_read_cell_two_blank_lines( function test_read_cell_explicit_start (line 200) | def test_read_cell_explicit_start( function test_read_complex_cells (line 216) | def test_read_complex_cells( function test_read_prev_function (line 273) | def test_read_prev_function( function test_read_cell_with_one_blank_line_end (line 293) | def test_read_cell_with_one_blank_line_end( function test_read_code_cell_fully_commented (line 304) | def test_read_code_cell_fully_commented( function test_file_with_two_blank_line_end (line 322) | def test_file_with_two_blank_line_end( function test_one_blank_lines_after_endofcell (line 333) | def test_one_blank_lines_after_endofcell( function test_two_cells_with_explicit_start (line 365) | def test_two_cells_with_explicit_start( function test_escape_start_pattern (line 401) | def test_escape_start_pattern( function test_dictionary_with_blank_lines_not_broken (line 433) | def test_dictionary_with_blank_lines_not_broken( function test_isolated_cell_with_magic (line 469) | def test_isolated_cell_with_magic( function test_ipython_help_are_commented_297 (line 507) | def test_ipython_help_are_commented_297( function test_questions_in_unmarked_cells_are_not_uncommented_297 (line 544) | def test_questions_in_unmarked_cells_are_not_uncommented_297( function test_read_multiline_comment (line 565) | def test_read_multiline_comment( function test_no_space_after_code (line 599) | def test_no_space_after_code( function test_read_write_script (line 623) | def test_read_write_script( function test_read_write_script_with_metadata_241 (line 634) | def test_read_write_script_with_metadata_241( function test_notebook_blank_lines (line 663) | def test_notebook_blank_lines( function test_notebook_two_blank_lines_before_next_cell (line 714) | def test_notebook_two_blank_lines_before_next_cell( function test_notebook_one_blank_line_between_cells (line 750) | def test_notebook_one_blank_line_between_cells( function test_notebook_with_magic_and_bash_cells (line 805) | def test_notebook_with_magic_and_bash_cells( function test_notebook_no_line_to_next_cell (line 825) | def test_notebook_no_line_to_next_cell( function test_notebook_one_blank_line_before_first_markdown_cell (line 844) | def test_notebook_one_blank_line_before_first_markdown_cell( function test_read_markdown_cell_with_triple_quote_307 (line 863) | def test_read_markdown_cell_with_triple_quote_307( function test_read_explicit_markdown_cell_with_triple_quote_307 (line 885) | def test_read_explicit_markdown_cell_with_triple_quote_307( function test_round_trip_markdown_cell_with_magic (line 910) | def test_round_trip_markdown_cell_with_magic(): function test_round_trip_python_with_js_cell (line 920) | def test_round_trip_python_with_js_cell(): function test_round_trip_python_with_js_cell_no_cell_metadata (line 938) | def test_round_trip_python_with_js_cell_no_cell_metadata(): function test_raw_with_metadata (line 962) | def test_raw_with_metadata( function test_raw_with_metadata_2 (line 975) | def test_raw_with_metadata_2( function test_markdown_with_metadata (line 987) | def test_markdown_with_metadata( function test_multiline_comments_in_markdown_1 (line 999) | def test_multiline_comments_in_markdown_1(): function test_multiline_comments_in_markdown_2 (line 1015) | def test_multiline_comments_in_markdown_2(): function test_multiline_comments_in_raw_cell (line 1031) | def test_multiline_comments_in_raw_cell(): function test_multiline_comments_in_markdown_cell_no_line_return (line 1046) | def test_multiline_comments_in_markdown_cell_no_line_return(): function test_multiline_comments_in_markdown_cell_is_robust_to_additional_cell_marker (line 1058) | def test_multiline_comments_in_markdown_cell_is_robust_to_additional_cel... function test_active_tag (line 1073) | def test_active_tag( function test_indented_bash_command (line 1093) | def test_indented_bash_command( function test_two_raw_cells_are_preserved (line 1120) | def test_two_raw_cells_are_preserved(nb=new_notebook(cells=[new_raw_cell... function test_no_metadata_on_multiline_decorator (line 1127) | def test_no_metadata_on_multiline_decorator( function test_indented_magic_commands (line 1181) | def test_indented_magic_commands(script, cell): FILE: tests/functional/simple_notebooks/test_read_simple_rmd.py function test_read_mostly_py_rmd_file (line 18) | def test_read_mostly_py_rmd_file( function test_markdown_cell_with_code_works (line 67) | def test_markdown_cell_with_code_works( function test_two_markdown_cell_with_code_works (line 83) | def test_two_markdown_cell_with_code_works( function test_tags_in_rmd (line 104) | def test_tags_in_rmd( function round_trip_cell_metadata (line 125) | def round_trip_cell_metadata(cell_metadata): function test_comma_in_metadata (line 135) | def test_comma_in_metadata(cell_metadata={"a": "b, c"}): function test_dict_in_metadata (line 139) | def test_dict_in_metadata(cell_metadata={"a": {"b": "c"}}): function test_list_in_metadata (line 143) | def test_list_in_metadata(cell_metadata={"d": ["e"]}): function test_root_level_metadata_as_raw_cell (line 148) | def test_root_level_metadata_as_raw_cell( function test_pair_rmd_file_with_cell_tags_and_options (line 198) | def test_pair_rmd_file_with_cell_tags_and_options(tmpdir, cwd_tmpdir, no... function test_apostrophe_in_parameter_1079 (line 229) | def test_apostrophe_in_parameter_1079( function test_commented_triple_quote_1060 (line 243) | def test_commented_triple_quote_1060(line): function test_bibliography_in_rmd (line 261) | def test_bibliography_in_rmd( function test_non_language_code_fence (line 284) | def test_non_language_code_fence(): FILE: tests/functional/simple_notebooks/test_read_simple_rust.py function test_read_magics (line 7) | def test_read_magics(text="// :vars\n"): function test_read_simple_file (line 13) | def test_read_simple_file( function test_read_write_script_with_metadata_241 (line 64) | def test_read_write_script_with_metadata_241( FILE: tests/functional/simple_notebooks/test_read_simple_scheme.py function test_read_simple_file (line 5) | def test_read_simple_file( FILE: tests/functional/simple_notebooks/test_read_simple_sphinx.py function test_read_simple_file (line 5) | def test_read_simple_file( function test_read_more_complex_file (line 60) | def test_read_more_complex_file( function test_read_empty_code_cell (line 119) | def test_read_empty_code_cell( FILE: tests/integration/cli/test_cli_pipe.py function test_cli_black_myst (line 8) | def test_cli_black_myst( FILE: tests/integration/cli/test_execute.py function test_pipe_nbconvert_execute (line 15) | def test_pipe_nbconvert_execute(tmpdir): function test_pipe_nbconvert_execute_sync (line 45) | def test_pipe_nbconvert_execute_sync(tmpdir): function test_execute (line 76) | def test_execute(tmpdir, caplog, capsys): function test_execute_readme_ok (line 95) | def test_execute_readme_ok(tmpdir): function test_execute_readme_not_ok (line 115) | def test_execute_readme_not_ok(tmpdir): function test_execute_sync (line 138) | def test_execute_sync(tmpdir, caplog, capsys): function test_execute_r (line 158) | def test_execute_r(tmpdir, caplog, capsys): # pragma: no cover function test_execute_in_subfolder (line 180) | def test_execute_in_subfolder(tmpdir, caplog, capsys): function sample_md_notebook (line 239) | def sample_md_notebook(): function test_execute_text_file_does_update_the_metadata (line 259) | def test_execute_text_file_does_update_the_metadata(sample_md_notebook, ... function test_cat_execute_does_not_update_the_metadata (line 271) | def test_cat_execute_does_not_update_the_metadata(sample_md_notebook, tm... function test_utf8_out_331 (line 288) | def test_utf8_out_331(capsys, caplog): FILE: tests/integration/contents_manager/test_cm_config.py function test_local_config_overrides_cm_config (line 20) | async def test_local_config_overrides_cm_config(tmpdir, cm): function test_config_file_is_called_just_once (line 37) | async def test_config_file_is_called_just_once(tmpdir, cm, n=2): function test_pairing_through_config_leaves_ipynb_unmodified (line 59) | async def test_pairing_through_config_leaves_ipynb_unmodified(tmpdir, cm): function test_incorrect_config_message (line 91) | async def test_incorrect_config_message(tmpdir, cfg_file, cfg_text, cm): function test_global_config_file (line 106) | async def test_global_config_file(tmpdir, cm): function test_paired_files_and_symbolic_links (line 132) | async def test_paired_files_and_symbolic_links(tmpdir, cm): function test_metadata_filter_from_config_has_precedence_over_notebook_metadata (line 170) | async def test_metadata_filter_from_config_has_precedence_over_notebook_... function test_test_no_text_representation_metadata_in_ipynb_900 (line 182) | async def test_test_no_text_representation_metadata_in_ipynb_900(tmpdir,... function test_cm_config_no_log (line 207) | async def test_cm_config_no_log(cwd_tmp_path, tmp_path, caplog, cm): function test_cm_config_log_only_if_changed (line 227) | async def test_cm_config_log_only_if_changed(cwd_tmp_path, tmp_path, cap... FILE: tests/integration/contents_manager/test_contentsmanager.py function test_rename (line 23) | async def test_rename(tmpdir, cm): function test_rename_inconsistent_path (line 35) | async def test_rename_inconsistent_path(tmpdir, cm): function test_pair_unpair_notebook (line 56) | async def test_pair_unpair_notebook(tmpdir, cm): function test_load_save_rename (line 108) | async def test_load_save_rename(ipynb_py_R_jl_file, cm, tmpdir): function test_save_load_paired_md_notebook (line 150) | async def test_save_load_paired_md_notebook(ipynb_py_R_jl_file, cm, tmpd... function test_pair_plain_script (line 167) | async def test_pair_plain_script(percent_file, cm, tmpdir, caplog): function test_load_save_rename_nbpy (line 207) | async def test_load_save_rename_nbpy(ipynb_py_file, cm, tmpdir): function test_load_save_py_freeze_metadata (line 236) | async def test_load_save_py_freeze_metadata(python_file, cm, tmpdir): function test_load_text_notebook (line 262) | async def test_load_text_notebook(tmpdir, cm): function test_load_save_rename_notebook_with_dot (line 285) | async def test_load_save_rename_notebook_with_dot(ipynb_py_file, cm, tmp... function test_load_save_rename_nbpy_default_config (line 310) | async def test_load_save_rename_nbpy_default_config(ipynb_py_file, cm, t... function test_load_save_rename_non_ascii_path (line 348) | async def test_load_save_rename_non_ascii_path(ipynb_py_file, cm, tmpdir): function test_outdated_text_notebook (line 387) | async def test_outdated_text_notebook(python_notebook, cm, tmpdir): function test_outdated_text_notebook_no_diff_ok (line 422) | async def test_outdated_text_notebook_no_diff_ok(tmpdir, cm, python_note... function test_outdated_text_notebook_diff_is_shown (line 448) | async def test_outdated_text_notebook_diff_is_shown(tmpdir, cm, python_n... function test_reload_notebook_after_jupytext_cli (line 497) | async def test_reload_notebook_after_jupytext_cli(python_notebook, cm, t... function test_load_save_percent_format (line 523) | async def test_load_save_percent_format(percent_file, cm, tmpdir): function test_save_to_percent_format (line 551) | async def test_save_to_percent_format(ipynb_julia_file, cm, tmpdir): function test_save_using_preferred_and_default_format_170 (line 573) | async def test_save_using_preferred_and_default_format_170(ipynb_py_file... function test_open_using_preferred_and_default_format_174 (line 618) | async def test_open_using_preferred_and_default_format_174(ipynb_py_file... function test_kernelspec_are_preserved (line 652) | async def test_kernelspec_are_preserved(ipynb_py_file, cm, tmpdir): function test_save_to_light_percent_sphinx_format (line 680) | async def test_save_to_light_percent_sphinx_format(ipynb_py_file, cm, tm... function test_pair_notebook_with_dot (line 717) | async def test_pair_notebook_with_dot(ipynb_py_file, cm, tmpdir): function test_preferred_format_allows_to_read_others_format (line 745) | async def test_preferred_format_allows_to_read_others_format(python_note... function test_preferred_formats_read_auto (line 786) | async def test_preferred_formats_read_auto(tmpdir, cm): function test_save_in_auto_extension_global (line 806) | async def test_save_in_auto_extension_global(ipynb_py_R_jl_file, cm, tmp... function test_global_auto_pairing_works_with_empty_notebook (line 835) | async def test_global_auto_pairing_works_with_empty_notebook(tmpdir, cm): function test_save_in_auto_extension_global_with_format (line 887) | async def test_save_in_auto_extension_global_with_format(ipynb_py_R_jl_f... function test_save_in_auto_extension_local (line 915) | async def test_save_in_auto_extension_local(ipynb_py_R_jl_file, cm, tmpd... function test_save_in_pct_and_lgt_auto_extensions (line 940) | async def test_save_in_pct_and_lgt_auto_extensions(ipynb_py_R_jl_file, c... function test_metadata_filter_is_effective (line 966) | async def test_metadata_filter_is_effective(ipynb_py_R_jl_file, cm, tmpd... function test_no_metadata_added_to_scripts_139 (line 1007) | async def test_no_metadata_added_to_scripts_139(tmpdir, cm): function test_local_format_can_deactivate_pairing (line 1052) | async def test_local_format_can_deactivate_pairing(ipynb_py_file, cm, ex... function test_global_pairing_allows_to_save_other_file_types (line 1079) | async def test_global_pairing_allows_to_save_other_file_types(rmd_file, ... function test_python_kernel_preserves_R_files (line 1100) | async def test_python_kernel_preserves_R_files(r_file, cm, tmpdir): function test_pair_notebook_in_another_folder (line 1122) | async def test_pair_notebook_in_another_folder(tmpdir, cm): function test_pair_notebook_in_dotdot_folder (line 1145) | async def test_pair_notebook_in_dotdot_folder(tmpdir, cm): function test_split_at_heading_option (line 1166) | async def test_split_at_heading_option(tmpdir, cm): function test_load_then_change_formats (line 1192) | async def test_load_then_change_formats(tmpdir, cm): function test_set_then_change_formats (line 1225) | async def test_set_then_change_formats(tmpdir, cm): function test_set_then_change_auto_formats (line 1247) | async def test_set_then_change_auto_formats(tmpdir, cm, python_notebook): function test_share_py_recreate_ipynb (line 1284) | async def test_share_py_recreate_ipynb(tmpdir, cm, ipynb_py_R_jl_file): function test_vim_folding_markers (line 1319) | async def test_vim_folding_markers(tmpdir, cm): function test_vscode_pycharm_folding_markers (line 1374) | async def test_vscode_pycharm_folding_markers(tmpdir, cm): function test_open_file_with_cell_markers (line 1429) | async def test_open_file_with_cell_markers(tmpdir, cm): function test_save_file_with_cell_markers (line 1466) | async def test_save_file_with_cell_markers(tmpdir, cm): function test_notebook_extensions (line 1508) | async def test_notebook_extensions(tmpdir, cm, cwd_tmpdir): function test_notebook_extensions_in_config (line 1527) | async def test_notebook_extensions_in_config(tmpdir, cm, cwd_tmpdir): function test_invalid_config_in_cm (line 1546) | async def test_invalid_config_in_cm(tmpdir, cm, cwd_tmpdir): function test_download_file_318 (line 1564) | async def test_download_file_318(tmpdir, cm): function test_markdown_and_r_extensions (line 1580) | async def test_markdown_and_r_extensions(tmpdir, cm): function test_server_extension_issubclass (line 1597) | async def test_server_extension_issubclass(cm): function test_multiple_pairing (line 1605) | async def test_multiple_pairing(tmpdir, cm): function test_filter_jupytext_version_information_416 (line 1659) | async def test_filter_jupytext_version_information_416(python_notebook, ... function test_new_untitled (line 1684) | async def test_new_untitled(tmpdir, cm): function test_nested_prefix (line 1708) | async def test_nested_prefix(tmpdir, cm): function test_timestamp_is_correct_after_reload_978 (line 1721) | async def test_timestamp_is_correct_after_reload_978(tmp_path, cm, pytho... function test_move_paired_notebook_to_subdir_1059 (line 1762) | async def test_move_paired_notebook_to_subdir_1059(tmp_path, cm, python_... function list_folder_contents (line 1787) | def list_folder_contents(tmp_path): function test_move_paired_notebook_outside_of_notebook_dir_1414 (line 1797) | async def test_move_paired_notebook_outside_of_notebook_dir_1414(tmp_pat... function test_move_paired_notebook_outside_of_pairing_config_1414 (line 1831) | async def test_move_paired_notebook_outside_of_pairing_config_1414(tmp_p... function test_hash_changes_if_paired_file_is_edited (line 1868) | async def test_hash_changes_if_paired_file_is_edited(tmp_path, cm, pytho... function test_metadata_stays_in_order_1368 (line 1907) | async def test_metadata_stays_in_order_1368( function test_jupytext_orders_root_metadata (line 1942) | async def test_jupytext_orders_root_metadata( function test_load_save_keeps_simple_python_file_unchanged (line 1983) | async def test_load_save_keeps_simple_python_file_unchanged(tmp_path, cm... function test_pairing_groups_in_contents_manager (line 2027) | async def test_pairing_groups_in_contents_manager(tmp_path, cm, python_n... FILE: tests/integration/contents_manager/test_load_multiple.py function test_combine_same_version_ok (line 10) | async def test_combine_same_version_ok(tmpdir, cm): function test_combine_lower_version_raises (line 40) | async def test_combine_lower_version_raises(tmpdir, cm): FILE: tests/integration/jupytext_config/test_jupytext_config.py function test_jupytext_config_cli (line 4) | def test_jupytext_config_cli(tmp_path): FILE: tests/unit/test_cell_id.py function test_cell_id_is_not_random (line 4) | def test_cell_id_is_not_random(): FILE: tests/unit/test_compare.py function notebook_metadata (line 18) | def notebook_metadata(): function notebook_expected (line 51) | def notebook_expected(): function notebook_actual (line 63) | def notebook_actual(): function test_compare_on_notebooks (line 76) | def test_compare_on_notebooks(notebook_actual, notebook_expected): function test_raise_on_different_metadata (line 106) | def test_raise_on_different_metadata(): function test_raise_on_different_cell_type (line 126) | def test_raise_on_different_cell_type(raise_on_first_difference): function test_raise_on_different_cell_content (line 134) | def test_raise_on_different_cell_content(raise_on_first_difference): function test_raise_on_incomplete_markdown_cell (line 141) | def test_raise_on_incomplete_markdown_cell(): function test_does_raise_on_split_markdown_cell (line 148) | def test_does_raise_on_split_markdown_cell(): function test_raise_on_different_cell_metadata (line 155) | def test_raise_on_different_cell_metadata(): function test_raise_on_different_cell_count (line 163) | def test_raise_on_different_cell_count(raise_on_first_difference): function test_does_not_raise_on_blank_line_removed (line 173) | def test_does_not_raise_on_blank_line_removed(): function test_strict_raise_on_blank_line_removed (line 179) | def test_strict_raise_on_blank_line_removed(): function test_dont_raise_on_different_outputs (line 186) | def test_dont_raise_on_different_outputs(): function test_raise_on_different_outputs (line 207) | def test_raise_on_different_outputs(raise_on_first_difference): function test_test_round_trip_conversion (line 234) | def test_test_round_trip_conversion(): function test_mutiple_cells_differ (line 255) | def test_mutiple_cells_differ(): function test_cell_metadata_differ (line 263) | def test_cell_metadata_differ(): function test_notebook_metadata_differ (line 281) | def test_notebook_metadata_differ(): function test_cell_ids_differ (line 298) | def test_cell_ids_differ(): FILE: tests/unit/test_escape_magics.py function test_unesc (line 16) | def test_unesc(): function test_escape (line 33) | def test_escape(line): function test_escape_magic_only (line 39) | def test_escape_magic_only(line): function test_force_noescape (line 44) | def test_force_noescape(line): function test_force_noescape_with_gbl_esc_flag (line 49) | def test_force_noescape_with_gbl_esc_flag(line): function test_force_escape_with_gbl_esc_flag (line 54) | def test_force_escape_with_gbl_esc_flag(line): function test_magics_commented_default (line 74) | def test_magics_commented_default(fmt, commented): function test_magics_are_commented (line 91) | def test_magics_are_commented(fmt): function test_magics_are_not_commented (line 116) | def test_magics_are_not_commented(fmt): function test_force_comment_using_contents_manager (line 138) | async def test_force_comment_using_contents_manager(tmpdir, cm): function test_comment_bash_commands_in_python (line 187) | def test_comment_bash_commands_in_python(magic_cmd): function test_do_not_comment_python_cmds (line 196) | def test_do_not_comment_python_cmds(not_magic_cmd): function test_do_not_comment_bash_commands_in_R (line 202) | def test_do_not_comment_bash_commands_in_R(magic_cmd): function test_markdown_image_is_not_magic (line 207) | def test_markdown_image_is_not_magic(): function test_question_is_not_magic (line 212) | def test_question_is_not_magic(): function test_multiline_python_magic (line 218) | def test_multiline_python_magic(no_jupytext_version_number): function test_configure_magic (line 247) | def test_configure_magic(no_jupytext_version_number): function test_indented_magic (line 267) | def test_indented_magic(): function test_magic_assign_781 (line 277) | def test_magic_assign_781(): function test_magic_assign_816 (line 285) | def test_magic_assign_816(): FILE: tests/unit/test_formats.py function test_guess_format_light (line 21) | def test_guess_format_light(python_file): function test_guess_format_percent (line 26) | def test_guess_format_percent(percent_file): function test_guess_format_simple_percent (line 31) | def test_guess_format_simple_percent( function test_guess_format_simple_percent_with_magic (line 39) | def test_guess_format_simple_percent_with_magic( function test_guess_format_simple_hydrogen_with_magic (line 48) | def test_guess_format_simple_hydrogen_with_magic( function test_guess_format_sphinx (line 57) | def test_guess_format_sphinx(sphinx_file): function test_guess_format_hydrogen (line 62) | def test_guess_format_hydrogen(): function test_divine_format (line 69) | def test_divine_format(): function test_get_format_implementation (line 117) | def test_get_format_implementation(): function test_script_with_magics_not_percent (line 124) | def test_script_with_magics_not_percent( function test_script_with_spyder_cell_is_percent (line 131) | def test_script_with_spyder_cell_is_percent( function test_script_with_percent_cell_and_magic_is_hydrogen (line 138) | def test_script_with_percent_cell_and_magic_is_hydrogen( function test_script_with_percent_cell_and_kernelspec (line 146) | def test_script_with_percent_cell_and_kernelspec( function test_script_with_spyder_cell_with_name_is_percent (line 162) | def test_script_with_spyder_cell_with_name_is_percent( function test_read_format_from_metadata (line 169) | def test_read_format_from_metadata( function test_update_jupytext_formats_metadata (line 184) | def test_update_jupytext_formats_metadata(): function test_decompress_formats (line 194) | def test_decompress_formats(): function test_compress_formats (line 211) | def test_compress_formats(): function test_rearrange_jupytext_metadata (line 232) | def test_rearrange_jupytext_metadata(): function test_rearrange_jupytext_metadata_metadata_filter (line 246) | def test_rearrange_jupytext_metadata_metadata_filter(): function test_rearrange_jupytext_metadata_add_dot_in_suffix (line 267) | def test_rearrange_jupytext_metadata_add_dot_in_suffix(): function test_fix_139 (line 286) | def test_fix_139(): function test_validate_one_format (line 312) | def test_validate_one_format(): function test_set_auto_ext (line 329) | def test_set_auto_ext(): function test_pandoc_format_is_preserved (line 335) | def test_pandoc_format_is_preserved(): function test_write_as_myst (line 344) | def test_write_as_myst(tmpdir): function test_write_raises_when_fmt_does_not_exists (line 357) | def test_write_raises_when_fmt_does_not_exists(tmpdir): function test_configuration_examples_from_documentation (line 403) | async def test_configuration_examples_from_documentation(config_file, co... FILE: tests/unit/test_header.py function test_uncomment (line 14) | def test_uncomment(): function test_header_to_metadata_and_cell_blank_line (line 20) | def test_header_to_metadata_and_cell_blank_line(): function test_header_to_metadata_and_cell_no_blank_line (line 42) | def test_header_to_metadata_and_cell_no_blank_line(): function test_header_to_metadata_and_cell_metadata (line 63) | def test_header_to_metadata_and_cell_metadata(): function test_metadata_and_cell_to_header (line 85) | def test_metadata_and_cell_to_header(no_jupytext_version_number): function test_metadata_and_cell_to_header2 (line 104) | def test_metadata_and_cell_to_header2(no_jupytext_version_number): function test_notebook_from_plain_script_has_metadata_filter (line 112) | def test_notebook_from_plain_script_has_metadata_filter( function test_multiline_metadata (line 124) | def test_multiline_metadata( function test_header_in_html_comment (line 157) | def test_header_in_html_comment(): function test_header_to_html_comment (line 174) | def test_header_to_html_comment(no_jupytext_version_number): function test_recusive_update (line 197) | def test_recusive_update(): FILE: tests/unit/test_labconfig.py function sample_viewer_config (line 9) | def sample_viewer_config(): function sample_empty_viewer_config (line 26) | def sample_empty_viewer_config(): function settings_file (line 31) | def settings_file(tmp_path): function test_read_config (line 35) | def test_read_config(settings_file, sample_viewer_config): function test_set_unset_default_viewers (line 41) | def test_set_unset_default_viewers(settings_file, sample_viewer_config, ... function test_write_config (line 49) | def test_write_config(settings_file, sample_viewer_config): FILE: tests/unit/test_markdown_in_code_cells.py function test_three_backticks_or_more (line 11) | def test_three_backticks_or_more(): function test_triple_backticks_in_code_cell (line 20) | def test_triple_backticks_in_code_cell( function test_triple_backticks_in_code_cell_myst (line 57) | def test_triple_backticks_in_code_cell_myst( function test_alternate_tree_four_five_backticks (line 87) | def test_alternate_tree_four_five_backticks( FILE: tests/unit/test_paired_paths.py function test_simple_pair (line 23) | def test_simple_pair(): function test_base_path (line 33) | def test_base_path(): function test_base_path_dotdot (line 40) | def test_base_path_dotdot(): function test_full_path_dotdot (line 45) | def test_full_path_dotdot(): function test_base_path_in_tree_from_root (line 50) | def test_base_path_in_tree_from_root(): function test_base_path_in_tree_from_non_root (line 56) | def test_base_path_in_tree_from_non_root(): function test_base_path_in_tree_from_non_root_no_subfolder (line 61) | def test_base_path_in_tree_from_non_root_no_subfolder(): function test_full_path_in_tree_from_root (line 69) | def test_full_path_in_tree_from_root(): function test_full_path_in_tree_from_root_no_subfolder (line 75) | def test_full_path_in_tree_from_root_no_subfolder(): function test_full_path_in_tree_from_non_root (line 81) | def test_full_path_in_tree_from_non_root(): function test_paired_paths_windows (line 86) | def test_paired_paths_windows(): function test_paired_paths_windows_no_subfolder (line 94) | def test_paired_paths_windows_no_subfolder(): function test_paired_paths_windows_relative (line 102) | def test_paired_paths_windows_relative(): function test_paired_path_dotdot_564 (line 118) | def test_paired_path_dotdot_564(os_path_sep): function test_path_in_tree_limited_to_config_dir (line 128) | def test_path_in_tree_limited_to_config_dir(tmpdir): function test_many_and_suffix (line 172) | def test_many_and_suffix(): function test_prefix_and_suffix (line 182) | def test_prefix_and_suffix(): function test_prefix_on_root_174 (line 226) | def test_prefix_on_root_174(): function test_duplicated_paths (line 237) | def test_duplicated_paths(): function test_cm_paired_paths (line 244) | async def test_cm_paired_paths(cm): function test_paired_path_with_prefix (line 264) | def test_paired_path_with_prefix( function test_paired_notebook_ipynb_root_scripts_in_folder_806 (line 281) | def test_paired_notebook_ipynb_root_scripts_in_folder_806(tmpdir, cwd_tm... function test_paired_paths_and_adjusted_fmt (line 339) | def test_paired_paths_and_adjusted_fmt(path, input_fmt, adjusted_fmt): function test_base_path_os_sep (line 345) | def test_base_path_os_sep(os_sep): FILE: tests/unit/test_pep8.py function test_next_instruction_is_function_or_class (line 14) | def test_next_instruction_is_function_or_class(): function test_cell_ends_with_code (line 24) | def test_cell_ends_with_code(): function test_cell_ends_with_function_or_class (line 28) | def test_cell_ends_with_function_or_class(): function test_pep8_lines_between_cells (line 64) | def test_pep8_lines_between_cells(): function test_pep8_lines_between_cells_bis (line 76) | def test_pep8_lines_between_cells_bis(): function test_pep8_lines_between_cells_ter (line 101) | def test_pep8_lines_between_cells_ter(): function test_pep8 (line 125) | def test_pep8(): function test_pep8_bis (line 166) | def test_pep8_bis(): function test_no_metadata_when_py_is_pep8 (line 185) | def test_no_metadata_when_py_is_pep8(py_file): function test_notebook_ends_with_exactly_one_empty_line_682 (line 198) | def test_notebook_ends_with_exactly_one_empty_line_682(): FILE: tests/unit/test_stringparser.py function test_long_string (line 4) | def test_long_string( function test_single_chars (line 27) | def test_single_chars( function test_long_string_with_four_quotes (line 46) | def test_long_string_with_four_quotes( function test_long_string_ends_with_four_quotes (line 64) | def test_long_string_ends_with_four_quotes( FILE: tools/absolute_links_in_readme.py class AbsoluteLinksInReadme (line 7) | class AbsoluteLinksInReadme(MetadataHookInterface): method update (line 10) | def update(self, metadata): method convert_links (line 22) | def convert_links(self, src_path, output_path, base_url):