generated from miek770/python_uv_package_template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweaked README; lowered version; included pypi test
- Loading branch information
Showing
6 changed files
with
649 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.12 | ||
3.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import pandas as pd | ||
from pathlib import Path | ||
from eznbtemplater import render_nb | ||
|
||
|
||
def test_markdown_nb() -> None: | ||
template_path: Path = Path("eznbtemplater/templates/calculation_note.ipynb") | ||
assert template_path.exists() | ||
|
||
output_path: Path = Path("tests/test_markdown_nb.ipynb") | ||
|
||
introduction: str = "This is a ***test***, don't mind me." | ||
render_nb( | ||
template_path=template_path, | ||
output_path=output_path, | ||
introduction=introduction, | ||
introduction_cell_type="markdown", | ||
) | ||
assert output_path.exists() |
Oops, something went wrong.