-
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.
Change to py:percent notebooks for docs (#5)
* ✨ change to py:percent notebooks - use "text" based (not json) format notebooks (py:percent) - done through jupytext * ✨ add dev dependencies
- Loading branch information
Showing
8 changed files
with
44 additions
and
97 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
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
This file was deleted.
Oops, something went wrong.
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,21 @@ | ||
# %% [markdown] | ||
# # Mockup tutorial | ||
|
||
# %% | ||
from mockup import mockup | ||
|
||
# %% | ||
mockup.add_one(-11) | ||
|
||
# %% | ||
list(mockup.flatten_ints([[9, 11], [12], [4, 5]])) | ||
|
||
# %% | ||
c2 = mockup.Circle.from_circumference(100) | ||
round(c2.radius, 3) | ||
|
||
# %% | ||
c2 # repr | ||
|
||
# %% [markdown] | ||
# |
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,7 +1,7 @@ | ||
[project] | ||
authors = [ | ||
{name = "Jakob Nybo Nissen", email = "[email protected]"}, | ||
{name = "Henry Webel", email = "[email protected]"}, | ||
{ name = "Jakob Nybo Nissen", email = "[email protected]" }, | ||
{ name = "Henry Webel", email = "[email protected]" }, | ||
] | ||
description = "A small example package" | ||
name = "rasmussenlab-mockup" | ||
|
@@ -29,11 +29,13 @@ docs = [ | |
"myst-nb", | ||
"ipywidgets", | ||
"sphinx-new-tab-link!=0.2.2", | ||
"jupytext", | ||
] | ||
dev = ["black", "ruff", "pytest"] | ||
|
||
# Configure the Ruff linter: Ignore error number 501 | ||
[tool.ruff] | ||
ignore = ["E501"] | ||
lint.ignore = ["E501"] | ||
|
||
[build-system] | ||
build-backend = "setuptools.build_meta" | ||
|