jupyterlab_celltests package

Submodules

class jupyterlab_celltests.extension.RunCelltestsHandler(application: tornado.web.Application, request: tornado.httputil.HTTPServerRequest, **kwargs)[source]

Bases: notebook.base.handlers.IPythonHandler

executor = <concurrent.futures.thread.ThreadPoolExecutor object>
get()[source]
initialize(executable=None)[source]
post()[source]
class jupyterlab_celltests.extension.RunLintsHandler(application: tornado.web.Application, request: tornado.httputil.HTTPServerRequest, **kwargs)[source]

Bases: notebook.base.handlers.IPythonHandler

executor = <concurrent.futures.thread.ThreadPoolExecutor object>
get()[source]
initialize(rules=None, executable=None)[source]
post()[source]
jupyterlab_celltests.extension.load_jupyter_server_extension(nb_server_app)[source]

Called when the extension is loaded.

Parameters:nb_server_app (NotebookWebApplication) – handle to the Notebook webserver instance.
jupyterlab_celltests.lint.lint_cell_coverage(cell_coverage, metadata)[source]
jupyterlab_celltests.lint.lint_cells_per_notebook(cells_per_notebook, metadata)[source]
jupyterlab_celltests.lint.lint_class_definitions(class_definitions, metadata)[source]
jupyterlab_celltests.lint.lint_function_definitions(function_definitions, metadata)[source]
jupyterlab_celltests.lint.lint_lines_per_cell(lines_per_cell, metadata)[source]
jupyterlab_celltests.lint.run(notebook)[source]
jupyterlab_celltests.lint.runWithHTMLReturn(notebook, executable=None)[source]
jupyterlab_celltests.lint.runWithReturn(notebook, executable=None)[source]
jupyterlab_celltests.shared.extract_cellsources(notebook)[source]
jupyterlab_celltests.shared.extract_celltests(notebook)[source]
jupyterlab_celltests.shared.extract_extrametadata(notebook, override=None)[source]
jupyterlab_celltests.shared.get_coverage(notebook)[source]
jupyterlab_celltests.tests.assemble_code(sources, tests)[source]
jupyterlab_celltests.tests.run(notebook)[source]
jupyterlab_celltests.tests.runWithHTMLReturn(notebook, executable=None)[source]
jupyterlab_celltests.tests.runWithReturn(notebook, executable=None)[source]
jupyterlab_celltests.tests.writeout_cell_coverage(fp, cell_coverage, metadata)[source]
jupyterlab_celltests.tests.writeout_cells_per_notebook(fp, cells_per_notebook, metadata)[source]
jupyterlab_celltests.tests.writeout_class_definitions(fp, class_definitions, metadata)[source]
jupyterlab_celltests.tests.writeout_function_definitions(fp, function_definitions, metadata)[source]
jupyterlab_celltests.tests.writeout_lines_per_cell(fp, lines_per_cell, metadata)[source]
jupyterlab_celltests.tests.writeout_test(fp, cells, kernel_name)[source]