Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃摎 DOCS: Fix typos #31

Merged
merged 1 commit into from
Jul 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pytest_notebook/diffing.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def diff_sequence_simple(


def diff_notebooks(
intial: NotebookNode, final: NotebookNode, initial_path: str = ""
initial: NotebookNode, final: NotebookNode, initial_path: str = ""
) -> List[DiffEntry]:
"""Compare two notebooks.

Expand All @@ -77,7 +77,7 @@ def diff_notebooks(

"""
return diff(
intial,
initial,
final,
path=initial_path,
predicates=defaultdict2(lambda: [operator.__eq__], {}),
Expand Down
2 changes: 1 addition & 1 deletion pytest_notebook/notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,5 +306,5 @@ def create_cell(


def dump_notebook(nb: NotebookNode, as_version=nbformat.NO_CONVERT) -> NotebookNode:
"""Dump the notebook to a sting."""
"""Dump the notebook to a string."""
return nbformat.writes(nb, version=as_version)